Martin Kojtal
e4e6c645fa
Merge pull request #11204 from paul-szczepanek-arm/non-scan
...
BLE: add nonscannable connectable type
2019-08-20 13:58:32 +02: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
63084ad874
Merge pull request #11241 from teijokinnunen/lorawan-uplink-rx-fix
...
LoRaWAN: Terminate RX when receiving uplink messages
2019-08-20 10:24:51 +02:00
Martin Kojtal
083824807c
Merge pull request #11239 from Patater/import-mbedtls-crypto-from-mbedcrypto
...
crypto: Copy legacy crypto from Mbed Crypto
2019-08-20 10:24:41 +02:00
Martin Kojtal
7ee382bdc0
Merge pull request #11216 from paul-szczepanek-arm/fix-ad-parser
...
BLE: make advertising data parser handle early termination
2019-08-20 09:59:18 +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
5904614696
Merge pull request #11183 from OpenNuvoton/nuvoton_m252kg_test
...
M252KG: Fix kvstore-static_tests failing with OOM
2019-08-20 09:49:58 +02:00
Martin Kojtal
64fb49e4ec
Merge pull request #11169 from dmaziec1/TLSSocketWrapper_recvfrom_modified
...
TLSSocketWrapper::recvfrom sets SocketAddress output variable
2019-08-20 09:41:39 +02:00
Martin Kojtal
a5a2036c65
Merge pull request #11224 from AnttiKauppila/Coverity_fixes
...
Coverity issues fixed
2019-08-20 09:40:20 +02:00
Martin Kojtal
2e09a27e05
Merge pull request #11165 from VeijoPesonen/fix_internal_kvstore_config
...
Allows placing KVStore and update images on separate storage devices - to internal and external flash
2019-08-19 11:46:39 +02:00
Martin Kojtal
cc7e2f8279
Merge pull request #11222 from paul-szczepanek-arm/fix-recursive
...
BLE: fix recursive call
2019-08-19 10:24:26 +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
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
Teijo Kinnunen
10c0f20317
LoRaWAN: Terminate RX when receiving uplink messages
...
This prevents RX2 window to be enabled at the same time when repeating
transmission, when QoS repeated TX is in effect. Failure to do so
seems to place the LoRaWAN stack in a state where send() always fails
with WOULD_BLOCK error.
2019-08-16 12:56:58 +03:00
Jaeden Amero
b6c24e2e09
crypto: Copy legacy crypto from Mbed Crypto
...
Mbed TLS no longer provides legacy crypto C or H files. Obtain the files
from Mbed Crypto instead.
2019-08-16 09:20:03 +01:00
Jaeden Amero
82927057b9
lwip: Use correct include path for mbedtls
...
The portable and correct way to include Mbed TLS header files is
"mbedtls/someheader.h". It's Mbed OS specific, unecessary, and incorrect
to use "mbedtls/inc/mbedtls/someheader.h".
2019-08-16 09:20:03 +01: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
f9eb870a47
Merge pull request #11198 from RonEld/remove_redundant_file
...
Remove redundant file accidentally added
2019-08-15 12:59:57 +01: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
Chun-Chieh Li
500221c6a0
Fix kvstore-static_tests failing with OOM
...
Forked 3 threads plus misc, so minimum (4 * OS_STACK_SIZE) heap are required.
2019-08-15 17:53:31 +08:00
Veijo Pesonen
722628be02
[TDBStore] changes the default TDBStore location
...
Thus far the default position has been after the application plus two
spare sectors. For simplicity and to have a predictable location for the
TDBStore with the default configuration the location is now switched to
the end of the flash. Two last sectors to be exact.
2019-08-15 09:26:57 +03:00
Paul Szczepanek
71f59eaf6c
add comments
2019-08-14 17:11:52 +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
paul-szczepanek-arm
280c55d57a
fix recursive call
2019-08-14 09:39:04 +01:00
paul-szczepanek-arm
8acd127640
handle early termination of ad struct
2019-08-13 14:49:18 +01:00
Martin Kojtal
b82cfcc38b
Merge pull request #11193 from michalpasztamobica/fat_stat
...
FATFileSystem::stat() enabled for all compilers
2019-08-13 11:23:10 +02:00
paul-szczepanek-arm
c79ffd112f
add nonscannable connectable type
2019-08-12 16:38:42 +01: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
Ron Eldor
0b1b4cc908
Remove redundant file accidently added
...
Remove unneeded redundant file that was accidentally added.
2019-08-11 14:26:52 +03:00
Michal Paszta
406fcdc9b7
FATFileSystem::stat() enabled for all compilers
...
Macro which restricted compilation to GCC_ARM is removed.
Existing read_write() test is amended to call stat() and check that correct size is returned.
2019-08-09 15:52:49 +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
9bf85ef67e
Merge pull request #11179 from ARMmbed/storage_coverity_fixes
...
Zero initialise all NVStore&kvstore members
2019-08-07 17:23:03 +03:00
Seppo Takalo
3b0053c234
Merge pull request #11161 from desmond-blue/feature-fix-path-cloud-client
...
Fix include path issues on NRF5x with Cordio
2019-08-07 16:22:24 +03:00
Seppo Takalo
7d7416558a
Merge pull request #11073 from ARMmbed/feature-public-headers
...
Feature public headers
2019-08-07 16:04:45 +03:00
Seppo Takalo
a5e3336c19
Zero initialise all NVStore&kvstore members
2019-08-07 14:17:15 +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
6781c793b6
Merge pull request #11173 from michalpasztamobica/coverity_fixes
...
Coverity and compilation warnings fixes
2019-08-07 14:06:04 +03:00
Michal Paszta
73b122b2c4
Coverity and compilation warnings fixes
2019-08-07 10:30:52 +03:00
Dominika Maziec
e9059c214c
TLSSocketWrapper::recvfrom sets SocketAddress output variable
...
UNITTEST added. TLSSocketWrapper unittest does not use stoip4_stub anymore.
2019-08-06 15:07:39 +02: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
Seppo Takalo
13ee14c624
Merge pull request #11156 from artokin/nanostack_patch_for_mbed_os_5_13_x
...
Nanostack patch release for Mbed OS 5.13.x
2019-08-06 11:28:36 +03:00
Veijo Pesonen
9222e15848
Allows having KVStore in internal and update image in external flash
...
Fixes a bug where it has not been possible to have KVStore in internal
flash while an update image image has been kept in external storage.
2019-08-06 09:49:14 +03:00
Ari Parkkila
e1124668db
Cellular: Add DNS servers from PDP contexts to nsapi_dns
2019-08-05 21:53:24 -07:00
Seppo Takalo
937e791ae0
Merge pull request #10980 from vmedcy/tcpip-thread-priority
...
LwIP: make TCPIP_THREAD_PRIO configurable
2019-08-05 16:12:01 +03:00