Teppo Järvelin
b22a16fe4a
Cellular: Added dynamic alloc and destruction to easycellular.
...
Now application can call connect and disconnect multiple times and resources are freed and constructed properly.
Also whole easycellular can be deleted and constructed again.
2018-05-03 12:47:47 +03:00
Martin Kojtal
d768b6f468
Merge pull request #6677 from jarvte/cellular_fsm_crash_bug
...
Cellular: fixed null pointer bug in cellular fsm
2018-04-25 08:24:49 +01:00
Teppo Järvelin
6a2eefba9c
Cellular: fixed null pointer bug.
...
Null pointer could have been called after stop() in cellular state machine.
2018-04-19 14:30:33 +03:00
Teppo Järvelin
55f4360680
Cellular: review fixes to cellularfsm and cellularnetwork.
2018-04-18 12:35:38 +03:00
Teppo Järvelin
1990f63382
Cellular: fixed state machine after rebase.
2018-04-17 10:24:19 +03: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
c597d8447c
cellular: sim pin setting
2018-04-13 12:33:43 +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
f7f21dc377
Cellular: review fixes and fixed unit tests.
2018-04-11 09:38:13 +03:00
Teppo Järvelin
12e1f07150
modified at timeout while doing attach and connect as it might take up to one minute and at timeout was 10s.
2018-04-11 09:38:13 +03:00
Teppo Järvelin
dcdb7a5da2
Fixed state machine to accept roaming as valid registration.
2018-04-11 09:38:13 +03:00
Teppo Järvelin
c82fd31735
Removed double attach from EasyCellularConnection.
2018-04-11 09:38:13 +03:00
Teppo Järvelin
ac9b882049
Fixed bug in state machine registaring phase.
2018-04-11 09:31:44 +03:00
Teppo Järvelin
6f3eebcd36
Fixed possible crash and removed trace from greentea.
2018-04-11 09:31:44 +03:00
Teppo Järvelin
f6a0403c82
Fixed build by removing unnecessary include.
2018-04-11 09:31:44 +03:00
Teppo Järvelin
af2890da03
Improved registration phase in state machine.
2018-04-11 09:31:44 +03:00
Ari Parkkila
6072407ec9
Cellular: async FSM updates
2018-04-11 09:31:44 +03:00
Teppo Järvelin
84b445f51c
Fixed coverity warnings for class ATHandler and removed unnecessary assert from state machine.
2018-04-11 09:31:44 +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
0ebfa35d7b
Fixed coverity warnings for class CellularConnectionFSM
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
b400d18a0c
Wait for modem ready signal in startup sequence.
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
Teppo Järvelin
1661fc2744
Modified state machine, added cellular state and callback.
2018-04-11 09:31:44 +03:00
Cruz Monrreal
7b2ee2d52f
Merge pull request #6291 from mirelachirica/bc95_echotest_fixes
...
Cellular: BC95 echo test fixes
2018-03-20 14:06:06 -05:00
Teppo Järvelin
7fd6b71337
Moved APN_db.h under new cellular.
2018-03-13 13:15:29 +02:00
Teemu Kultala
cf07cb0394
cellular doxygen updates
2018-03-12 10:24:33 +02:00
Mirela Chirica
84cd5c1000
Use of APN lookup decision logic fixed
2018-03-08 12:58:12 +02:00
Ari Parkkila
bfed2baeb6
Changed cellular device as not static
2018-03-02 14:38:08 +02:00
Ari Parkkila
b811f7e84d
Fixed EasyCellularConnection to have debug flag
2018-03-02 14:38:08 +02:00
Ari Parkkila
e53b93114e
Typedef OnboardCellularInterface to EasyCellularConnection
2018-03-02 14:38:07 +02:00
Teppo Järvelin
c9c3f85311
Changed state machine class name and implementation.
2018-03-02 14:38:07 +02:00
Ari Parkkila
6c6223ae25
Added use_apn_lookup in mbed_lib.json
2018-03-02 14:38:07 +02:00
Ari Parkkila
164e8fb717
Added modem_debug_on to cellular device
2018-03-02 14:38:07 +02:00
Teppo Järvelin
a95d376820
review changes: take define MBED_CONF_PPP_CELL_IFACE_APN_LOOKUP in to use.
2018-03-02 14:38:07 +02:00
Teppo Järvelin
1fd9ba6caa
APN lookup from database support.
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
Ari Parkkila
f2613a6154
Cellular logging to use mbed_trace
2018-03-02 14:38:06 +02:00
Juho Eskeli
331a27df63
Enable connection status callback with EasyCellularConnection
2018-03-02 14:38:06 +02:00
Ari Parkkila
88398bf141
Changed include brackets to double quotes
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
Mirela Chirica
4a3541ef60
Device info buffer moved from stack to static
2018-03-02 14:38:05 +02:00