Teppo Järvelin
fcc9bb7d4d
Cellular: fix state machine to check network attach
...
Added check to state machine that if modem is attached to a network
it is considered to be registered to a network and state machine
can continue to next states. This fixed issues seen in IoT network
that network does not allow registering if already attached.
2019-01-14 13:06:14 +00:00
Teppo Järvelin
a3d26187d4
Cellular: Fix to use PPP stack in PPP mode
...
In QUECTEL_BG96 and QUECTEL_BC95 there was missing #ifdefs for
PPP mode and our stack was used. Also BG96 needed to be added
AT_CellularBase::AT_CGDATA as not supported.
2018-12-27 22:26:00 -06:00
Ari Parkkila
1bbf8af7d3
Cellular: Refactored GEMALTO_CINTERION_Module to GEMALTO_CINTERION
2018-12-27 22:26:00 -06:00
Mirela Chirica
2f47b5b481
Cellular: Rewrite 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-12-27 22:26:00 -06:00
Amanda Butler
7a2d04ebc6
Edit CellularContext.h
...
Edit file for complete sentences and correct commas.
2018-12-27 22:25:58 -06:00
Amanda Butler
3892105dee
Edit CellularDevice.h
...
Edit file for complete sentences, consistent tense and correct commas.
2018-12-27 22:25:58 -06:00
Teppo Järvelin
faab478c23
Cellular: add Callback functionality to CellularDevice.
2018-12-27 22:25:58 -06:00
Teppo Järvelin
f9742e978c
Cellular: updated doxygen for CellularContext and CellularDevice.
2018-12-27 22:25:58 -06:00
Michal Paszta
1931c2cd27
Fix compilation warnings (apart from nanostack)
2018-12-27 22:25:55 -06:00
Teemu Kultala
e4832fc8c3
cellular: registration status change fix
2018-12-27 22:25:54 -06:00
Terence Zhang
7dd7471be6
Formatted via astyle.
2018-12-11 16:14:50 -06:00
Terence Zhang
7529535a26
Fix for the fault exception issue: https://github.com/ARMmbed/mbed-os-example-cellular/issues/112
2018-12-11 16:14:50 -06:00
Terence Zhang
de70dae221
Fix the fault exception issue in socket_recvfrom with the null pointer parameter as SocketAddress *addr.
2018-12-11 16:14:50 -06:00
Martin Kojtal
5e6dc940ba
Merge pull request #8821 from jarvte/add_rat_json
...
Cellular: add radio access technology as configurable in json
2018-11-27 09:23:57 +01:00
Cruz Monrreal
1c1638342d
Merge pull request #8708 from SeeedJP/wio_bg96_hal
...
[Wio BG96] Adding platform HAL
2018-11-26 11:22:29 -06:00
Ari Parkkila
3d79b50dfb
Cellular: Fix ATHandler URC processing
2018-11-25 23:47:23 -08:00
Teppo Järvelin
f31db91cfb
Cellular: astyle fixes for CellularStateMachine.cpp.
2018-11-26 09:37:00 +02:00
Teppo Järvelin
9a9a209eff
Cellular: added radio access technology as configurable in cellular mbed_lib.json.
2018-11-26 09:37:00 +02:00
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
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
Yoshihiro TSUBOI
222b21e593
[Wio BG96] Adding platform HAL
2018-11-11 23:32:22 +09: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
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
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
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
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