Commit Graph

4891 Commits (32686d48a8fd71a4cf369d4ef8e7ee780eb6b77f)

Author SHA1 Message Date
Martin Kojtal a3500a3040
Merge pull request #9654 from anttiylitokola/mbed-coap-to-4.7.4
Update mbed-coap to version 4.7.4
2019-02-15 10:58:06 +01:00
Martin Kojtal dc1574456f
Merge pull request #9601 from hasnainvirk/mem_leak_link_adr
LoRaWAN: Proper size checks for link ADR cmds & correct include path in Unittests framework
2019-02-15 10:22:58 +01:00
Martin Kojtal a7b949028c
Merge pull request #9537 from paul-szczepanek-arm/mtu-events
BLE: Add MTU events
2019-02-15 10:17:24 +01:00
Cruz Monrreal 67abaf5fa7
Merge pull request #9706 from jarvte/fix_powering_onboard_modems
Cellular: fix onboard modems powering failure.
2019-02-14 20:26:51 -06:00
Hasnain Virk 726eff9305 Proper size checking for link ADR commands
In a specific branch path 'adr_settings' in link_adr_request() API, the
structure adr_settings of type link_adr_params_t will be rendered
uninitialized. To prevent this we initialize the construct as zero.
In addition to that, to handle the case properly we should check for the
command identifier and the command payload length anticipating contiguous
blocks of adr commands. If we find a discrepency in size, we should
abort.
2019-02-14 17:15:42 +02:00
Cruz Monrreal c07410d78c
Merge pull request #9628 from kfnta/bare-metal-updates
Bare metal mbed_lib updates
2019-02-14 09:13:34 -06:00
Cruz Monrreal 39441655bf
Merge pull request #9684 from KariHaapalehto/ethernet_tasklet_correction
enet_tasklet_disconnect() should generate event to tasklet.
2019-02-14 09:13:15 -06:00
paul-szczepanek-arm d801ed340e removed redundant qualifier tripping up GCC 2019-02-14 12:34:35 +00:00
paul-szczepanek-arm cdd5c9f3b0 fix nrf52 mtu 2019-02-14 12:34:35 +00:00
paul-szczepanek-arm 193092f6d9 added spdx licence ident 2019-02-14 12:34:35 +00:00
paul-szczepanek-arm f52b20c169 move cpp to sources 2019-02-14 12:34:35 +00:00
paul-szczepanek-arm 1cea53b6a7 use grandfathered convention for class members names and initialise them 2019-02-14 12:34:34 +00:00
paul-szczepanek-arm 3808db90b2 require pal event handler to be complete 2019-02-14 12:34:34 +00:00
paul-szczepanek-arm de60b2a56a remove unused converter 2019-02-14 12:34:34 +00:00
paul-szczepanek-arm 03b747a6f6 Get the pal event handler from pal gattclient 2019-02-14 12:34:34 +00:00
paul-szczepanek-arm b628285254 route mtu changed events to server and client instead of gap 2019-02-14 12:34:33 +00:00
paul-szczepanek-arm a3f635eb88 fix type name 2019-02-14 12:34:33 +00:00
paul-szczepanek-arm c10fc2eb8e add API to trigger MTU negotiation 2019-02-14 12:34:33 +00:00
paul-szczepanek-arm 02d5391cd0 fix possible truncation 2019-02-14 12:34:33 +00:00
paul-szczepanek-arm b6df6d54a1 change event names 2019-02-14 12:34:32 +00:00
paul-szczepanek-arm 356ec39d02 fix style 2019-02-14 12:34:32 +00:00
paul-szczepanek-arm 21ad886e9e handle mtu and data len events for softdevice 2019-02-14 12:34:32 +00:00
paul-szczepanek-arm 06a2a403e9 fix typos 2019-02-14 12:34:31 +00:00
paul-szczepanek-arm 108d6908be route ble events to gap 2019-02-14 12:34:31 +00:00
paul-szczepanek-arm c452d8ff0e add mtu events 2019-02-14 12:34:31 +00:00
Teppo Järvelin e4018bd9bb Cellular: fix onboard modems powering failure
Don't call soft power on if device was already powered.
Some modems need to wait before sending anything to modem after soft powering.
2019-02-14 12:39:37 +02:00
Cruz Monrreal d36ebe707b
Merge pull request #9691 from naveenkaje/fix_btle_clockconfig_warning
btle: fix build warning about unused clockConfiguration
2019-02-13 19:15:06 -06:00
Cruz Monrreal b66678d6d7
Merge pull request #9696 from naveenkaje/thread_extn_warning_fix
features: nanostack: fix warning in thread_extension.h
2019-02-13 18:29:53 -06:00
Cruz Monrreal 9be82d96d8
Merge pull request #9694 from naveenkaje/fix_icmpv6_warning
nanostack: icmpv6: fix build warning
2019-02-13 18:29:33 -06:00
Cruz Monrreal e310458a88
Merge pull request #9692 from naveenkaje/fix_ublox_celluar_warning
target: UBLOX: Fix build warning in UBLOX_AT_CellularNetwork.cpp
2019-02-13 17:12:51 -06:00
Cruz Monrreal e34ecae6c2
Merge pull request #9681 from NeilMacMullen/cross-compilation
Make a few trivial syntactic changes to better support cross-compilation
2019-02-13 17:10:23 -06:00
Cruz Monrreal 583980fa2f
Merge pull request #9576 from yossi2le/yossi_remove_redundant_ifdef
Remove redundant ifdef DEVICE_TRNG from DeviceKey
2019-02-13 17:09:57 -06:00
Oren Cohen bb775c2e69
Storage mbed_lib.json files 2019-02-13 20:36:00 +02:00
Cruz Monrreal b820ec8922
Merge pull request #9561 from theotherjimmy/test-resources
Tools changes for bare metal
2019-02-13 12:31:54 -06:00
Naveen Kaje 1f015aa0b7 features: nanostack: fix warning in thread_extension.h
Fix the following build warning seen with GCC

