Martin Kojtal
5ad7c3ee6e
Merge branch 'gracefully_disconnect' of https://github.com/jarvte/mbed-os into dev_rollup
2018-11-24 21:15:38 +00:00
Teppo Järvelin
a655a538b0
Cellular: more gracefully disconnect.
2018-11-19 16:02:30 +02:00
Ari Parkkila
9bdeb68e74
Cellular: Updated debug prints, and network registration return value
...
Updated cellular debug trace prints:
- Removed unnecessary prints.
- Tracing more in DEBUG level.
- Read/write bytes not printed on big packets.
- Signal quality (RSSI) traced to log network problems.
- Dismissed AT data is traced.
- Modem type and firmware version are traced.
Network registration returns NotRegistered instead of StatusNotAvailable,
because that's not in 3GPP TS 27.007.
2018-11-19 02:55:43 -08:00
Martin Kojtal
71d35749f9
cellular: fix coding style
2018-11-07 08:56:32 +00:00
Mirela Chirica
c8f2ed3d30
Cellular: ATHandler to reset match URC generated errors and continue response handling
2018-10-29 13:33:11 +02:00
Mirela Chirica
4e6cbb8f5f
Cellular: ATHandler's mem_str fixed to work on matching strings
2018-10-29 13:33:10 +02:00
Mirela Chirica
273590f615
Cellular: Added ATHandler option to write parameters without delimiters
2018-10-29 13:33:09 +02:00
Mirela Chirica
f016d1126f
Cellular: AT handler to support only one callback per URC/prefix
2018-10-29 13:32:15 +02:00
Cruz Monrreal
69904ea43e
Merge pull request #8313 from kivaisan/reduce_memory_footprint
...
Reduce cellular memory footprint
2018-10-23 09:05:39 -05:00
Cruz Monrreal
ba23fef90b
Merge pull request #8350 from mirelachirica/at_consume_to_tag_fix
...
Cellular: Fix for AT handler consume to tag
2018-10-22 19:45:24 -05:00
Kimmo Vaisanen
963bf8146d
Cellular: Refactor basic AT command stop and response reading into own method
...
This reduces ROM usage by few hundred bytes.
2018-10-22 09:44:12 +03:00
Mirela Chirica
31f153af7d
Cellular: Fix for AT handler consume to tag
...
If sequence from buffer contains tag but symbol before tag is same as
first symbol of the tag, then the tag wasn't detected.
For example, "\r\n" tag was not found from "\r\r\nOK" sequence.
2018-10-19 15:21:02 +03:00
Kevin Bracey
1ef213ec89
Clean up Thread deprecation warnings
...
Static Thread methods and signal methods have been deprecated. Remove
all references in the main code, and most of the tests. Some tests of
the deprecated APIs themselves remain.
2018-10-12 14:57:13 +03:00
Mirela Chirica
723e913bcc
Cellular: AT handler read string up to delimiter or stop tag
2018-10-09 10:47:25 +03:00
Antti Kauppila
a6b4938844
Small improvements for test cases
2018-09-17 12:07:43 +03:00
Martin Kojtal
cde18aa0bc
cellular: astyle fix
2018-07-27 13:33:20 +01:00
Mirela Chirica
aff55462f5
Cellular: Fix for ATHandler's read string and hexstring NULL termination
2018-07-10 15:09:09 +03:00
Teppo Järvelin
d9a99b0a45
Cellular: release resources in state machine. Made sure that athandler does not try process urc's after switch to data mode.
2018-06-12 09:01:03 +03:00
Ari Parkkila
7482032989
Cellular: Enable AT debug also when mbed-trace is disabled
2018-06-01 14:07:27 +03:00
Cruz Monrreal
0f41831afd
Merge pull request #7033 from AriParkkila/cellular-at-fix
...
Cellular: Fix AT URC handler not to dismiss incoming chars
2018-05-29 10:44:00 -05:00
Cruz Monrreal
206cab97ac
Merge pull request #6965 from mirelachirica/fix_unittests
...
Cellular: Unit tests fixes
2018-05-29 10:37:35 -05:00
Ari Parkkila
c8287e5470
Cellular: Fix AT URC handler not to dismiss incoming chars
2018-05-28 10:32:14 +03:00
Mirela Chirica
b59ef26930
Cellular: Unit tests fixes
2018-05-23 12:11:02 +03:00
Ari Parkkila
6a3dce839e
Cellular: Updated coding guidelines
2018-05-17 09:02:54 +03:00
Ari Parkkila
a146e0e7ff
Cellular: AT debugging improved
2018-05-16 12:39:30 +03:00
Ari Parkkila
287a1a86d0
Cellular: AT handler review fixes
2018-05-14 10:25:00 +03:00
Ari Parkkila
3bdb6d1737
Cellular: Fixed ATHandler write poll timeout
2018-05-14 10:25:00 +03:00
Ari Parkkila
9b896a16bb
Cellular: ATHandler yield to wait review fixes
2018-05-14 10:25:00 +03:00
Ari Parkkila
559abd3009
Cellular: AT requests are to be processed within time period
2018-05-14 10:24:59 +03:00
Ari Parkkila
98ef516061
Cellular: Changed ATHandler yield to wait
2018-05-14 10:23:06 +03:00
Cruz Monrreal
7a1ab1890b
Merge pull request #6792 from jarvte/cellular_dynamic_alloc_and_destr
...
Cellular: Add dynamic alloc and destruction to easycellular
2018-05-07 10:28:43 -05:00
Teppo Järvelin
b22a16fe4a
Cellular: Added dynamic alloc and destruction to easycellular.
...
Now application can call connect and disconnect multiple times and resources are freed and constructed properly.
Also whole easycellular can be deleted and constructed again.
2018-05-03 12:47:47 +03:00
Mirela Chirica
d4d339129a
Cellular: Refactor hex reading to prevent illegal cast
2018-04-30 13:25:15 +03:00
Mirela Chirica
a0cc22ebba
Cellular: Fix AT Handler compile warning
2018-04-27 14:38:14 +03:00
Mirela Chirica
042586938d
Cellular: Common routine for string and hexstring reading
2018-04-25 14:09:20 +03:00
Mirela Chirica
1998173ede
Cellular: Added read hex string support to AT handler
2018-04-25 14:09:19 +03:00
Ari Parkkila
d7cabe2183
Cellular Greentea tests fixed
2018-04-11 09:38:13 +03:00
Ari Parkkila
6072407ec9
Cellular: async FSM updates
2018-04-11 09:31:44 +03:00
Teppo Järvelin
84b445f51c
Fixed coverity warnings for class ATHandler and removed unnecessary assert from state machine.
2018-04-11 09:31:44 +03:00
Teppo Järvelin
f0026e4c48
review fixed and some minor improvements.
2018-04-11 09:31:44 +03:00
Teppo Järvelin
b400d18a0c
Wait for modem ready signal in startup sequence.
2018-04-11 09:31:44 +03:00
Teppo Järvelin
d1f2e91e93
Working version of async registration.
2018-04-11 09:31:44 +03:00
Teppo Järvelin
2b14a9ee5f
temp
2018-04-11 09:31:44 +03:00
Teppo Järvelin
702efc1de5
Temp commit, not compiling...
2018-04-11 09:31:44 +03:00
Teemu Kultala
d7960620b6
cellular: ATHandler send delay
2018-04-09 13:46:40 +03:00
Teppo Järvelin
d26bb23dae
Cellular: ATHandler write improvements.
2018-03-09 14:03:17 +02:00
Ari Parkkila
e183923c0d
Changed std::snprintf to sprintf in cellular ATHandler.cpp
2018-03-02 14:38:08 +02:00
Ari Parkkila
e53b93114e
Typedef OnboardCellularInterface to EasyCellularConnection
2018-03-02 14:38:07 +02:00
Mirela Chirica
6ccbb59979
Mem_str comparation was too short
2018-03-02 14:38:07 +02:00
Mirela Chirica
4457e361ac
Logging compile fix
2018-03-02 14:38:06 +02:00