mudassar-ublox
b2d0448351
setting timeout before send command
2019-10-03 12:22:17 +05:00
Martin Kojtal
31114ba343
Merge pull request #11598 from JanneKiiskila/AT_Cell_err_warn
...
AT_CellularDevice.cpp - unused variable err warning
2019-10-01 13:35:03 +02:00
Martin Kojtal
828fd2378a
Merge pull request #11581 from AriParkkila/cell-pdp-cid
...
Cellular: Fix setting of PDP context ID (cid)
2019-10-01 13:32:47 +02:00
Janne Kiiskila
55f6518853
AT_CellularDevice.cpp - unused variable err warning
...
We get this compiler warning;
Compile [ 7.9%]: AT_CellularDevice.cpp
[Warning] AT_CellularDevice.cpp@206,18: variable 'err' set but not used [-Wunused-but-set-variable]
Due to the fact, that the code that would actually use this variable
is behind trace flags. Based on review feedback from Antti Kauppila and
Kimmo Väisänen, adding same flagging also for that.
- Reason being - the operation needs to be within the locks.
2019-09-30 17:11:23 +03:00
Mirela Chirica
0860f3e0f6
Cellular: Removed not used variable
2019-09-30 14:14:37 +03:00
Mirela Chirica
865a504542
Cellular: Include of errno.h needed for Mac OS X
2019-09-30 14:14:37 +03:00
Ari Parkkila
e449e6dcdc
Cellular: Fix setting of PDP context ID (cid)
2019-09-27 02:09:36 -07:00
Ari Parkkila
8054b8eef8
Cellular: Fix resolving of DNS server IPv4/6 address
2019-09-25 03:16:45 -07:00
Kimmo Vaisanen
6ba0efc969
Cellular: Use more specific error codes for socket open and connect
...
- When calling socket APIs when socket is not open, NSAPI_ERROR_NO_SOCKET will be
returned instead of generic NSAPI_ERROR_DEVICE_ERROR
- If socket_send() is called when connection is not open, NSAPI_ERROR_NO_CONNECTION
will be returned instead of generic NSAPI_ERROR_DEVICE_ERROR
2019-09-25 09:25:33 +03:00
Kimmo Vaisanen
b319be14e8
Offloaded TLSSocket for BG96
...
Some external modems have an internal TLSSocket implementation which can be used
instead of mbedtls based TLSSocket. Using offloaded TLSSocket can result in
significantly reduced ROM usage.
Offloaded TLSSocket can be enabled by enabling "nsapi.offload-tlssocket" and the used
network stack (e.g. cellular modem's CellularStack class) must support the setsockopt's
defined in nsapi_types.h.
Compared to original mbedtls based TLSSocket, offloaded TLSSocket brings in one significant
API limitation. Offloaded TLSSocket requires setting of certificates and keys after open()
and before connect() calls, where mbedtls based TLSSocket allows setting these before open()
call.
2019-09-25 09:25:33 +03:00
Martin Kojtal
d91ed5fa42
Merge pull request #11495 from kivaisan/improve_cellular_ut
...
Improve cellular unittests
2019-09-24 16:37:02 +02:00
Martin Kojtal
e1cfb7b908
Merge pull request #11534 from kivaisan/handle_qisend_send_fail
...
Cellular: Handle SEND FAIL and ERROR response
2019-09-24 13:30:32 +02:00
int_szyk
b0b9553991
CellularStack: remove unnecessary assignment.
...
Fixes Coverity issue about unused variable.
2019-09-24 11:05:01 +02:00
int_szyk
7c13b8f6b9
CellularUtil prefer_ipv6: check length.
...
Fixes Coverity issue about not checking the length of string before copying it.
2019-09-24 10:44:38 +02:00
Martin Kojtal
daafb950d9
Merge pull request #11538 from mirelachirica/ipv6_to_wise_1570
...
Cellular: Enable IPV6 for WISE_1570
2019-09-20 15:29:07 +02:00
Kimmo Vaisanen
1768b653ec
Cellular: Handle SEND FAIL and ERROR response
...
QISEND command can respond either SEND OK, SEND FAIL or ERROR.
If response is not SEND OK, sent bytes should not be checked but
error should be reported.
2019-09-20 10:06:32 +03:00
Martin Kojtal
11a34ec092
Merge pull request #11521 from u-blox/clear_after_sim_pin
...
Bux fix: Context can be cleared using CGDCONT after sim ready state
2019-09-19 17:15:55 +02:00
Mirela Chirica
090ce0358f
Cellular: Enable IPV6 for WISE_1570
2019-09-19 16:19:31 +03:00
Syed Fahimuddin Alavi
a269f714cc
Fix added to unlock AT handler mutex
2019-09-19 16:46:00 +05:00
Martin Kojtal
1afece7f1b
Merge pull request #11488 from kivaisan/fix_cellular_get_interface_name
...
Cellular: Fix get_interface_name to not include leading zero
2019-09-19 12:43:45 +02:00
Martin Kojtal
c1a1c22fe9
Merge pull request #11469 from AriParkkila/cell-clear-ndef
...
Cellular: Disable cellular.clear-on-connect by default
2019-09-19 10:37:10 +02:00
Martin Kojtal
185e380233
Merge pull request #11490 from AriParkkila/cell-bg96-ifc
...
Cellular: Add flow control (IFC) in BG96 AT driver
2019-09-19 10:25:47 +02:00
Syed Fahimuddin Alavi
828fffbc4e
Bux fix: Context can be cleared using CGDCONT after sim ready state
2019-09-19 13:01:45 +05:00
Kimmo Vaisanen
ba4308344b
Cellular: Fix stop tag for Quectel M26 send command
...
Possible responses for send command are SEND OK<cr><ln>, SEND FAIL<cr><ln> or ERROR<cr><ln>
so normal OK<cr><ln> response check does not work properly.
2019-09-17 15:52:14 +03:00
Kimmo Vaisanen
b6ecce0bfb
Add UT for AT_CellularNetwork::is_active_context
2019-09-17 12:56:47 +03:00
Kimmo Vaisanen
e824714cd8
Add UT for CellularUtil::hex_to_char and ::hex_str_to_char_str
...
Also added checks for pointer validity.
2019-09-17 12:15:03 +03:00
Ari Parkkila
823993e7b1
Cellular: Add flow control (IFC) in BG96 AT driver
2019-09-16 03:16:36 -07:00
Kimmo Vaisanen
ab71b2dba8
Cellular: Fix get_interface_name to not include leading zero
...
Multihoming documentation about interface name:
"Two character name string is concatenated with 8 bit value containing index which is incremented on each netif addition"
Cellular uses context id as index and to follow LWIP (LWIP::Interface::get_interface_name), index does not include leading zeros.
2019-09-16 09:59:31 +03:00
Martin Kojtal
66c39e0bca
Merge pull request #11424 from mirelachirica/stack_type_ip_versions
...
Stack type ip versions
2019-09-13 11:46:06 +02:00
Mirela Chirica
78f4e8b12f
Cellular: Enable IPv6 stack property for BG96
2019-09-12 12:56:29 +03:00
Mirela Chirica
7aaaae121e
Cellular: IP stack property redefined
2019-09-12 12:56:28 +03:00
Mirela Chirica
b44ba531a1
Cellular: Check IP version of send to address
2019-09-12 12:56:28 +03:00
Mirela Chirica
ea1b2b8045
Cellular: Stack type based on assigned IP addresses versions
2019-09-12 12:55:33 +03:00
Ari Parkkila
5fbcaeaca5
Cellular: Disable cellular.clear-on-connect by default
2019-09-12 00:02:14 -07:00
Ari Parkkila
94dcab9d69
Cellular: Add API to clear CellularDevice
...
A new API `CellularDevice::clear()` to clean-up the modem to a default initial state.
Function is virtual so it can be overridden. The default implementation clears all PDP contexts,
but the the first one if that has APN defined as `nsapi.default-cellular-apn`.
CellularStateMachine calls `clear()` to clean-up the modem on initial `connect()`,
if the flag `cellular.clear-on-connect: true` is defined.
2019-09-09 06:14:20 -07:00
Martin Kojtal
978296a26d
Merge pull request #11372 from AriParkkila/bg96-pwr
...
Cellular: Fix BG96 power on and connect
2019-09-05 13:10:26 +02:00
Martin Kojtal
0427bb7469
Merge pull request #11396 from gpsimenos/remove-sms-floats
...
Remove floating point from AT_CellularSMS
2019-09-05 11:12:17 +02:00
Martin Kojtal
567479792c
Merge pull request #11392 from hugueskamba/hk-remove-minor-warnings
...
Remove minor build warnings
2019-09-05 09:59:39 +02:00
Martin Kojtal
d135e9bf32
Merge pull request #11394 from hugueskamba/hk-replace-deprecated-wait_us
...
Replace wait_ms calls with rtos::ThisThread::sleep_for
2019-09-05 09:56:57 +02:00
Ari Parkkila
cb20277701
Cellular: Fix BG96 power on and connect
2019-09-04 03:24:11 -07:00
Martin Kojtal
aba0760652
Merge pull request #10684 from jarvte/fix_athandler_destr
...
Cellular: fix ATHandler destructor possible crash on delete
2019-09-04 11:52:59 +02:00
Hugues Kamba
8c22bbbbc8
Use PRIu32 to print uint32_t variable
...
As the variable underlying type size is different depending on the
toolchain used
2019-09-03 09:29:06 +01:00
Teppo Järvelin
753ba8ceb6
Cellular: fix ATHandler destructor possible crash on delete
...
In some multithread cases there is possibility that process_oob function
was called after ATHandler was deleted. Fix is to wait if oob processing
is ongoing.
2019-09-03 09:09:05 +03:00
George Psimenos
93cebc189c
Avoid potential overflow
2019-09-02 15:48:30 +01:00
Hugues Kamba
97acdc59a3
Replace wait_ms calls with rtos::ThisThread::sleep_for
...
`wait_ms` is deprecated and its use generates a warning.
2019-09-02 15:24:10 +01:00
Hugues Kamba
e65a0c0a99
Remove minor build warnings
2019-09-02 15:04:58 +01:00
George Psimenos
4df70449fe
Replace difftime and float literals
2019-09-02 14:56:56 +01:00
Martin Kojtal
39733cbc0b
Merge pull request #11306 from AnttiKauppila/ATHandler_improvements
...
At handler improvements
2019-09-02 12:08:44 +02:00
Antti Kauppila
9151606bb2
AT locks placed for UBlox AT handling
2019-08-30 08:54:34 +03:00
Martin Kojtal
de627dad6a
Merge branch 'read-int-zero' of git://github.com/dextero/mbed-os into dev_rollup
2019-08-28 18:37:46 +01:00
Antti Kauppila
d08d55da88
New ATHandler functions taken into use
...
New ATHandler functions taken into use for rest of the targets (BG96 was updated initially) to reduce code size. This means basically that new functions using variadic list approach are taken into use and with those one can usually write AT commands in single line instead of multiple lines.
Only internal changes and API's are not modified.
2019-08-27 09:15:51 +03:00
Martin Kojtal
a1540c5f77
Merge pull request #11245 from dextero/8bit-sms
...
AT_CellularSMS: allow configuring SMS encoding (7-bit/8-bit) at initialization
2019-08-23 13:51:59 +02:00
Martin Kojtal
88dcf27e02
Merge pull request #11246 from AriParkkila/cell-bg96-ipv6
...
Cellular: Fix BG96 AT driver for IPv6
2019-08-22 11:08:23 +02:00
Martin Kojtal
5c09ff12ac
Merge pull request #11220 from jarvte/fix_cellular_dns_test
...
Fix cellular dns test with IAR compiled binary
2019-08-22 10:57:22 +02:00
Ari Parkkila
110fb7d524
Cellular: Fix BG96 AT driver for IPv6
2019-08-21 02:46:33 -07:00
Martin Kojtal
0b49952b9e
Merge pull request #11249 from dextero/get-sms-zero
...
Make AT_CellularSMS::list_messages support index 0 in SMS inbox
2019-08-20 10:27:57 +02:00
Martin Kojtal
9ccfe49d12
Merge pull request #11247 from dextero/international-numbers
...
AT_CellularSMS: set "international" flag in PDU when applicable
2019-08-20 10:27:13 +02:00
Martin Kojtal
b849bc1e3d
Merge pull request #11201 from mirelachirica/bug_virtual_in_constructor
...
Cellular: Fixed improper AT handler setup through virtual calls in co…
2019-08-20 09:52:28 +02:00
Martin Kojtal
a5a2036c65
Merge pull request #11224 from AnttiKauppila/Coverity_fixes
...
Coverity issues fixed
2019-08-20 09:40:20 +02:00
Marcin Radomski
17f6f1c0e3
Make AT_CellularSMS support index 0 in SMS inbox
...
When AT+CGML is used to retrieve list of SMS stored in modem inbox,
every message has an associated index. ETSI TS 127 005 v7.0.0 does not
specify what is the allowed range of such indices - all it says is
"integer type; value in the range of location numbers supported by the
associated memory".
Usually, AT modems use positive indexes (starting at 1). Quectel BG96
modem takes a different approach, indexing messages starting at 0.
Current implementation of `AT_CellularSMS::list_messages()` considers
index 0 invalid and ignores such message, effectively making it
impossible to access using mbed-os API.
This commit changes the behavior so that value of 0 is handled as any
other positive message index.
2019-08-16 14:19:29 +02:00
Marcin Radomski
726eace763
Do not fail on trailing data in read_int
...
Some tests depend on that behavior.
2019-08-16 14:14:58 +02:00
Marcin Radomski
c0032c9055
ATHandler::read_int: allow returning 0 successfully
2019-08-16 14:14:58 +02:00
Marcin Radomski
2bfa4e9b8d
AT_CellularSMS: set "international" flag in PDU when applicable
...
Currently, create_pdu receives a destination address without '+' prefix,
and always sets the "type of address" to "unknown". That means, the
number needs to contain appropriate international number prefix (00/011)
if necessary - which is not the case if the leading + is simply
stripped.
This changes send_sms behavior so that when a SMS is sent to an
international number (indicated by leading +):
- AT+CMGS command receives the number with + prefix,
- created PDU has the "international" flag set.
2019-08-16 13:30:59 +02:00
Marcin Radomski
f3e9501ac6
Increase PDU buffer size to fit 8-bit-encoded hex string
2019-08-16 13:20:37 +02:00
Marcin Radomski
14f8d15242
Add option to set up SMS encoding
2019-08-16 12:24:54 +02:00
Mirela Chirica
75c823c1a3
Cellular: Fixed improper AT handler setup through virtual calls in constructor
...
Added AT handler setup method to be used for initialisation routines
that are virtual and therefore cannot be called from constructor.
2019-08-16 10:57:37 +03:00
Anna Bridge
2af2b1b18b
Merge pull request #11190 from jarvte/fix_wise1570_netsocket_tests
...
Cellular: failure when deleting created context is not considered error
2019-08-15 12:58:32 +01:00
Anna Bridge
797e58a2b3
Merge pull request #11148 from AriParkkila/cell-sim-pin
...
Cellular: Fix SIM pin enter command
2019-08-15 12:49:24 +01:00
Antti Kauppila
84063bf222
Coverity issues fixed
2019-08-14 16:22:05 +03:00
Martin Kojtal
0a73eda9d4
Merge pull request #11200 from jarvte/move_string_to_pdp_type
...
Cellular: moved string_to_pdp_type from AT_CellularContext to Cellula…
2019-08-14 12:53:20 +02:00
Teppo Järvelin
6a17d74b55
Cellular: notify global up after we have IP address
...
CellularContext now tries to get an IP address after connect and before
sending NSAPI_STATUS_GLOBAL_UP. Even if we don't the IP address from
the modem we will send NSAPI_STATUS_GLOBAL_UP and return success.
Modem has an ip address but for some reason some modems don't
give it to us.
2019-08-14 12:54:13 +03:00
Teppo Järvelin
3c1bf0a9e2
Cellular: moved string_to_pdp_type from AT_CellularContext to CellularUtil
...
string_to_pdp_type is a common method for AT and other layers.
Without moving there will be duplicate methods.
2019-08-12 10:27:57 +03:00
Teppo Järvelin
6e71932baf
Cellular: move RAT reading to better support ublox custom boards
...
AT commands used in read_radio_technology() function are not supported
by all boards so moving the function where it's actually used. Usage was
already inside of the #ifdef's.
2019-08-09 13:23:50 +03:00
Teppo Järvelin
10251ab3b2
Cellular: failure when deleting created context is not considered as an error
...
If delete fails there is nothing we or application can do. There is no point
returning an error for this. This affects to AT_CellularContext::disconnect
not returning an error if context delete fails.
2019-08-09 12:27:25 +03:00
Seppo Takalo
5f6379a55d
Merge pull request #11119 from Reda-RM/master
...
Riot Micro cellular device
2019-08-07 14:07:27 +03:00
Seppo Takalo
976c30c52b
Merge pull request #11162 from AriParkkila/cell-dns
...
Add DNS servers from cellular PDP to nsapi
2019-08-07 14:06:49 +03:00
Seppo Takalo
46a56fb47b
Merge pull request #11154 from AriParkkila/cell-shutdown-stm
...
Cellular API shutdown to stop state machine
2019-08-06 11:34:44 +03:00
Seppo Takalo
dd2d585f30
Merge pull request #11149 from mirelachirica/remove_local_stack_types
...
Cellular: Remove unnecessary local variables
2019-08-06 11:29:56 +03:00
Ari Parkkila
e1124668db
Cellular: Add DNS servers from PDP contexts to nsapi_dns
2019-08-05 21:53:24 -07:00
Reda Maher
022b99325b
Cellular: Support Riot Micro cellular device
2019-08-03 23:42:26 +02:00
Seppo Takalo
818c1d6f0f
Merge pull request #11130 from Tharazi97/NotSupportedTest
...
Updated testcases
2019-08-02 13:27:54 +03:00
Seppo Takalo
2ca8487371
Merge pull request #11082 from AriParkkila/cell-bg96-dns
...
Cellular: Add BG96 AT driver with DNS support
2019-08-02 13:27:09 +03:00
Ari Parkkila
ed3562e764
Cellular: Fix shutdown to stop statemachine
2019-08-02 02:26:12 -07:00
Ari Parkkila
cbe2b50a32
Cellular: Fix SIM pin enter command
2019-08-01 03:46:33 -07:00
Mirela Chirica
341cc2be03
Cellular: Remove unnecessary local variables
2019-08-01 13:26:05 +03:00
int_szyk
ae6f8be146
Newline at the end of files
2019-08-01 08:44:58 +02:00
int_szyk
8b68a1ea58
Updated testcases
2019-07-31 10:46:38 +02:00
Ari Parkkila
71c7ed2fb4
Cellular: Add BG96 AT driver with DNS support
2019-07-31 00:19:05 -07:00
mudassar-ublox
6cd60178fa
UBLOX cellular context activation updated for C030_R412M and updated AUTH configuration
2019-07-30 12:19:20 +05:00
Seppo Takalo
2c6280b9c7
Merge pull request #11066 from AriParkkila/cell-fix-restart
...
Cellular: Fix cellular statemachine stop and BG96 power up
2019-07-29 17:40:35 +03:00
Ari Parkkila
742bfd3709
Cellular: Fix statemachine stop
2019-07-26 00:34:45 -07:00
Ari Parkkila
ac78b5ab16
Cellular: Fix to delete context just once
2019-07-23 03:04:24 -07:00
Ari Parkkila
7a5e4ca5da
Cellular: Fix BG96 power up
2019-07-18 23:13:36 -07:00
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
Martin Kojtal
523ad23a30
Merge pull request #10656 from jarvte/fix_cellularctx_destr
...
Cellular: AT_CellularContext disconnect in non-blocking mode
2019-05-31 12:35:59 +01:00
Mirela Chirica
b57d978bbd
Cellular: Added IPV6 and IPV4V6 as supported properties for BG96
2019-05-30 14:07:33 +03:00
Mirela Chirica
ff2061aba4
Cellular: Fix requested socket id in socket_connect routines of BG96 and M26
2019-05-30 14:07:33 +03:00
Antti Kauppila
83d62fbb9c
astyle fixes
2019-05-29 20:13:22 +03:00
Antti Kauppila
77e8374058
Cellular: Removed boiler plate code
2019-05-29 16:17:08 +03:00
Ari Parkkila
73164710af
Cellular: Fix socket connect on UBLOX_AT driver
2019-05-29 03:19:07 -07:00
Teppo Järvelin
8922eeb014
Cellular: add method to set authentication type to CellularContext
...
Authentication type must be able to set. It was hard coded to CHAP.
Added unit tests for CellularContext to be able to add test for new function.
2019-05-29 09:46:15 +03:00