Kevin Bracey
a522dcfa0a
Replace deprecated wait calls
2019-07-15 10:13:50 +03:00
Kevin Bracey
fc8e8f67c6
Deprecate wait/wait_ms APIs
2019-07-15 10:13:50 +03:00
Kevin Bracey
607856ee9a
Set unit tests to C++14
...
Adjust some non-C++11-compatible code that failed as a result.
2019-07-09 19:08:57 +03:00
Martin Kojtal
eadc799584
Merge pull request #10919 from jeromecoutant/PR_AT_MUTEX
...
AT Cellular Network: mutex lock issue
2019-07-05 09:03:07 +01:00
Antti Kauppila
c315672413
Doubled ATHandler's BUFF_SIZE
2019-07-02 10:17:06 +03:00
Martin Kojtal
d2c73f2bcd
Merge pull request #10842 from ghseb/cellular-stack-type-fixes
...
Cellular: Stack type fixes
2019-07-01 09:23:21 +01:00
Martin Kojtal
6be510daa4
Merge pull request #10900 from TeroJaasko/armcc5_compilation_fixes
...
Armcc5 compilation fixes
2019-07-01 09:16:56 +01:00
Martin Kojtal
60d047cae3
Merge pull request #10840 from u-blox/socket_flag_update
...
Cellular: cellular socket flags updated
2019-07-01 09:04:16 +01:00
jeromecoutant
758a4bb56a
AT Cellular Network: mutex lock issue
2019-06-28 16:08:52 +02:00
Tero Jääskö
bae3043e92
cellular: AT: fix build on ARMCC5
...
ARMC5 failed to compile the code with debug-profile (!!) as va_list
is getting into std:: namespace when one includes <cstdarg>. Other
compilers seem to be more relaxed, and so is ARMC5 if compiled
with other profiles.
Add the explicit std:: to references of va_list.
While here, remove one extra copy of "#include "PlatformMutex.h""
and a "#include <stdarg.h>" which is kind of duplicate of
"#include <cstdarg>".
Error being fixed:
--8<--8<--8<--
Compile [ 81.8%]: ATHandler.cpp
[Error] ATHandler.h@552,0: #20 : identifier "va_list" is undefined
[Error] ATHandler.cpp@1226,0: #147 : declaration is incompatible with "void mbed::ATHandler::handle_args(const char *, <error-type>)" (declared at line 552 of "./mbed-os/features/cellular/framework/AT/ATHandler.h")
[ERROR] "./mbed-os/features/cellular/framework/AT/ATHandler.h", line 552: Error: #20 : identifier "va_list" is undefined
"./mbed-os/features/cellular/framework/AT/ATHandler.cpp", line 1226: Error: #147 : declaration is incompatible with "void mbed::ATHandler::handle_args(const char *, <error-type>)" (declared at line 552 of "./mbed-os/features/cellular/framework/AT/ATHandler.h")
./mbed-os/features/cellular/framework/AT/ATHandler.cpp: 0 warnings, 2 errors
2019-06-26 19:58:34 +03:00
Martin Kojtal
63d1ea36f1
Merge pull request #10821 from kivaisan/refactor_apn_db
...
Cellular: Refactor APN db implementation to reduce memory usage
2019-06-25 11:02:24 +01:00
Martin Kojtal
34eefb49fa
Merge pull request #10858 from LMESTM/fix_cellular_properties
...
Check Cellular Properties have been set
2019-06-25 10:58:23 +01:00
Sebastian Stockhammer
142a223cf9
Fix astyle
2019-06-25 07:51:27 +02:00
Martin Kojtal
c9bdcd6b16
cellular: fix file permission
2019-06-24 22:23:10 +01:00
Martin Kojtal
979f26f74d
Merge pull request #10875 from mirelachirica/revert_ipv6_bg96
...
Cellular: Remove IPV6 and IPV4V6 as supported properties for BG96
2019-06-24 14:55:50 +01:00
Martin Kojtal
13081a21ab
Merge pull request #10808 from mirelachirica/bg96_pdpdeact
...
Cellular: Added handling for BG96 network PDP context deactivation
2019-06-24 11:23:40 +01:00
Anna Bridge
15b5b5da23
Merge pull request #10694 from jarvte/set_authentication_type
...
Cellular: add method to set authentication type to CellularContext
2019-06-21 12:19:04 +01:00
mudassar-ublox
26f1d0b659
cellular socket flags updated
2019-06-21 10:05:35 +05:00
Mirela Chirica
ce6415bfce
Cellular: Remove IPV6 and IPV4V6 as supported properties for BG96
...
IPV6 and IPV6V4 support is also network dependent not only modem.
Having these properties enabled for a modem requires a fallback
mechanism during PDP context activation. This mechanism is missing
at the moment and that can result in imposibility to establish
succesfull connection when network only supports IPV4 contexts.
2019-06-20 14:48:07 +03:00
Laurent Meunier
3286472de9
Check Properties have been set
2019-06-20 09:23:48 +02:00
Anna Bridge
363ad8ab14
Merge pull request #10825 from kivaisan/fix_plmn_debug_trace
...
Cellular: Fix PLMN debug trace for IAR
2019-06-19 15:04:24 +01:00
Anna Bridge
37640301e0
Merge pull request #10812 from jarvte/fix_multiple_urc_athander
...
Cellular: fix athandler to use correct timeout in case of multiple urc's
2019-06-19 15:03:36 +01:00
Anna Bridge
b8f413a4a2
Merge pull request #10811 from u-blox/ubx_socket_close_callback
...
socket close callback
2019-06-19 15:02:17 +01:00
Anna Bridge
2fd7f80f35
Merge pull request #10484 from trowbridgec/telit-me910-driver
...
Cellular: Telit ME910 driver
2019-06-19 12:07:25 +01:00
Anna Bridge
6000724de6
Merge pull request #10703 from AnttiKauppila/optimisation
...
Cellular: Removed boilerplate code
2019-06-19 12:06:10 +01:00
Sebastian Stockhammer
7dc4c99b23
Allow IPV4V6 stack type
2019-06-17 10:06:27 +02:00
Sebastian Stockhammer
402c471e70
Require exact context type match
2019-06-17 10:03:06 +02:00
Chris Trowbridge
28f7a4e6a6
Moved DEFAULT_DELAY_BETWEEN_AT_COMMANDS constant to cpp file
2019-06-14 08:02:33 -04:00
Kimmo Vaisanen
d7858f6184
Cellular: Refactor APN db implementation to reduce memory usage
...
Reduce memory usage by moving actual APN database into single object file
instead of having it defined in header as a static.
2019-06-14 13:31:54 +03:00
Kimmo Vaisanen
b26314a799
Cellular: Fix PLMN debug trace for IAR
...
IAR does not allow printing from null pointer as parameter for %s. PLMN string
can be null depending on user configuration.
2019-06-13 15:35:37 +03:00
Antti Kauppila
1ed338ef28
Valgrind & unittest fixes
2019-06-13 15:15:53 +03:00
mudassar-ublox
3ad1ee1fe4
Style issue fixed
2019-06-13 16:58:50 +05:00
Anna Bridge
3e6f5eba6c
Merge pull request #10764 from mirelachirica/bg96_sockid_fix_ipv6_support
...
BG96 ipv6 support and socket id fix for BG96 and M26
2019-06-12 17:04:46 +01:00
Chris Trowbridge
ea5d8cf26d
Remove unnecessary init AT commands
2019-06-12 09:36:22 -04:00
Teppo Järvelin
6b11ca1371
Cellular: fix athandler to use correct timeout in case of multiple urc's
...
Start time was not updated when multiple urc's were found and so timeout
was set to zero. Now that start time is updated, timeout is correct.
2019-06-12 11:21:00 +03:00
mudassar-ublox
488d47b723
socket close callback
2019-06-12 12:15:10 +05:00
Mirela Chirica
0339ffd1b9
Cellular: Added handling for BG96 network PDP context deactivation
2019-06-11 16:05:27 +03:00
Antti Kauppila
e19249f276
Tracing added for Handle_start + doxygen updates
2019-06-10 17:18:18 +03:00
Chris Trowbridge
9a1309f5f8
Modify ME910 driver to follow power on/off best practices and add custom get_context() function
2019-06-06 14:29:15 -04:00
Chris Trowbridge
0a717e435b
Add default soft/hard power on/off sequences for ME910
2019-06-06 10:26:51 -04:00
Chris Trowbridge
0d9facd921
Remove ME910 trace group #define
2019-06-06 10:26:50 -04:00
Chris Trowbridge
21a8ed8108
Remove ME910 flow control debug message
2019-06-06 10:26:50 -04:00
Chris Trowbridge
f0afd1f896
Remove unnecessary #includes
2019-06-06 10:26:50 -04:00
Chris Trowbridge
1a20ea11af
Remove default power on/off functions
2019-06-06 10:26:50 -04:00
Chris Trowbridge
841607d029
Add Telit ME910 driver
2019-06-06 10:26:50 -04:00
Antti Kauppila
43b67459ae
Assert handling added
2019-06-06 13:12:29 +03:00
Antti Kauppila
9d8969daa7
Small fixes and doxygen update
2019-06-04 10:41:16 +03:00
Martin Kojtal
752101d041
Merge pull request #10696 from AriParkkila/cell-ublox-at-connect
...
Cellular: Fix socket connect on UBLOX_AT driver
2019-06-03 08:52:43 +01:00
Martin Kojtal
9a3c175e96
Merge pull request #10588 from AriParkkila/cell-bg96-power
...
Cell bg96 power
2019-06-03 08:38:58 +01:00
Antti Kauppila
7f199ceeef
Added missing _cid handling
2019-06-02 18:55:50 +03:00