Commit Graph

4588 Commits (07cd9a10c7ea47f99ce22bfae518d0031c248022)

Author SHA1 Message Date
Mel Weed 07cd9a10c7 typo fixes, future->present 2019-02-08 16:45:28 +00:00
Mel Weed 8d84a14cda removing 'easy to use' 2019-02-08 16:45:28 +00:00
Kari Haapalehto 8a4674d44a Hide protected start_handshake 2019-02-08 16:45:28 +00:00
Seppo Takalo 4d6e99c52e Add more documentation to Socket classes. 2019-02-08 16:45:28 +00:00
Seppo Takalo 5a662b4279 Fix DNS grouping 2019-02-08 16:45:28 +00:00
Seppo Takalo 1b40e43e0e Remove extra @param values 2019-02-08 16:45:28 +00:00
Kari Haapalehto 02e2704db0 Doxygen corrections to DTLSSocket.h, TLSSocket.h, TLSSocketWrapper.h and DTLSSocketWrapper.h 2019-02-08 16:45:28 +00:00
Jarno Lamsa c2718e3666 WifiInterface doxygen cleanup 2019-02-08 16:45:28 +00:00
Jarno Lamsa 3f9430311f SocketAddress doxygen cleanup 2019-02-08 16:45:28 +00:00
Seppo Takalo 1ab806bdbb Create new netinterface Doxygen group 2019-02-08 16:45:28 +00:00
Seppo Takalo 81108c6528 Fix NetworkInterface grouping 2019-02-08 16:45:28 +00:00
Kari Haapalehto 222a36c6f4 Doxygen corrections to: - DTLSSocket.h - TLSSocket.h - TLSSocketWrapper.h 2019-02-08 16:45:28 +00:00
Mel W 9e79418231 backticks 2019-02-08 16:45:28 +00:00
Mel W 4831d12715 Formatting tweaks
#justnitpickythings
2019-02-08 16:45:28 +00:00
Seppo Takalo f6b44bd72c Fix netsocket Doxygen group 2019-02-08 16:45:28 +00:00
Ari Parkkila 01f1c4190c Cellular: Update cellular documentation 2019-02-08 16:45:28 +00:00
Cruz Monrreal 481b6fb8f6 Merge pull request #9548 from davidsaada/david_flashiap_retries
FlashIAP driver: Add retries to erase and program operations.
2019-01-30 17:37:35 -06:00
Ron Eldor b261a6d839 Rename the platform context varaiable
Rename the generic name `ctx` of `mbedtls_platform_context`
in `platform_alt.c` to a specific name `plat_ctx`, to avoid conflicts
when used as external in crypto modules.
2019-01-25 14:29:59 +00:00
Ron Eldor a1588b3de7 Rename the platform specific crypto_platform
To avoid collisions between the psa `crypto_platform.h` file and the
platform specific `crypto_platform.h` file, for the init \ terminate
functions, rename the latter to `crypto_device_platform`.
2019-01-25 14:29:59 +00:00
Yossi Levy 0332f8443a Adding a test if device key buffer has changed after calling to entropy func. this should enable as to eliminate some rare cases when the trng fail but still return success. 2019-01-25 14:29:59 +00:00
Yossi Levy 492e3ebd96 Fixing a bug in FileSystemStore to get the folder path from kv_config in FILESYSTEM and default configuration 2019-01-25 14:29:59 +00:00
David Saada 6c5ab0c842 Put LittleFS emulated BD module under .mbedignore 2019-01-25 14:29:59 +00:00
paul-szczepanek-arm fa930586a7 error when there is no handler 2019-01-25 14:29:59 +00:00
paul-szczepanek-arm 5077d6faaf add missing null checks 2019-01-25 14:29:59 +00:00
paul-szczepanek-arm 4aca75aecb fix truncation 2019-01-25 14:29:59 +00:00
offirko 7ae8e94fbf general_block_device test fixed to always erase prior to first program 2019-01-25 14:29:59 +00:00
Christopher Haster 7059d44c57 Extended mount to check all metadata-pairs
The most common issue with using littlefs in mbed-os is when users
change from littlefs->FAT->littlefs (or with MBR or similar). When this
corrupts the superblock, littlefs tries to fall back to the backup
superblock. However, at this point in the time the old superblock may be
very out-of-date and pointing to an incorrect filesystem.

There's no complete solution to a malicious modification of the
filesystem (short of checking all metadata+data, a very expensive
operation), but we can at least expand our validation to all of the
metadata for the filesystem. This at least catches the common issues
with changing between different filesystems.
2019-01-25 14:29:59 +00:00
offirko 57e1b46df4 DirectAccess DeviceKey added support for default storage type 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
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
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
kegilbert da99f9e955 Add doxygen spellcheck jobs to Travis
Currently tests
    - drivers
    - platform
    - rtos
    - events
    - features/netsocket
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 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 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
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
Jarno Lamsa 1cad77bbd7 Update and cleanup BLE.h doxygen 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