Commit Graph

12 Commits (9e7e22dd2c3392c2fee68b5ad9bae2b1ce59f3a6)

Author SHA1 Message Date
David Alonso de la Torre 9e7e22dd2c Fix AT_CellularSMS::list_messages breaking in text mode when CRLF is contained in SMS payload text
When parsing SMS, it can happen that we receive CRLF in the SMS payload (happened to me when receiving provider texts).
As an example, we can receive:

"""
Hello <CR><LF>
World!
"""

With previous implementation, second consume_to_stop_tag was stopping in <CR><LF> and rest of the code was failing for obvious reasons.
With this commit we consume the full payload as bytes.
2024-05-11 10:42:46 +02:00
David Alonso de la Torre d676084600 Increase AT timeout to 10s in AT_CellularSMS::get_sms
When SMS list is big and baudrate is not fast enough, with default timeout we can suffer from timeout error while getting a sms because method is parsing the full list and this takes long.
2024-04-05 16:46:05 +02:00
David Alonso de la Torre 5c49f161fb Increase AT timeout to 10s in AT_CellularSMS::send_sms
For some devices sending can be slow (as an example see SIM800, it can be up to 60s), command is being run properly but default timeout is returning an invalid error.
See https://www.elecrow.com/wiki/images/2/20/SIM800_Series_AT_Command_Manual_V1.09.pdf
2024-04-05 16:45:59 +02:00
tobi15 73f2dd6379 modify method signatures to pass astyle tests 2022-05-10 14:27:54 +02:00
merge 337b811ba1 add the possibility to customize the delimiter of the ATHandler in ATCellularDevice class 2022-04-20 14:21:31 +02:00
Hugues Kamba bf84a5b329 CMake: Rename CMake targets
* mbed-os renamed mbed-core
* mbed-os-<COMPONENT> renamed mbed-<COMPONENT>
2020-11-06 17:25:22 +00:00
Hugues Kamba fa98689639 CMake: Componentize Mbed OS into multiple CMake targets (#13732)
Aside from the core mbed-os CMake target, a number of targets have been created so they can optionally be included by application executables that require them using `target_link_libraries()`.

Co-authored-by: Martin Kojtal <martin.kojtal@arm.com>
Co-authored-by: Rajkumar Kanagaraj <rajkumar.kanagaraj@arm.com>
2020-11-06 17:25:21 +00:00
Hugues Kamba bd45acba8c CMake: Fix failure due to kvstore and cellular dirs changes 2020-11-06 17:25:16 +00:00
Bora Özgen 0604c49a2e Apply suggestion from review 2020-09-23 16:04:23 +02:00
Bora Özgen 9f24c045d7 Apply astyle 2020-09-21 14:37:56 +02:00
Bora Özgen 8483d59879 Fix #13490 Cellular disconnect does not deactivate context
(for some cases)
2020-09-10 16:19:31 +02:00
Lingkai Dong b0131b22a9 Split include/ and source/ for cellular 2020-07-22 11:05:49 +01:00