Ron Eldor
cad40e1633
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-22 13:57:32 +02:00
Ron Eldor
4ea68829c5
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-22 13:56:59 +02:00
Michal Paszta
2cda5d28b8
Documentation of TLSSocket behavior on AUTH_FAILURE
2019-01-22 12:40:42 +01:00
Martin Kojtal
31579fe4bb
Merge pull request #9328 from SeppoTakalo/ip-core-doxygen
...
Doxygen fixes for IP networking area
2019-01-22 10:48:10 +01:00
Martin Kojtal
bab6e2cb0b
Merge pull request #9440 from davidsaada/david_lfs_emubd_ignore
...
Put LittleFS emulated BD module under .mbedignore
2019-01-22 09:33:40 +01:00
Martin Kojtal
4019efb21d
Merge pull request #9399 from paul-szczepanek-arm/fix-null-check
...
BLE: fix missing null checks on Gap event handler
2019-01-21 13:43:16 +01:00
Martin Kojtal
ad5bcfc1de
Merge pull request #9427 from paul-szczepanek-arm/fix-truncation
...
BLE: fix possible truncation
2019-01-21 13:42:07 +01:00
Seppo Takalo
58c2760e3f
Fix spelling mistakes
2019-01-21 11:54:49 +02:00
Seppo Takalo
6b8b108ceb
Add missing copyright header.
2019-01-21 11:47:41 +02:00
Seppo Takalo
6f15b04655
Fix review findings.
2019-01-21 11:45:13 +02:00
Mel Weed
0f0469d03d
editorial changes
2019-01-21 11:45:13 +02:00
Mel Weed
b79b608362
mbed-tls/TLS to Mbed TLS
2019-01-21 11:45:13 +02:00
Mel Weed
40418d8ff9
grammatical corrections
2019-01-21 11:45:13 +02:00
Mel Weed
ea296afec2
editorial changes, punctuation
2019-01-21 11:45:13 +02:00
Kari Haapalehto
fcd497303d
Review changes
2019-01-21 11:45:12 +02:00
Mel Weed
f7e48f1385
typo fixes, future->present
2019-01-21 11:45:12 +02:00
Mel Weed
c454ba9f60
removing 'easy to use'
2019-01-21 11:45:12 +02:00
Kari Haapalehto
cabf597ab0
Hide protected start_handshake
2019-01-21 11:45:12 +02:00
Jarno Lamsa
981bfa139e
SocketAddress doxygen cleanup
2019-01-21 11:45:12 +02:00
Jarno Lamsa
8f5e003a1e
WifiInterface doxygen cleanup
2019-01-21 11:45:12 +02:00
Seppo Takalo
501f5ae32c
Add more documentation to Socket classes.
2019-01-21 11:45:12 +02:00
Seppo Takalo
db67332496
Fix DNS grouping
2019-01-21 11:45:12 +02:00
Seppo Takalo
706af114e3
Remove extra @param values
2019-01-21 11:45:12 +02:00
Kari Haapalehto
5fa13e43d1
Doxygen corrections to DTLSSocket.h, TLSSocket.h, TLSSocketWrapper.h
...
and DTLSSocketWrapper.h
2019-01-21 11:45:12 +02:00
Seppo Takalo
249fa7fd6f
Create new netinterface Doxygen group
2019-01-21 11:43:49 +02:00
Mel W
604a6ea5e0
backticks
2019-01-21 11:43:49 +02:00
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
Yossi Levy
5de92ca4c6
Fixing a bug in FileSystemStore to get the folder path from kv_config in FILESYSTEM and default configuration
2019-01-21 11:19:14 +02:00
David Saada
c826f2eba2
Put LittleFS emulated BD module under .mbedignore
2019-01-20 16:06:08 +02:00
paul-szczepanek-arm
42e4290160
error when there is no handler
2019-01-18 14:55:38 +00:00
Kevin Bracey
ab037c6f69
InternetSocket: better protect _callback
...
sigio callbacks can be triggered from interrupt, so changing _callback
needs critical section protection, not just a mutex.
2019-01-18 15:37:11 +02:00
Kevin Bracey
0f6a4cd0bd
InternetSocket: Use atomics, not volatile
...
Use a better tool for the job.
2019-01-18 15:37:11 +02:00
Seppo Takalo
6c5b845517
Clarify asyncronous Networkinterface::connect() and disconnect() API
...
This is slight API change, as a new return code is introduced.
Intention is to properly support asyncronous drivers that might
not be able to get new operation into execution, therefore they
need to return BUSY.
2019-01-18 15:36:23 +02:00
paul-szczepanek-arm
001919e81a
fix truncation
2019-01-18 12:10:30 +00: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
Vincent Coubard
79bd3ea982
BLE: Fix relationnal operator of SafeEnum
...
The relationnal operators were targeting the base class which defines an implicit constructor to an integral value. This is wrong as it allows SafeEnum instances to be compared against integers.
The fix is simple: define relationnal operators for the derived class. The derived class is known as it is passed as a template parameter of the base class.
For extra safety the SafeEnum constructor is now explicit and protected.
2019-01-16 16:06:21 +00:00
Vincent Coubard
f8ef143ed7
BLE: Fix comparison expression between an integer and a SafeEnum
2019-01-16 16:06:21 +00:00
paul-szczepanek-arm
fa36ed02ee
add missing null checks
2019-01-16 14:56:54 +00: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
Cruz Monrreal
12980f4acd
Merge pull request #9232 from ChazJin/gd32f450
...
Add GD32_F450ZI as new target
2019-01-10 16:07:33 -06:00
Pharap
b6aba2f985
Fix bug in templated attach function
...
The arguments passed to `Callback<void()>`'s constructor were the wrong way round,
thus preventing the `attach` function from being instantiated.
This patch corrects that by switching the order of the arguments.
2019-01-10 21:16:13 +00:00
Guy Wild
9b3adc2795
Update iBeacon.h
...
Technical author review
2019-01-10 17:04:23 +02:00
Guy Wild
6954c396fb
Update BlockDevice.h
2019-01-10 16:38:00 +02:00
Jarno Lamsa
d9e24b25e4
Update and cleanup BLE.h doxygen
2019-01-10 16:12:56 +02:00
Yossi Levy
51168ee840
Merge branch 'yossi_write-a-thon2' of github.com:yossi2le/mbed-os into yossi_write-a-thon2
2019-01-10 15:55:08 +02:00
Mel Weed
10662582d1
minor editorial tweaks
...
partition's->partition
2019-01-10 15:53:59 +02:00
Yossi Levy
73ac904ef9
Doxygen changes to ProfilingBlockDevice and SlicingBlockDevice.
2019-01-10 15:53:49 +02:00
Martin Kojtal
d20b59153a
Merge pull request #9244 from theamirocohen/kvstore_tests_api
...
Kvstore tests api change to run on K64F only
2019-01-10 13:48:31 +00:00
Naveen Kaje
ef8589888b
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-10 07:47:31 -06:00
offirko
b21576c8cf
Review updates
2019-01-10 15:42:28 +02:00
Yossi Levy
7dde6773f9
Some Doxygen fixes in MBRBlockDevice and BlockDevice
2019-01-10 15:10:47 +02:00
David Saada
3c7924ac9c
Minor Doxygen fixes for all file system classes
...
- Remove Doxygen generation on protected functions
- Minor description fixes
2019-01-10 15:09:52 +02:00
offirko
61926092a2
Minor Doxygen fixes for BufferedBlockDevice and iBeacon
2019-01-10 14:35:09 +02:00