Compile [ 51.2%]: thread_bootstrap.c
[Warning] thread_extension.h@88,44: statement with no effect [-Wunused-value]
2019-02-13 10:48:33 -06:00
Naveen Kaje 0563276466 btle: fix build warning about unused clockConfiguration
Fix the following build warning seen with both GCC and ARM_CC
[Warning] btle.cpp@115,0:  #177-D: variable "clockConfiguration"  was declared but never referenced
2019-02-13 10:42:48 -06:00
Naveen Kaje 8d0c94e8dc nanostack: icmpv6: fix build warning
Fix the following build warning seen when building with GCC

Compile [ 54.2%]: icmpv6.c
[Warning] icmpv6.c@1091,16: this statement may fall through [-Wimplicit-fallthrough=]
2019-02-13 10:34:51 -06:00
Yossi Levy d8d91c336a Adding MBEDTLS_ENTROPY_NV_SEED macro check in device key to allow key derivation when there is no TRNG but there is DRBG 2019-02-13 14:18:45 +02:00
Kari Haapalehto 31c40130d6 enet_tasklet_disconnect() should generate event to tasklet.
enet_tasklet_disconnect() is now generating event to ethernet_tasklet,
which will then handle it.
2019-02-13 13:57:03 +02:00
Cruz Monrreal e84319fe70
Merge pull request #9326 from hasnainvirk/nfc_doxy
Doxygen correction
2019-02-12 20:27:17 -06:00
Cruz Monrreal 3e6cd4e89d
Merge pull request #9501 from caixue1102/mbed-os-rda
Add WIFI support for RDA target UNO_91H
2019-02-12 20:05:27 -06:00
Naveen Kaje 02e42fef3e target: UBLOX: Fix build warning in UBLOX_AT_CellularNetwork.cpp
Fix this build warning seen when building with ARMCC

Compile [ 13.7%]: UBLOX_AT_CellularNetwork.cpp
[Warning] UBLOX_AT_CellularNetwork.cpp@65,0:  #111-D: statement is unreachable
2019-02-12 15:50:23 -06:00
Cai d92e33dcee Add WIFI support for RDA target UNO_91H 2019-02-12 22:59:53 +08:00
Neil MacMullen f29c5b22a1 Keep style linter happy 2019-02-12 14:37:07 +00:00
Neil MacMullen a7f4cbcdce Make a few trivial syntactic changes to better support cross-compilation 2019-02-12 12:01:05 +00:00
Hasnain Virk 2670eaf82d Doxygen correction
Adding to proper group so that the API doxygen appears into the class
hierarchy group rather than data strutures.
2019-02-12 12:53:53 +02:00
Martin Kojtal e1d891b858
Merge pull request #9587 from naveenkaje/fix_build_warning_QUECTEL
targets: QUECTEL: Fix build warning
2019-02-12 09:52:06 +01:00
Martin Kojtal 1bbb76dfd1
Merge pull request #9514 from mirelachirica/bg96_netsocket_tests
BG96 netsocket tests
2019-02-12 09:06:09 +01:00
Cruz Monrreal a12d9bb2a0
Merge pull request #9650 from offirko/offir_fix_random_block_in_general_bd_test
Multi thread Block Device Tests Fix - Ensure unique block address
2019-02-11 18:46:34 -06:00
Cruz Monrreal 92e1464024
Merge pull request #9584 from michalpasztamobica/tlssocket_would_block
TLSSocket send/recv return WOULD_BLOCK error instead of NO_CONNECTION
2019-02-11 18:45:50 -06:00