Commit Graph

21480 Commits (c92dac82fed58323556d2548783ee7f8f5a2ba2a)

Author SHA1 Message Date
Michal Paszta c92dac82fe TCP/UDP greentea tests refactoring and cleanup 2019-01-25 14:29:59 +00:00
Veijo Pesonen 44696009bd adds an error check for data overflow from modem side 2019-01-25 14:29:59 +00:00
Nic Costa 3b99566226 Remove own_oob and peer_oob flags from Nordic PAL
the own_oob and peer_oob flags were not being set to 1 even though
an OOB pairing request was in progress, which therefore prevented
OOB data from being passed down to the softdevice during a OOB
pairing operation, thus causing the OOB pairing process to fail.
2019-01-25 14:29:59 +00:00
Nic Costa 09bd512da8 Fix parameters provided to oob generator function
The function in the Nordic SDK for generating OOB data,
sd_ble_gap_lesc_oob_data_get, requires local LE Secure Connection
P256 Public Keys in {X,Y} format, but was being supplied with
the local secret key.  This caused the generated OOB data to
fail to correspond to the Public Keys, which caused a mismatch
during the OOB pairing phase of the OOB confirmation value by
a remote peer when attempting to verify the OOB data against
the Public Keys, ultimately causing the OOB pairing request to
fail with a Confirm Value Failed (0x04) error.
2019-01-25 14:29:59 +00:00
Nic Costa c5edbe05b0 Fix race condition when generating OOB data
The GenericSecurityManager tracks the most recent OOB data generated
by the PAL and the PAL function to generate OOB data is expected to
be asynchronous such that the OOB data is returned via a callback.

There was a race condition on the security manager's oob data variable
because it was cleared (set to all zeros) after calling PAL generate.
The expectation was that the clear operation would occur before the
callback executed, but this is proving to not be the case.  Instead,
the callback is being executed as if it were syncronous with PAL
generate, then PAL generate returns and the oob data is cleared,
thereby losing the generated oob data that was set in the callback.

To fix the issue, clear the oob data variables before calling into
the PAL.
2019-01-25 14:29:59 +00:00
Naveen Kaje 985e1d311d thread_mle_message_handler: fix build warning
Fix the following build warning found when building with

ARMC6 toolchain for NRF52_DK with mbed cli version 1.8.3

[Warning] thread_mle_message_handler.c@762,0:  #188-D: enumerated type mixed with another type
[Warning] thread_mle_message_handler.c@834,0:  #188-D: enumerated type mixed with another type
2019-01-25 14:29:59 +00:00
Guy Wild 9198f937b2 Update iBeacon.h
Technical author review
2019-01-25 14:29:59 +00:00
offirko b1106ff859 Review updates 2019-01-25 14:29:59 +00:00
offirko 64eff0a17b Minor Doxygen fixes for BufferedBlockDevice and iBeacon 2019-01-25 14:29:59 +00:00
jeromecoutant 4b7f273ee5 FLASHIAP test: skip test if test region overlaps code 2019-01-25 14:29:59 +00:00
Veijo Pesonen 1eed2668ba fixes a debug print 2019-01-25 14:29:59 +00:00
Veijo Pesonen 64bb010541 Drop signalling SIGIO artificially if UDP send fails
With TCP it's desirable that SIGIO wakes up the application to check
if there is buffer space space available on the mode. With UDP the
behavior is not acceptable as we don't know if the other endpoint is
there as connection establishment is missing. Hence buffers might
stay full forever.
2019-01-25 14:29:59 +00:00
Brian Daniels 97bf0d5cd3 uARM targets now build in correct ARM_MICRO directory
This is for OS2 testing. Previously, targets that were configured with
the option "default_toolchain": "uARM" would still build to a
TOOLCHAIN_ARM_STD directory. This fixes these targets to build into
TOOLCHAIN_ARM_MICRO.
2019-01-25 14:29:59 +00:00
Deepika 2f371bd6bc Update the header files
File was moved from hal -> platform folder, hence includes should be
changed accordingly.
2019-01-25 14:29:59 +00:00
deepikabhavnani 891986a389 Sleep manager implements all the API's in platform/mbed_sleep_manager.changes
Not sure why mbed_sleep_manager.c was in hal, moving it to platform
2019-01-25 14:29:59 +00:00
Fahim Alavi 19a88e0ddc Set target C030-R412M in mbed 2019-01-25 14:29:59 +00:00
Terence Zhang 7cd0ccad5d Initial version for Quectel M26 GSM/GPRS Module. 2019-01-25 14:29:59 +00:00
Michal Paszta 273323d2ed Gemalto Crinterion UDP test adjustments
Adjusting the tests to match the cellular modems ELS61-E2 and BGS2-W requirements.
2019-01-25 14:29:59 +00:00
Alexander Zilberkant 608c79a207 Remove TARGET prefix from the TARGET_BYPASS_NVSTORE_CHECK and leave it as BYPASS_NVSTORE_CHECK 2019-01-25 14:29:59 +00:00
Yossi Levy f0d828ce13 Moving DirectAccessDevicekey.h and DirectAccessDevicekey.cpp to direct_access_devicekey sub folder For TFM support 2019-01-25 14:29:59 +00:00
Yossi Levy 8eb1c01d51 Moving KVStore to include sub folder For TFM support 2019-01-25 14:29:59 +00:00
Yossi Levy f306233d1e Removing the dependency of TDBStore in SystemStorage.h and NVStore co-existence checkup if compile for target TFM 2019-01-25 14:29:59 +00:00
Leszek Rusinowicz 582c84a4af Moved nextTimeout variable out of critical section in BLE::callDispatcher. Initialization of Timeout object contains critical section inside constructor. Initialization inside critical section caused assertion failing under "debug" profile. 2019-01-25 14:29:59 +00:00
maclobdell 6e3006d508 add qspif as default storage for LPCXpresso546XX 2019-01-25 14:29:59 +00:00
kegilbert da99f9e955 Add doxygen spellcheck jobs to Travis
Currently tests
    - drivers
    - platform
    - rtos
    - events
    - features/netsocket
