Commit Graph

98 Commits (3bdb6d1737b0132230fe5bcd04c7ed61ab268d9a)

Author SHA1 Message Date
Teppo Järvelin 9e2da6af7d Removed mux comments from code. 2018-03-02 14:38:08 +02:00
Teppo Järvelin 7c9f5f3781 Removed mux. 2018-03-02 14:38:08 +02:00
Ari Parkkila e183923c0d Changed std::snprintf to sprintf in cellular ATHandler.cpp 2018-03-02 14:38:08 +02:00
Amanda Butler 63485bd846 Copy edit ATHandler.h
Copy edit for clarity, grammar and spelling.
2018-03-02 14:38:08 +02:00
Amanda Butler cc3835e356 Copy edit AT_CellularBase.h
Copy edit file for clarified phrasing.
2018-03-02 14:38:08 +02:00
Amanda Butler 68cac96042 Copy edit AT_CellularDevice.h
Copy edit for consistent phrasing across docs.
2018-03-02 14:38:08 +02:00
Amanda Butler 1d57299000 Copy edit AT_CellularSMS.h
Copy edit file for grammar.
2018-03-02 14:38:08 +02:00
Amanda Butler 3a57d507d9 Copy edit AT_CellularStack.h
Copy edit for American English.
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 164e8fb717 Added modem_debug_on to cellular device 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
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 1a3b6e589c Doxygen update: removed documentation from inherited classes as INHERTIC_DOCS is enabled in doxygen config. Reduces copy-paste and eases maintenance. 2018-03-02 14:38:07 +02:00
Teppo Järvelin e99c18c233 Fixed SMS receive in PDU: certain length sms last char was missing. 2018-03-02 14:38:07 +02:00
Mirela Chirica 6ccbb59979 Mem_str comparation was too short 2018-03-02 14:38:07 +02:00
Teppo Järvelin 7a8da2244d Fixed SMS send in pdu mode could give wrong size as return value. 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 4457e361ac Logging compile fix 2018-03-02 14:38:06 +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 d2e8691754 Cellular stack listen and accept to return UNSUPPORTED 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
Teppo Järvelin 3ff131be0a Doxygen update, missing class definitions from AT_ classes. 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
Teppo Järvelin 58c8176247 doxygen fixes. 2018-03-02 14:38:06 +02:00
Teppo Järvelin e41c551468 Doxygen warnings fixes. 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
Ari Parkkila 88398bf141 Changed include brackets to double quotes 2018-03-02 14:38:06 +02:00
Mirela Chirica 1825c999a9 Removed unnecessary memsets of ATHandler's receving buffer 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
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
Teppo Järvelin 4a6bcc4a0a Fixed doxygen warning. 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
Ari Parkkila 934a93151a Changed requested stack for new pdp context 2018-03-02 14:38:05 +02:00
Antti Kauppila 1a44c4e5b1 Update AT_CellularPower.cpp 2018-03-02 14:38:05 +02:00
Antti Kauppila bfbd3e42af more unittests added 2018-03-02 14:38:05 +02:00
Teppo Järvelin bf3d587571 Removed dead code from athandler. 2018-03-02 14:38:05 +02:00
Ari Parkkila db2c5cff20 Added cellular stack API 2018-03-02 14:38:05 +02:00
Antti Kauppila 217271b156 Unittests added 2018-03-02 14:38:03 +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