Commit Graph

44 Commits (a0cc22ebbaf05a7b39c2d2e2f923218d166b22b8)

Author SHA1 Message Date
Cruz Monrreal 4c973e3aa0
Merge pull request #6702 from AriParkkila/single-stack
Cellular: Fix to prefer IPv6 single stack with fallback to IPv4
2018-04-24 12:16:34 -05:00
Ari Parkkila b37532addf Cellular: Fix to prefer IPv6 single stack with fallback to IPv4 2018-04-23 09:57:23 +03:00
Teppo Järvelin 5ebdb439af Cellular: fixed cellular unit tests and one bug which was found while fixing. 2018-04-19 13:35:53 +03:00
Martin Kojtal 9cc4302c51
Merge pull request #6629 from jarvte/add_select_plmn_to_cellularfsm
Cellular: add plmn for CellularConnectionFSM
2018-04-19 12:07:20 +02:00
Teppo Järvelin 55f4360680 Cellular: review fixes to cellularfsm and cellularnetwork. 2018-04-18 12:35:38 +03:00
Cruz Monrreal 259f9fd877
Merge pull request #6570 from jarvte/add_cellular_detach
Cellular: add detach from the network
2018-04-17 10:54:09 -05:00
Teppo Järvelin e78e1d28db Cellular: check plmn against network to verify correct network and don't try to register again if we are are already in correct nw. 2018-04-17 10:16:32 +03:00
Teppo Järvelin e4c37f2275 Cellular: plmn used when registering can be given for CellularConnectionFSM. 2018-04-17 10:16:32 +03:00
Cruz Monrreal 7f9e69d491
Merge pull request #6632 from TeemuKultala/error_messages
cellular: Error messages
2018-04-16 10:34:04 -05:00
Teemu Kultala 0caef1b8a4 cellular: trace errors only if tracing enabled 2018-04-16 09:15:32 +03:00
Teemu Kultala 7b6208c0db cellular: error message changes 2018-04-13 09:01:57 +03:00
Teppo Järvelin 94ecc4567b Cellular: Separated context activation in CellularConnectionSFM. 2018-04-13 08:28:18 +03:00
Teppo Järvelin 9b0b92bb1c Cellular: added detach from the network. 2018-04-12 13:37:49 +03:00
Teppo Järvelin 54ab974846 Fixed coverity warnings for targets folder. Also fixed one bug while copying sim. 2018-04-11 09:31:44 +03:00
Teppo Järvelin 89843246ac Separated context activation from connect, increased stack size to 2048 to avoid stack underflows and changed connection callback call. 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 231458dc36 Picked Ari's changed to reduce stack size. Removed device info printing from state machine. 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
Teppo Järvelin c26311b071 async works. Retry logic needs refining. 2018-04-11 09:31:44 +03:00
Teppo Järvelin 83ea9be5f5 temp commit while changing work... 2018-04-11 09:31:44 +03:00
Cruz Monrreal 53adeed521
Merge pull request #6350 from u-blox/cellular_test
Cellular: update attach test
2018-03-20 14:27:02 -05:00
Mudassar Hussain 91333d2892 Removed strncmp 2018-03-15 10:41:00 +05:00
Mudassar Hussain 3bee060942 Cellular: update attach test 2018-03-13 20:49:31 +05:00
Mirela Chirica 84cd5c1000 Use of APN lookup decision logic fixed 2018-03-08 12:58:12 +02:00
Teppo Järvelin c9c3f85311 Changed state machine class name and implementation. 2018-03-02 14:38:07 +02:00
Mirela Chirica 6670ebbc5f - PDP context creation fixes for stack type handling
- Delete created contexts that do not succed to activate
2018-03-02 14:38:07 +02:00
Teppo Järvelin 0c49b669b4 Fixed bug when copying apn, username and password. 2018-03-02 14:38:07 +02:00
Teppo Järvelin 9016ed5ed8 Don't allow zero length apn, password or username. 2018-03-02 14:38:07 +02:00
Teppo Järvelin ef14aef823 review and dynamic alloc (#3)
* Review fixes. Changed apn, username and password to be dynamically allocated.
2018-03-02 14:38:07 +02:00
Mirela Chirica 22e7fbd7e8 - BC95 socket creation bug fix
- Cellular information reading stopping on comma fixed
2018-03-02 14:38:06 +02:00
Ari Parkkila 09143da040 Changed APN initialization from CellularNetwork to application 2018-03-02 14:38:06 +02:00
Ari Parkkila f2613a6154 Cellular logging to use mbed_trace 2018-03-02 14:38:06 +02:00
Ari Parkkila bc67100dcf Added const in AT_CellularNetwork::set_registration 2018-03-02 14:38:06 +02:00
Ari Parkkila 0c8c41ff5f Added static const to AT_CellularNetwork.cpp 2018-03-02 14:38:06 +02:00
Teppo Järvelin 0e20e49ef7 review fixes to athandler: changing int16/8 to int's and some minor issues. 2018-03-02 14:38:06 +02:00
Juho Eskeli 71f54bc2d4 Deactivate PDP context on disconnect when using AT stack. 2018-03-02 14:38:06 +02:00
Juho Eskeli 66aca1fddf Connection status callback added. 2018-03-02 14:38:06 +02:00
Mirela Chirica a35e1f8d6c - Removed extra whitespaces from AT prefix definitions. The format is modem specific and AT handler is handling whitespaces in case they are present
- Reverted the "smaller thread stack size for dispatcher thread". 1KB is not enough, was causing CMSIS-RTOS error: Stack underflow.
2018-03-02 14:38:05 +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 934a93151a Changed requested stack for new pdp context 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