Commit Graph

4677 Commits (524c99b12866f12a517f7a3880bf3a73d84179c8)

Author SHA1 Message Date
Mel W 524c99b128 Formatting tweaks
#justnitpickythings
2019-01-21 11:43:49 +02:00
Ari Parkkila 397b396291 Cellular: Update cellular documentation 2019-01-21 11:43:49 +02:00
Seppo Takalo 0619b90997 Fix NetworkInterface grouping 2019-01-21 11:43:49 +02:00
Kari Haapalehto 0fbdb692e9 Doxygen corrections to:
- DTLSSocket.h
- TLSSocket.h
- TLSSocketWrapper.h
2019-01-21 11:43:49 +02:00
Seppo Takalo bfd497fe26 Fix netsocket Doxygen group 2019-01-21 11:43:49 +02:00
Martin Kojtal cee814dc29
Merge pull request #9377 from offirko/offir_general_block_device_test
test: general_block_device fix to always erase prior the first program
2019-01-18 11:48:41 +01:00
Martin Kojtal f48c1a9b13
Merge pull request #9344 from Pharap/fix-attach-function
Fix bug in templated attach function
2019-01-18 11:44:26 +01:00
Martin Kojtal 6c6ebc6b80
Merge pull request #9406 from geky/littlefs-validate-all-dirs
Extended mount to check all metadata-pairs
2019-01-18 11:34:38 +01:00
Martin Kojtal 40f40ac188
Merge pull request #9407 from offirko/offir_direct_access_handle_default_config
DirectAccess DeviceKey: add support for default storage type
2019-01-18 11:31:51 +01:00
Cruz Monrreal fd2a96e7ad
Merge pull request #9339 from costanic/fix_oob
Fix Out-Of-Band (OOB) data generation for BLE OOB pairing
2019-01-17 21:51:54 -06:00
Cruz Monrreal 74f572356d
Merge pull request #9335 from naveenkaje/fix_thred_mle_warning
thread_mle_message_handler: fix build warning
2019-01-17 21:51:37 -06:00
Cruz Monrreal 3b43a2d976
Merge pull request #9333 from offirko/offir_doxygen
Minor Doxygen fixes for BufferedBlockDevice and iBeacon
2019-01-17 21:51:14 -06:00
Christopher Haster 9d6e309432 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-17 11:02:29 -06:00
offirko e996b7f9ce DirectAccess DeviceKey added support for default storage type 2019-01-17 10:58:55 -06:00
Martin Kojtal 284781a565
Merge pull request #9096 from pan-/fix-enforce-size-limits
BLE: Enforce advertising data payload limits
2019-01-17 12:41:57 +01:00
Martin Kojtal 714fc83054
Merge pull request #9369 from u-blox/target_C030-R412M
Add target C030-R412M
2019-01-17 12:39:43 +01:00
Cruz Monrreal 84f01d3217
Merge pull request #9261 from tz-arm/merge_quectel_m26
Initial version for Quectel M26 GSM/GPRS Module.
2019-01-16 22:07:07 -06:00
Cruz Monrreal 92a5f2f8f2
Merge pull request #9337 from tymoteuszblochmobica/removecellular
unittest: remove cellular driver L3IP stub
2019-01-16 22:06:27 -06:00
Cruz Monrreal 4f95298669
Merge pull request #9361 from yossi2le/yossi_fix_for_tfm
Removing dependency of TDBStore in SystemStorage file and moving some file location - TFM support.
2019-01-16 22:06:07 -06:00
Cruz Monrreal d0665c8458
Merge pull request #9365 from lrusinowicz/cordio_ble_fix
Fix for asserion failing in BLE::callDispatcher with gcc debug profile.
2019-01-16 22:03:16 -06:00
Martin Kojtal 51a8c39088
Merge pull request #9245 from kjbracey-arm/lorawan_atomic_flag
LoRAWAN: volatile bool -> atomic_flag
2019-01-16 09:31:29 +01:00
Martin Kojtal 32c9c3ac46
Merge pull request #8970 from kegilbert/spell-checker-travisjob
Add doxygen spellcheck job to Travis
2019-01-16 09:30:46 +01:00
David Saada af23e3f489 MBRBlockDevice: When partitioning, clear the rest of first erase unit
Make sure all the parts of the first erase unit, that are not part of the
partition table are clear.
2019-01-15 16:43:03 +02:00
Martin Kojtal 82abf979dd
Merge pull request #9363 from davidsaada/david_fsst_tr_error_remove
Remove unnecessary error prints in FileSystemStore
2019-01-15 10:34:38 +01:00
Alexander Zilberkant 971e29b669 Remove TARGET prefix from the TARGET_BYPASS_NVSTORE_CHECK and leave it as BYPASS_NVSTORE_CHECK 2019-01-15 10:54:22 +02:00
Yossi Levy 849db51b3a Moving DirectAccessDevicekey.h and DirectAccessDevicekey.cpp to direct_access_devicekey sub folder For TFM support 2019-01-15 10:54:21 +02:00
Yossi Levy a05180ac04 Moving KVStore to include sub folder For TFM support 2019-01-15 10:54:21 +02:00
Yossi Levy eb7cbc1432 Removing the dependency of TDBStore in SystemStorage.h and NVStore co-existence checkup if compile for target TFM 2019-01-15 10:54:21 +02:00
offirko 5a9db72098 general_block_device test fixed to always erase prior to first program 2019-01-15 10:10:39 +02:00
Martin Kojtal 5212cc6544
Merge pull request #6622 from NXPmicro/Add_KW41Z_Thread
Add nanostack support for KW41Z
2019-01-14 14:00:14 +01:00
Fahim Alavi 5caeaed6db Set target C030-R412M in mbed 2019-01-14 17:34:50 +05:00
Tymoteusz Bloch 18967a88f3 Removed cellular driver L3IP stub 2019-01-14 12:08:41 +01:00
Leszek Rusinowicz f294447c25 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-14 11:13:28 +01:00
Kevin Bracey 6f757a5824 LoRAWAN: volatile bool -> atomic_flag
Now we have a proper atomic flag API, use it rather than a volatile
cheat.
2019-01-14 11:59:25 +02:00
Martin Kojtal 9d4db2b0ea
Merge pull request #9332 from jarlamsa/ble_doxygen_cleanup
Update and cleanup BLE.h doxygen
2019-01-14 09:43:16 +00:00
Martin Kojtal 601e2c3dba
Merge pull request #9355 from sbutcher-arm/mbedtls-importer-repo-param
Parameterise the repo used in the Mbed TLS importer script
2019-01-14 08:52:34 +00:00
Martin Kojtal 7a5192f969
Merge pull request #9330 from hasnainvirk/doxy_loraradio
Doxygen update for LoRaRadio class
2019-01-14 08:44:37 +00:00
Alexander Zilberkant 454ae256d4 Set "TDB_INTERNAL" default storage for Pelion
NUCLEO_F411RE
NUCLEO_F429ZI
UBLOX_EVK_ODIN_W2
2019-01-13 18:30:22 +02:00
David Saada d6382bb114 Fix the general block device to support better low memory boards
In addition, fix prints and warnings.
2019-01-13 18:17:39 +02:00
David Saada 90e4286f2d Remove unnecessary error prints in FileSystemStore 2019-01-13 17:17:55 +02:00
kegilbert 70b9b753db Add doxygen spellcheck jobs to Travis
Currently tests
    - drivers
    - platform
    - rtos
    - events
    - features/netsocket
2019-01-11 10:22:15 -06:00
Nic Costa 7795e30bce 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-11 08:54:30 -06:00
Nic Costa 24d793ce5d 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-11 08:54:30 -06:00
Nic Costa 55507eaf75 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-11 08:54:30 -06:00
Martin Kojtal 307bdd7363
Merge pull request #9305 from davidsaada/david_littlefs_fatfs_doxy_fix
Minor Doxygen fixes for all file system classes
2019-01-11 14:07:51 +00:00
Martin Kojtal adeb5be670
Merge pull request #9334 from yossi2le/yossi_write-a-thon2
Doxygen fixes in block devices
2019-01-11 14:06:50 +00:00
Simon Butcher 7bf33f01f9 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-11 13:51:19 +00:00
Cruz Monrreal fd04d25e52 Fixed single space that astyle caught 2019-01-11 11:31:42 +02:00
Mel W 701bb055a2 Writer review
Grammatical changes, passive -> active in some places, and future -> present.
2019-01-11 11:31:22 +02:00
Hasnain Virk 8ed521e7ed 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-11 11:29:57 +02:00