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
Martin Kojtal
ab7d2ddf1e
Merge branch 'fix_bc95_todo' of https://github.com/jarvte/mbed-os into dev_rollup
2018-11-24 20:50:16 +00:00
Martin Kojtal
b16569dc3f
Merge pull request #8838 from 0xc0170/dev_rollup
...
Rollup v2 for 5.11rc1
2018-11-24 21:37:02 +01:00
Martin Kojtal
61c7947b47
Merge branch 'cell-trace' of https://github.com/AriParkkila/mbed-os into dev_rollup
2018-11-23 18:37:40 +00:00
Teppo Järvelin
9095635c8f
Cellular: Fixed bc95 to accept only RAT_NB1 as it's only valid rat that modem supports.
2018-11-23 07:52:22 +02:00
Teppo Järvelin
c6205628d6
Cellular: unified return value comments on API folder.
2018-11-20 07:47:01 +02: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
Teppo Järvelin
e5c3024849
Cellular: adding unit tests for new class CellularContext and changed classes.
2018-11-16 13:14:38 +02:00
Cruz Monrreal II
5c1c7bf71f
Merge branch 'fix_astyle_error' of ssh://github.com/0xc0170/mbed-os into rollup-b.1
2018-11-15 18:26:09 -06:00
Cruz Monrreal
fa2077df41
Merge pull request #8685 from bridadan/clean_up_deprecated_feature_code
...
Clean up deprecated feature code
2018-11-15 17:05:22 -06:00
Martin Kojtal
91e1da1f8c
cellular: fix test coding style
2018-11-15 10:47:11 +00:00
Martin Kojtal
a2ae34b0e6
cellular: fix coding style
2018-11-15 07:23:37 +00:00
Teppo Järvelin
88213d3e03
Cellular: astyle fixes after introducing CellularContext class and major refactor.
2018-11-13 18:50:35 +02:00
Teppo Järvelin
14f3740c13
Cellular: fixed cellular greentea tests after major refactoring.
2018-11-13 18:33:55 +02:00
Teppo Järvelin
3f6e088782
Cellular: Fixed backward compatibility with OnBoardCellularInterface and set default values in NetworkInterfaceDefaults.cpp.
2018-11-11 14:13:05 +02:00
Teppo Järvelin
1a047efade
Cellular: review fixes, added missing fixes from master.
2018-11-11 14:13:05 +02:00
Teppo Järvelin
467ae09bef
Cellular: Updated target SARA4_PPP to use new CellularContext class.
2018-11-11 14:13:05 +02:00
Teppo Järvelin
9fb83024ea
Changed CellularContext to inherit from CellularBase instead of NetworkInterface. \n Changed Device constructor to take Filehandle instead of eventqueue.
2018-11-11 14:13:05 +02:00
Teppo Järvelin
dbbe2ddc59
Cellular: fixed to compile even if CELLULAR_DEVICE and rx/tx are not defined.
2018-11-11 14:13:05 +02:00
Teppo Järvelin
d1ff9ed68d
Cellular: added to reset state machine is we get disconnected so application can try again.
2018-11-11 14:13:05 +02:00
Teppo Järvelin
609b0f71be
Cellular: minor doxygen fixes.
2018-11-11 14:13:05 +02:00
Teppo Järvelin
8385b19e5e
Cellular: Deleted unused class CellularConnectionFSM. Application should use CellularContext class instead.
2018-11-11 14:13:05 +02:00
Teppo Järvelin
43e08a0adf
Cellular: fixing unit test after refactor.
2018-11-11 14:12:49 +02:00
Teppo Järvelin
ad2abbe887
Cellular: major refactoring while introducing new CellularContext class.
2018-11-11 14:12:49 +02:00
Teppo Järvelin
8880538eba
Cellular: Introduced new state machine to replace old CellularConnectionFSM
...
CellularDevice class own new state machine. Now we don't have to expose state machine
which may change and so we don't have to make API changes if that happens.
EasyCellularConnection uses now CellularDevice instead of old state machine.
2018-11-11 14:11:21 +02:00
Cruz Monrreal
9d95d46d6c
Merge pull request #8591 from 0xc0170/fix_coding_style_features
...
features: fix coding style
2018-11-09 09:40:56 -06:00
Brian Daniels
da6ce029ea
Removing cellular references to COMMON_PAL
2018-11-08 16:55:59 -06:00
Cruz Monrreal II
6ebc5be0f0
Merge branch 'cellular_fsm' of ssh://github.com/marcemmers/mbed-os into rollup
2018-11-08 13:24:20 -06:00
Martin Kojtal
14eadfac44
Merge pull request #8653 from u-blox/r410m_sdcard
...
mbed_lib.json updated for other all C030 targets and code corrected t…
2018-11-08 14:54:58 +01:00
Martin Kojtal
71d35749f9
cellular: fix coding style
2018-11-07 08:56:32 +00:00
Fahim Alavi
2806dd8216
mbed_lib.json updated for other all C030 targets and code corrected to use UBLOX_AT
2018-11-06 17:58:41 +05:00
Jeroen de Bruijn
440905a84e
fix: Change cellular FSM thread name
2018-11-02 16:23:52 +01:00
Jeroen de Bruijn
3f635ef813
fix: Update thread names
...
Remove _thread suffix and rename threads.
2018-11-02 13:44:24 +01:00
Jeroen de Bruijn
56a12ce7d6
feat: Name cellular FSM queue thread
2018-11-01 13:55:44 +01:00
Cruz Monrreal
66968c5bb0
Merge pull request #8371 from u-blox/ublox-cellular-unsupported-features
...
Cellular: Add unsupported features for UBLOX targets
2018-10-30 08:46:47 -05:00
Marc Emmers
d55f6a9915
Check if a queue is present. Return an error otherwise
2018-10-29 13:56:45 +01:00
Marc Emmers
2de83fb286
Unchain the queue when connection is stopped
2018-10-29 13:56:25 +01: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
737b36f106
Merge pull request #8440 from kivaisan/gemalto_tcp_socket_support
...
Cellular: Gemalto TCP Socket support
2018-10-27 09:17:31 -05:00
mudassar-ublox
0b2d508991
Added unsupported features for UBLOX targets
2018-10-26 10:05:37 +05:00
Cruz Monrreal
39b4872233
Merge pull request #8369 from u-blox/ublox-cellular-target
...
Cellular: UBLOX_C030_R410M cellular target add
2018-10-23 10:54:44 -05: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
Kimmo Vaisanen
553718ba5b
Cellular: Optimize memory usage for gsm_to_ascii table
...
gsm_to_ascii table contains ASCII codes, so it can be a char table instead of int table.
This reduces ROM usage by 384 bytes.
2018-10-22 08:35:33 +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