2019-01-25 14:29:59 +00:00
Veijo Pesonen e495866eea fixes disconnect to check the state from modem
Additionally to internal bookkeeping lets check from the modem
that what is connection state in disconnect. There might be
inconsistencies.
2019-01-25 14:29:59 +00:00
jeromecoutant 0277fc389a NUCLEO_H743ZI : enable TICKLESS 2019-01-25 14:29:59 +00:00
David Saada 9fb04a957b Remove unnecessary error prints in FileSystemStore 2019-01-25 14:29:59 +00:00
Mahesh Mahadevan 6e67930f1c Supply test config for KW41Z
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-01-25 14:29:59 +00:00
Mahesh Mahadevan c0c002dc89 Update TEST_APPS to add KW41Z for nanostack tests
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-01-25 14:29:59 +00:00
Mahesh Mahadevan 6be2ef21c4 Add nanostack support for KW41Z
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-01-25 14:29:59 +00:00
Cruz Monrreal a8f0c33eaa
Merge pull request #9370 from ARMmbed/release-candidate
Release candidate for mbed-os-5.11.2
2019-01-16 13:33:05 -06:00
Cruz Monrreal II 1f96a7c083 Added pyocd depencency to resolve Travis CI issue 2019-01-16 15:02:28 +00:00
Cruz Monrreal a2220f39a9 Merge pull request #9384 from davidsaada/david_mbr_erase_start
MBRBlockDevice: When partitioning, clear the rest of first erase unit
2019-01-15 22:49:56 -06:00
Martin Kojtal 5e0a2d991f travis: set hypothesis to 3.88 version
Update to v4.x breaks tools, will need to be addressed separately.
2019-01-15 08:31:36 +00:00
Yossi Levy 70c0745d2d removing output parameter from avoid_conflict_nvstore_tdbstore function. 2019-01-14 13:40:41 +00:00
Yossi Levy e5888feab4 Create runtime error if TDBStore and NVStore are created in internal flash 2019-01-14 13:40:10 +00:00
adbridge b1837c6d79 Update Mbed version block 2019-01-14 13:06:27 +00:00
Mel W 6309edaa57 some minor streamlining and editorial changes 2019-01-14 13:06:14 +00:00
Juha Ylinen 06cf7c9546 SDBlockDevice docs update 2019-01-14 13:06:14 +00:00
Jarno Lamsa 1cad77bbd7 Update and cleanup BLE.h doxygen 2019-01-14 13:06:14 +00:00
Seppo Takalo 0e001598c3 Flush ESP8266 serial input buffers after HW reset 2019-01-14 13:06:14 +00:00
Michael Schwarcz 8a1964eedc Update cmsis_importer.json SHAs
- Missing: CMSIS/RTX: Patch to conditionally compile (fb354752eb)
- New: CMSIS/CORTEX-M: Don't build mbed_tz_context.c in TF-M targets (d3f7abdb7c)
2019-01-14 13:06:14 +00:00
Michael Schwarcz 92637add99 CMSIS/CORTEX-M: Don't build mbed_tz_context.c in TF-M targets
- TF-M v8m secure-side implements their own TZ context APIs so need to avoid building the Mbed implementation.
2019-01-14 13:06:14 +00:00
Deepika a48a99e8c5 Added IAR assembly file update commit to cmsis importer
In future when performing CMSIS update b228cd9db0
commit can be merged to 287121ffdc -
CMSIS/RTX: Pre-processor defines used for assembly
2019-01-14 13:06:14 +00:00
Deepika 85a846153a CMSIS/RTX: Update Armv8M IAR 8.x assembly files - add END
Add missing END to the IAR assembly files. In future this commit should be
merged to other assembly file commit, when performing CMSIS update.
287121ffdc
2019-01-14 13:06:14 +00:00
Simon Butcher 82953a5a42 Parameterise repo used in Mbed TLS importer script
This commit makes the repo used to import new Mbed TLS versions into Mbed OS
a parameter, to allow CI scripts (and any other script or users) to specify
specific repos to use for testing.
2019-01-14 13:06:14 +00:00
Cruz Monrreal 125ab24fc7 Fixed single space that astyle caught 2019-01-14 13:06:14 +00:00
Mel W 885212e834 Writer review
Grammatical changes, passive -> active in some places, and future -> present.
2019-01-14 13:06:14 +00:00
Hasnain Virk aeeccd9e24 Doxygen update for LoRaRadio class
Added more documentation to the data structures and corrected the
inclusion of this class to the correct class hierarchy.
2019-01-14 13:06:14 +00:00