Commit Graph

25 Commits (0f959dbe4749c20416236e4fe1dac5692cbe18ab)

Author SHA1 Message Date
Teppo Järvelin a1f0c46cb9 Cellular: fix calls to ATHandler::read_string(...) give correct size
ATHandler::read_string(...) buffer size param was changed a long time ago
to include also NULL. Some calls still gave wrong size after this change.
2019-05-03 12:24:48 +01:00
mudassar-ublox 9427d2653d updated api and removed Astyle issue 2019-04-05 12:26:06 +01:00
Ari Parkkila 3bcf51385e Cellular: Handling of TCP endpoint closed 2019-02-17 23:51:08 -08:00
Mirela Chirica 6af725822b Cellular: Fix socket bind tests for BG96 2019-02-08 13:02:18 +02:00
Teppo Järvelin b0d37ebec4 Cellular: Removed unnecessary checks after new
After this change we were able to change methods
ATHandler::set_urc_handler and CellularDevice::set_ready_cb to void
and simplify error handling.
2019-01-22 02:23:04 -08: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
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
Ari Parkkila a14ac31f68 Cellular: Added support for the Gemalto/BGS2 cellular module 2018-08-28 02:14:28 -07:00
Ari Parkkila 4b223b6ff2 Cellular: Make AT_CellularStack socket array multi-thread safe 2018-08-24 00:21:26 -07:00
Mirela Chirica c217a521f4 Cellular: Handle AT response stop in case IP address is missing from CGPADDR response 2018-08-09 11:41:19 +03:00
Martin Kojtal cde18aa0bc cellular: astyle fix 2018-07-27 13:33:20 +01:00
Ari Parkkila 4d431cd1ae Cellular: Removed max_packet_size 2018-07-11 13:11:47 +03:00
Mirela Chirica 5c2262219d Cellular: BC95 socket creation to fail on missing socket id in the response 2018-05-29 17:05:16 +03:00
Ari Parkkila b37532addf Cellular: Fix to prefer IPv6 single stack with fallback to IPv4 2018-04-23 09:57:23 +03:00
Mirela Chirica 9531bbeaf5 BC95 fixes 2018-04-11 09:38:13 +03:00
Teppo Järvelin 12b0bc4a36 Fixed coverity warnings for AT_CellularStack. 2018-04-11 09:31:44 +03:00
Ari Parkkila d2e8691754 Cellular stack listen and accept to return UNSUPPORTED 2018-03-02 14:38:06 +02:00
Mirela Chirica d15801d893 PR review fix:
- bind behaviour to not change existing port or address if the requested ones are 0
- removed temporary array setting to zero
2018-03-02 14:38:06 +02:00
Teppo Järvelin 9e85767c80 PR review fixed: removed dead code, removed magic numbers. 2018-03-02 14:38:05 +02:00
Ari Parkkila 065326135e Change cellular socket port 0 to dynamic range 2018-03-02 14:38:05 +02:00
Antti Kauppila bfbd3e42af more unittests added 2018-03-02 14:38:05 +02:00
Ari Parkkila 5b70492c64 Updated cellular 2018-03-02 14:38:02 +02:00
Ari Parkkila 863ec3c3cc Initial cellular feature 2018-03-02 14:38:02 +02:00