Ari Parkkila
397b396291
Cellular: Update cellular documentation
2019-01-21 11:43:49 +02:00
Teemu Kultala
b87b52a45c
cellular: AT Handler API changes after review
2018-12-14 13:19:03 +02:00
Teemu Kultala
dbdbae3632
cellular: AT Handler API
2018-12-14 13:19:03 +02:00
Cruz Monrreal
945a52df1c
Merge pull request #9052 from mirelachirica/at_handler_fix_consume_to_stop_tag
...
Cellular: Rewrite AT handler consume to tag
2018-12-13 18:15:42 -06:00
Mirela Chirica
806e95cf67
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-11 15:36:33 +02:00
Terence Zhang
cc63a31eb3
Formatted via astyle.
2018-12-11 16:50:14 +08:00
Terence Zhang
d3d1e0d30b
Fix for the fault exception issue:
...
https://github.com/ARMmbed/mbed-os-example-cellular/issues/112
2018-12-10 11:07:13 +08:00
Terence Zhang
a713358d3c
Fix the fault exception issue in socket_recvfrom with the null pointer parameter as SocketAddress *addr.
2018-12-10 11:07:12 +08:00
Martin Kojtal
bf36ff77c1
Merge pull request #8855 from michalpasztamobica/warnings_fix
...
Fix compilation warnings (apart from nanostack)
2018-12-03 13:31:55 +01:00
Martin Kojtal
b9927e5f27
Merge pull request #8795 from TeemuKultala/cellular_connect_status_fix
...
cellular: registration status change fix
2018-11-30 14:32:34 +01:00
Michal Paszta
e101943cce
Fix compilation warnings (apart from nanostack)
2018-11-26 14:27:48 +01:00
Teemu Kultala
a1b1d7c4bd
cellular: registration status change fix
2018-11-26 11:20:21 +02:00
Ari Parkkila
3d79b50dfb
Cellular: Fix ATHandler URC processing
2018-11-25 23:47:23 -08: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
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
a2ae34b0e6
cellular: fix coding style
2018-11-15 07:23:37 +00: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
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
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
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
Cruz Monrreal
a9f43239be
Merge pull request #8295 from AriParkkila/cell-cinterion
...
Cellular: Update Cinterion AT drivers
2018-10-15 10:10:23 -05: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
ffb9cdb4b3
Cellular: Registration parameters as struct
2018-10-09 10:49:47 +03:00
Mirela Chirica
723e913bcc
Cellular: AT handler read string up to delimiter or stop tag
2018-10-09 10:47:25 +03:00
Ari Parkkila
3784dd066e
Cellular: Fixed AT drivers for Gemalto/Cinterion cellular module to close internet service and profile.
2018-10-08 00:14:29 -07:00
Kimmo Vaisanen
05f0ba8e97
Cellular: Fix AT_CellularStack unittest
...
Missing CellularSocket constructor caused uninitialized values to be used.
Also changed comparision macros to ASSERT_EQ as suggested by GoogleTest guide.
2018-10-03 14:44:34 +03:00
Cruz Monrreal
9bd17d33f3
Merge pull request #7934 from wajahat-ublox/psm_method_typo
...
corrected a typo in AT_CellularPower::opt_power_save_mode
2018-09-27 10:20:44 -05:00
Mirela Chirica
983425e4fc
Cellular: Fix cellular network unit test
2018-09-24 15:15:18 +03:00
Martin Kojtal
2e049ce035
Merge pull request #8019 from jarvte/fix_crash_in_close_cellularnetwork
...
Cellular: fixed crash when closing CellularNetwork via CellularDevice.
2018-09-24 09:06:34 +02:00
Cruz Monrreal
73a96a68cf
Merge pull request #8147 from AriParkkila/cell-auth
...
Fix authentication on a cellular network for Access Point Name (APN)
2018-09-22 16:25:35 -05:00
Cruz Monrreal
f00c5643e5
Merge pull request #7944 from AnttiKauppila/unittests
...
Cellular Unittests refactored to GoogleTest framework
2018-09-18 11:30:23 -05:00
Teppo Järvelin
ed7606bf0c
Cellular: fixed crash when closing CellularNetwork via CellularDevice.
2018-09-18 14:45:07 +03:00
Ari Parkkila
13106fb774
Cellular: Disable AT+CGAUTH on HE910 and BC95
2018-09-17 03:28:18 -07:00