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
Jimmy Brisson
e201fdb6e9
Add placeholder libraries for things we probably refer to as libraries
2019-01-16 14:58:58 -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
Oscar Hellström
13222da2b6
Call network status callback from UBLOX AT
...
The helper method call_network_cb, actually does a lot more than calling
the callback. The method has a check that the network status supplied
for the callback is different compared to the internal one. It also sets
the class member if it is changed. This is a bit surprising, given the
name of the method. It also means that it doesn't work in this call, as
the member is already set.
2019-01-15 09:37:41 +01:00
Oscar Hellström
58b176ca04
Add connection status override for CellularContext
...
Add override for the virtual method get_connection_status() inherited
from NetworkInterface. The method in the base class returns
NSAPI_STATUS_ERROR_UNSUPPORTED. The CellularContext has the member
_connection_status, which means that we could return this.
2019-01-15 09:37:24 +01:00
offirko
5a9db72098
general_block_device test fixed to always erase prior to first program
2019-01-15 10:10:39 +02:00
Vincent Coubard
a10a10a3d7
BLE - Nordic: Release crypto cell when not in use.
...
Previously, the CryptoToolbox was allocated once as part of the security manager.
This was inneficient memory wise as it is only use to prepare key at initialization
and when we need to compute shared keys.
This was also inneficient power consumption wise as the Crypto cell was kept enabled even
when it wasn't used.
This fix creates a CryptoToolbox whenever it is needed and release it once it has fulfilled its
purpose. Note that CryptoToolbox allocation happens on the heap as mbed tls data structure are huge
and there's an high risk of crushing the stack.
2019-01-14 16:56:07 +00: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
Hasnain Virk
5fb383c27a
Doxygen corrections
...
Adding group identidier so that LoRaWANInterface class goes to the class
hierarchy section rather than data-structures.
Adding missing documentation for a couple of public functions.
Adding \code and \endcode modifiers for the example code in the
documentation.
Adding compile time NO_DOXYGEN flag for the implementations of the
LoRaPHY Class.
Adding documentation for some of the private structures.
2019-01-10 16:14:19 +02:00
Hasnain Virk
2b95fd3e3a
Removing virtual modifier from LoRaWANInterface
...
Doing away with virtual modifier from LoRaWANInterface, gets rid of
vtable for LoRaWANInterface.
2019-01-10 16:14:19 +02:00
Hasnain Virk
ef1baa3c8b
Deprecation notice for LoRaWANBase
...
A deprecation notice has been added for any users of LoRaWANBase and any
existing reference is redirected to LoRaWANInterface.
2019-01-10 16:14:18 +02:00
Hasnain Virk
b9b414a690
Retiring LoRaWANBase class
...
It was decided within the team to retire LoRaWANBase class which served
as a pure virtual interface class from which LoRaWAN network stack
implementations would get inherited. However, the current view is that
we may be the only user of it so we could retire LoRaWANBase.
2019-01-10 16:14:18 +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
Yossi Levy
2adf5db881
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-10 10:18:44 +02:00
Cruz Monrreal
cb4d4288c4
Merge pull request #9269 from heejungPark/master
...
SDT64B: Add TARGET_SDT64B, a bootloader file on SDT64B
2019-01-10 00:17:10 -06:00
Cruz Monrreal
d6c014c20d
Merge pull request #9215 from offirko/offir_bootloader_get-device-key
...
Direct access to device key
2019-01-10 00:14:14 -06:00
David Saada
5d1985019f
Remove kvstore's mbed_lib.json file (not relevant any more)
...
In addition, use the NOT_SUPPORTED directive to skip the tests.
2019-01-09 16:25:13 +02:00
Mahesh Mahadevan
585a4b6ddd
Add nanostack support for KW41Z
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-01-09 07:43:41 -06:00
Martin Kojtal
65729d6800
Merge pull request #9278 from boomer41/master
...
DeviceKey: [Security Fix] Generated ROT-key is still used when TRNG fails
2019-01-09 13:09:01 +00:00
Amir Cohen
9a5841ad00
Kvstore tests api change to run on K64F only
...
Change KVStore API tests to run only on K64F, these tests check the KVStore functionality without actually testing the board's storage,
Thus they should produce the same results for each device they run on.
K64F was selected for no special technical reason but only because of it being available and convenient to use.
2019-01-09 14:52:11 +02:00
Yossi Levy
423c4fbc18
The direct_access_devicekey test should not run if there is no component flashiap block device in the target
2019-01-09 13:48:25 +02:00
offirko
6592e85c13
Added utility function to help locate expected internal flash tdbstore position.
...
(Supporting FILESYSTEM and TDB_EXTERNAL configuration only)
2019-01-09 13:48:25 +02:00
offirko
bb0d1afa9a
Updated test to consider tdb_internal non default configuration as well
2019-01-09 13:48:25 +02:00
offirko
945579378e
Adding low code size tool for direct access to Devicekey.
...
This enables application with code size restrictions to access
devicekey directly based on address in internal flash without kvconfig overhead
2019-01-09 13:48:24 +02:00
c_jin
be65ebd038
add SPDX indentifier, modify 450zi.icf file and static definition in us_ticker.c
2019-01-09 19:03:33 +08:00
c_jin
5a1108e742
Add GD32_F450ZI as new target
2019-01-09 19:03:33 +08:00
Martin Kojtal
cc9562e0a5
Merge pull request #9136 from yossi2le/yossi_tdbstore_nvstore_co_exist
...
TDBStore and NVStore should create an error if co exist.
2019-01-08 12:02:37 +00:00
Martin Kojtal
5a5ad8d26d
Merge pull request #9200 from davidsaada/david_tdbstore_gc_if_corrupt
...
TDBStore: Perform garbage collection on failed writes
2019-01-08 11:55:31 +00:00
Martin Kojtal
42fee4502d
Merge pull request #9241 from davidsaada/david_tdbstore_variant_erase_unit_fix
...
TDBStore: fix bug in sector blank check for variant sized sectors
2019-01-08 09:52:15 +00:00
Martin Kojtal
e6efad1aee
Merge pull request #9271 from KariHaapalehto/fix_error_case_trace
...
Correcting the error-case trace from mesh-api interfaces
2019-01-08 09:51:02 +00:00
Martin Kojtal
b833bbde78
Merge pull request #9237 from yossi2le/yossi_remove_num_entreies
...
Refactoring and fixing some issues in KVStore configuration.
2019-01-08 09:48:26 +00:00
Stephan Brunner
9d8835741b
Fix security bug in DeviceKey
2019-01-07 18:04:33 +01:00
Martin Kojtal
17b0d4e295
Merge pull request #9152 from jarvte/check_attach_status_stm
...
Cellular: fix state machine to check network attach
2019-01-07 16:37:12 +00:00
Yossi Levy
71afcf6c40
Adding return MBED_ERROR_UNSUPPORTED in _storage_config_default if no component is defined.
2019-01-07 16:50:06 +02:00
Martin Kojtal
0eabafa551
Merge pull request #9135 from yossi2le/yossi_get_type_for_bd
...
Get type for BlockDevice
2019-01-07 12:26:29 +00:00
Martin Kojtal
4ec7dd722d
Merge pull request #9251 from hasnainvirk/randomizing_join_retrial
...
LoRaWAN: Randomizing backoff for Join process
2019-01-07 10:24:30 +00:00
Kari Haapalehto
7068e456dd
Correcting the error-case trace from mesh-api interfaces
2019-01-07 10:48:46 +02:00
heejungPark
4f3c50b87e
Added TARGET_SDT64B, a bootloader file on SDT64B
2019-01-07 10:52:34 +09:00
David Saada
72f6f6c92f
TDBStore: Perform garbage collection on failed writes
...
Partial writes may turn storage unusable. GC clears this scenario.
2019-01-06 15:03:40 +02:00
Cruz Monrreal
54f759176b
Merge pull request #9210 from AnttiKauppila/mbed_h_fix
...
mbed.h includes removed
2019-01-04 10:27:30 -06:00
Donatien Garnier
9dae672ac0
Fixes for features/FEATURE_BLE/ble/services/EddystoneConfigService.h
2019-01-04 09:54:14 +00:00
Donatien Garnier
bc2bd89f83
Fixes for features/FEATURE_BLE/ble/services/EddystoneService.h
2019-01-04 09:50:24 +00:00
Martin Kojtal
5a2469da87
Merge pull request #9183 from SeppoTakalo/lwip_tcp_timeout
...
Allow LwIP TCP retransmissions to be configured and tune those smaller.
2019-01-04 08:44:24 +00:00
Martin Kojtal
0f7381d436
Merge pull request #9058 from pan-/fix-scan-timeout
...
BLE: suppress scan timeout if we disabled scanning
2019-01-04 08:41:36 +00:00
Hasnain Virk
c07ae669ff
Randomizing backoff for Join process
...
Randomizing backoff by 200ms to 1000ms for Join Requests in a dense
network will add robustness and better chances of reception by the base
station especially in cases of catastrophic network outage and
reconnection.
2019-01-04 02:10:50 +02:00
Cruz Monrreal
e66e616e51
Merge pull request #9220 from desmond-blue/fix-ble_on_phy_update
...
BLE: NRF52 returns used tx/rx phy on phy update callback
2019-01-03 15:32:18 -06:00
Antti Kauppila
bc76c2a2f5
36510 test build fixed
2019-01-03 19:53:17 +02:00
Cruz Monrreal
f9e840efbd
Merge pull request #9218 from RonEld/use_platform_zeroize
...
Change to mbedtls_platform_zeroize()
2019-01-03 10:35:45 -06:00
David Saada
66117097c4
TDBStore: fix bug in sector blank check for variant sized sectors
2019-01-03 17:14:43 +02:00
Yossi Levy
719395f347
fixing FAT mount failure in kvstore FILESYSTEM
2019-01-03 14:47:24 +02:00
paul-szczepanek-arm
3be792a3b3
simplify for statement
2019-01-03 12:24:33 +00:00
Yossi Levy
388da7f841
Remove ROM overlaps checkup for kvstore FLASHIAP blockdevice if non default values are use
...
remove of rbp_number_of_entries from the kvstore configuration. Adding default option for storage_type
allowing the system to choose TDB_INTERNAl, TDB_EXTERNAL or FILESYSTEM base on the blockdevice component
set in the target board. Adding remarks to kv_config.cpp and break simplify the _get_blockdevice_FLASHIAP function
2019-01-03 14:01:42 +02:00
Terence Zhang
bf08cf786b
Initial version for Quectel M26 GSM/GPRS Module.
2019-01-03 16:38:13 +08:00
Desmond Chen
f281e06e46
BLE: NRF52 returns tx/rx phy on phy update callback
2019-01-03 10:11:14 +08:00
Seppo Takalo
f3bbd2b4dd
Allow LwIP TCP retransmissions to be configured and tune those smaller.
...
Currently, LwIP segment retransmission time is 12, which is very long
time as each timeout doubles the retransmission timeout.
Make that to 6 as that is same what we use in Nanostack.
2019-01-02 19:05:16 +02:00
Seppo Takalo
50eb243762
Don't consume 36 kB just for Ethernet buffers.
...
Kintis EMAC is consuming 16 rinbuffers for input, and 8 buffers for output.
This is over-use because input packets are immediately allocated from
heap when passed to LwIP. Therefore the number can be creatly reduced.
2019-01-02 19:05:16 +02:00
paul-szczepanek-arm
dd1d473375
future proof return size
2019-01-02 15:42:14 +00:00
paul-szczepanek-arm
a66ffa34be
add constructor suggested by Vincent
2019-01-02 15:34:50 +00:00
paul-szczepanek-arm
8b39071cd8
make function name longer
2019-01-02 14:29:30 +00:00
Ron Eldor
e0571c0bf2
Change to mbedtls_platform_zeroize()
...
Change the use of the local static function `mbedtls_zeroize()` to
the Mbed TLS platform function `mbedtls_platform_zeroize()`.
2019-01-01 13:56:58 +02:00
Antti Kauppila
02b0f79e15
mbed.h includes removed
2018-12-28 14:36:10 +02:00
Yossi Levy
d934b1bd00
Remove ROM overlaps checkup for kvstore FLASHIAP blockdevice if non default values are use
2018-12-26 12:08:34 +02:00
Yossi Levy
677dbd1612
removing output parameter from avoid_conflict_nvstore_tdbstore function.
2018-12-23 14:27:56 +02:00
Yossi Levy
fcd24aa62b
Create runtime error if TDBStore and NVStore are created in internal flash
2018-12-23 14:27:56 +02:00
Yossi Levy
b17d13e75e
Documnent changes and adding const to get_type method
2018-12-23 14:27:14 +02:00
Yossi Levy
9590441288
astyle fix
2018-12-23 11:03:45 +02:00
Yossi Levy
b8b7292d8e
astyle fix
2018-12-23 11:03:45 +02:00
Yossi Levy
1d71fb1c9f
Add get_type method to block devices.
2018-12-23 11:03:45 +02:00
Cruz Monrreal
ac361d6a4b
Merge pull request #8739 from tymoteuszblochmobica/master
...
L3IP Interface Implementation
2018-12-20 15:41:37 -06:00
Cruz Monrreal
c1226ffbd8
Merge pull request #8916 from jeromecoutant/PR_F439
...
STM32F429/STM32F439 alignment
2018-12-20 12:08:42 -06:00
Martin Kojtal
671c061c61
Merge pull request #8749 from TeemuKultala/cellular_at_handler_api
...
Cellular: AT handler API
2018-12-20 16:31:06 +00:00
Martin Kojtal
cc2e15c84e
Merge pull request #9158 from davidsaada/david_lto_dup_types
...
Fix LTO build failures due to duplicate local types
2018-12-20 16:30:16 +00:00
Tymoteusz Bloch
fc88922845
L3IP Interface Implementation
...
LWIP L3IP interface initial implementatioon
2018-12-20 15:23:43 +01:00
Martin Kojtal
ab1c2be997
Merge pull request #8957 from InfernoEmbedded/fix-8913
...
Fix incorrect #ifdefs on DEVICE_FOO macros
2018-12-20 10:52:06 +00:00
Martin Kojtal
911720e50b
Merge pull request #9143 from desmond-blue/fix_ble_longwrite
...
Fix BLE long write execution failure
2018-12-20 10:50:47 +00:00
Martin Kojtal
85c2fc7fb1
Merge pull request #9148 from davidsaada/david_fix_app_end_addr
...
Fix FLASHIAP_ROM_END macro for GCC_ARM & IAR toolchains
2018-12-20 10:48:26 +00:00
Alastair D'Silva
2617c5d55b
Don't use define checks on DEVICE_FOO macros (mbed code)
...
The DEVICE_FOO macros are always defined (either 0 or 1).
This patch replaces any instances of a define check on a DEVICE_FOO
macro with value test instead.
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2018-12-20 10:16:42 +11:00
Cruz Monrreal II
ac499ba617
Merge pull request #9122 from RonEld/update_cc310_iar_libs
...
Update the CC310 IAR libraries
2018-12-19 13:14:20 -06:00
Cruz Monrreal
9edbcd77df
Merge pull request #9081 from OpenNuvoton/nuvoton_refine_crypto_ac
...
Nuvoton: Fix crypto AC management
2018-12-19 13:09:47 -06:00
Desmond Chen
30ca813f07
Fix BLE long write execution failure
2018-12-19 08:08:16 -08:00
David Saada
ec0ebc2cec
Fix LTO build failures due to duplicate local types
2018-12-19 15:52:43 +02:00
Teppo Järvelin
6bc7ec0073
Cellular: fix state machine to check network attach
...
Added check to state machine that if modem is attached to a network
it is considered to be registered to a network and state machine
can continue to next states. This fixed issues seen in IoT network
that network does not allow registering if already attached.
2018-12-19 13:36:39 +02:00
David Saada
f3bac3451c
Fix FLASHIAP_ROM_END macro for GCC_ARM & IAR toolchains
...
- Consider data section in GCC_ARM toolchain
- Consider init_array section in IAR toolchain
- Rename macro to FLASHIAP_APP_ROM_END_ADDR for clarity sake
2018-12-19 12:05:08 +02:00
ccli8
ca44675086
[Nuvoton] Fix crypto AC management
...
1. For SHA AC, use atomic flag to manage its ownership.
(1) Nuvoton SHA AC doesn't support SHA context save & restore, so S/W
SHA fallback has been supported before. To make non-blocking 'acquire'
semantics clearer, introduce 'try_acquire' to substitute for 'acquire'.
(2) No biting CPU due to mechanism above.
(3) No deadlock due to mechanism above.
2. For AES/DES/ECC AC, change to mutex to manage their ownership.
(1) Change crypto-misc.c to crypto-misc.cpp to utilize C++ SingletonPtr
which guarantees thread-safe mutex construct-on-first-use.
(2) With change to crypto-misc.cpp, add 'extern "C"' modifier to CRYPTO_IRQHandler()
to avoid name mangling in C++.
(3) No priority inversion because mutex has osMutexPrioInherit attribute
bit set.
(4) No deadlock because these AC are all locked for a short sequence
of operations rather than the whole lifetime of mbedtls context.
(5) For double mbedtls_internal_ecp_init() issue, it has been fixed in upper
mbedtls layer. So no need to change ecc init/free flow.
2018-12-19 10:17:39 +08:00
Cruz Monrreal
8bd9772d5d
Merge pull request #8975 from KariHaapalehto/fix_valid_mac_address
...
Initialize the interface at the construction
2018-12-18 13:22:30 -06:00
Cruz Monrreal
d969d46bbf
Merge pull request #9084 from AdamZhang0124/realtek-rtl8195am-Network_Socket_Update
...
Realtek-rtl8195am-Network_Socket_Updates
2018-12-18 10:31:25 -06:00
Ron Eldor
244647088e
Update the CC310 readme file
...
Update the Cryptocell 310 readme file with the binary library version
information.
2018-12-18 18:08:15 +02:00
Ron Eldor
03a2e07539
Update the CC310 GCC_ARM libraries
...
Update the cryptocell 310 GCC_ARM libraries with known version.
The libraries were built from the Cryptocell 310 release
version 1.1.0.1285, using arm-none-eabi-gcc 6.3.1 20170620 (release) (release).
2018-12-18 18:08:06 +02:00
Ron Eldor
297c0e43a4
Update the CC310 ARM libraries
...
Update the cryptocell 310 ARM libraries with known version.
The libraries were built from the Cryptocell 310 release version
1.1.0.1285, using `ARM Compiler 5.06 update 4 (build 422)`.
2018-12-18 18:04:51 +02:00
Ron Eldor
3a651a1144
Update the CC310 IAR libraries
...
Update the cryptocell 310 IAR libraries, since the previous ones were not
built correct. The libraries were built from the Cryptocell 310
release version 1.1.0.1285, using IAR version 7.80.1.11864.
2018-12-18 18:04:48 +02:00
Lu
1422379c24
Realtek-rtl8195am-Network Socket Updates
...
This PR addresses the issue of #8124 .
It updates and enriches the wifi connection error type to adapt the Network Socket test plan requirement.
In the meantime, it increases the heap size that allows the transmission of larger packet size.
Description
1. Increase heap size in lwipstack\mbed_lib.json to fulfill bursty TCP and UDP transmission requirement.
2. Modify and enrich wifi connection error types in TARGET_AMEBA\RTWInterface.cpp to adapt the decision logic of the wifi test cases.
3. Add new static constants in TARGET_AMEBA\RTWInterface.h, including 'SSID_MAX_LENGTH', 'PASSPHRASE_MAX_LENGTH' and 'PASSPHRASE_MIN_LENGTH' to help verifying the validity of ssid and passphrase.
Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-12-18 17:18:32 +08:00
Martin Kojtal
06748af2f8
Merge pull request #9079 from kegilbert/TCPSocket-accept-statelog
...
Add socket stat logging state change update
2018-12-18 08:06:05 +00:00
Cruz Monrreal
80c6f5f8ee
Merge pull request #8972 from kjbracey-arm/merge_file_truncate
...
Merge feature-posix branch (FileHandle::truncate)
2018-12-17 14:49:56 -06:00
Cruz Monrreal
2697913773
Merge pull request #8990 from davidsaada/david_fat_tests_low_mem
...
Adjust FAT FS tests to low memory boards
2018-12-17 14:44:38 -06:00
Cruz Monrreal
c7c24de8ba
Merge pull request #9100 from InfernoEmbedded/fix-8695
...
Align prototype & implementation of enet_tasklet_disconnect & friends
2018-12-17 14:44:03 -06:00
Christopher Haster
8db2c0d00b
Added filesystem implementations of truncate
...
- File::truncate
- FileSystem::file_truncate
- FATFileSystem::file_truncate
- LittleFileSystem::file_truncate
2018-12-14 19:29:29 +02:00
Alastair D'Silva
d527585394
Align prototype & implementation of enet_tasklet_disconnect & friends
...
Rework of #8698
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2018-12-14 22:19:39 +11:00
Teemu Kultala
b87b52a45c
cellular: AT Handler API changes after review
2018-12-14 13:19:03 +02:00
Teemu Kultala
dbdbae3632
cellular: AT Handler API
2018-12-14 13:19:03 +02:00
ccli8
b16b1dbeb9
[M487] Fix return error code when ECC H/W acceleratioin is failed
2018-12-14 17:28:30 +08:00
Teppo Järvelin
fc4ed93e08
Cellular: Fix to use PPP stack in PPP mode
...
In QUECTEL_BG96 and QUECTEL_BC95 there was missing #ifdefs for
PPP mode and our stack was used. Also BG96 needed to be added
AT_CellularBase::AT_CGDATA as not supported.
2018-12-14 09:40:33 +02:00
Conrad Braam
3b138fba02
Fix long writes/reads stack overflowing ( #8802 )
...
* writes and reads queue, not overflow stack IOTPAN-295
2018-12-13 18:18:01 -06:00
Cruz Monrreal
8bd1d06e9a
Merge pull request #8866 from AriParkkila/cell-cinterion-module
...
Cellular: Refactored GEMALTO_CINTERION_Module to GEMALTO_CINTERION
2018-12-13 18:16:13 -06:00
Cruz Monrreal
945a52df1c
Merge pull request #9052 from mirelachirica/at_handler_fix_consume_to_stop_tag
...
Cellular: Rewrite AT handler consume to tag
2018-12-13 18:15:42 -06:00
Cruz Monrreal
839e00509b
Merge pull request #9054 from theamirocohen/nvstore_max_keys
...
Fix max_keys reset limitation
2018-12-13 18:15:16 -06:00
kegilbert
ee3945dfa3
Add socket stat logging state change update
...
TCPServer was deprecated and the accept call was added to TCPSocket. Add state change update to that call
2018-12-13 14:50:56 -06:00
paul-szczepanek-arm
67db321500
check illegal adv params combimnation
2018-12-13 17:52:18 +00:00
paul-szczepanek-arm
ff0a2a907e
check connectible sizes
2018-12-13 17:52:00 +00:00
paul-szczepanek-arm
c5bad804e2
add asserts for illegal compinations of adv params
2018-12-13 17:51:45 +00:00
paul-szczepanek-arm
7dd90e1810
Docuement active set length and add informative call for querying the limit
2018-12-13 17:51:10 +00:00
paul-szczepanek-arm
e1cf516100
fix max payload and hci length values
2018-12-13 17:50:53 +00:00
paul-szczepanek-arm
50d1818d72
call advertising end even if stopped by us
2018-12-13 17:33:36 +00:00
David Saada
713b4704f2
Adjust FAT FS tests to low memory boards
...
This is achieved by checking whether the board can allocate a certain memory
chunk (threshold) and skipping the test if it can't.
This should prevent these boards from failing in CI.
2018-12-13 15:26:31 +02:00
Amir Cohen
4fe7834928
Remove dead code
2018-12-13 13:34:08 +02:00
Amir Cohen
901a493299
Improve tests by reducing kvstore reset occurrences
2018-12-13 11:47:25 +02:00
Cruz Monrreal
d53553e10d
Merge pull request #9034 from KariHaapalehto/enet_tasklet_definitions
...
Change enet_tasklet declarations to match code
2018-12-12 17:03:43 -06:00
Martin Kojtal
fa3212abee
Merge pull request #9037 from naveenkaje/fix_ble_build_warning
...
BLE: Update toolchain.h with mbed_toolchain.h
2018-12-12 14:46:17 +01:00
Martin Kojtal
985afb8027
Merge pull request #8728 from RonEld/cryptocell_sha_alt_fixes
...
Fix issues in Cryptocell 310 shax_alt discovered by On Target Testing
2018-12-12 14:43:06 +01:00
Martin Kojtal
c387fec36b
Merge pull request #8725 from ChazJin/master
...
Add support for GD32F307VG
2018-12-12 14:42:20 +01:00
Amir Cohen
eff52273f4
Fix max_keys reset limitation
...
Persist the max_keys value through a soft-reset, also prohibit max_keys set under predefined default value (16)
2018-12-12 15:05:09 +02:00
Mel W
8de7a36061
Capitalization and punctuation
2018-12-12 11:38:10 +02:00
Cruz Monrreal
59ac1bb3fa
Merge pull request #9025 from tz-arm/mbed-os-5.11.0-oob_fix_fault_exception_issue
...
Mbed os 5.11.0 oob: fix fault exception issue
2018-12-11 11:46:19 -06:00
Mirela Chirica
806e95cf67
Cellular: Rewrite AT handler consume to tag
...
If sequence from buffer contains tag but symbol before tag is same as
first symbol of the tag, then the tag wasn't detected.
For example, "\r\n" tag was not found from "\r\r\nOK" sequence.
2018-12-11 15:36:33 +02:00
Terence Zhang
cc63a31eb3
Formatted via astyle.
2018-12-11 16:50:14 +08:00
Martin Kojtal
c1806765dd
Merge pull request #8987 from davidsaada/david_securestore_fixes
...
Fix a few SecureStore issues (following preliminary security review)
2018-12-11 09:42:19 +01:00
Cruz Monrreal
3875ac18d0
Merge pull request #8822 from hasnainvirk/dr0_and_fcnt_issue
...
LoRaWAN: Mitigating reception issues at lower data rates & FCnt increment after retry exhaustion
2018-12-10 19:35:25 -06:00
David Saada
cb7f68e992
Fix a few SecureStore issues (following preliminary security review)
...
- Remove require integrity flag (authentication) - always authenticate
- Use RBP KV to store CMAC also in write once case
- Allow removing a key if reading it failed on RBP authentication error
- Disable SecureStore if user disables MBED TLS AES CTR or CMAC
2018-12-10 23:34:57 +02:00
Naveen Kaje
448c4d5d89
BLE: Update toolchain.h with mbed_toolchain.h
...
Fixes the following warning
[Warning] toolchain.h@24,0: #1215-D: #warning directive:
toolchain.h has been replaced by mbed_toolchain.h,
please update to mbed_toolchain.h [since mbed-os-5.3]
2018-12-10 13:57:52 -06:00
Cruz Monrreal
23022dd0f9
Merge pull request #8998 from pan-/ble-extended-advertising-fixes
...
Ble extended advertising fixes
2018-12-10 10:36:05 -06:00
paul-szczepanek-arm
13a10f3efa
suppress scan timeout if we disabled scanning
2018-12-10 16:31:34 +00:00
Cruz Monrreal
eec536b332
Merge pull request #8986 from davidsaada/david_tdbstore_fixes
...
Fix a few bugs in TDBStore and KV config
2018-12-10 10:16:37 -06:00
paul-szczepanek-arm
a545da7790
remove noreturn error function to avoid compilation issues
2018-12-10 13:54:09 +00:00
Kari Haapalehto
7e7af773ea
Modify enet_tasklet.h
...
Change enet_tasklet_network_init() and enet_tasklet_disconnect()
declarations to match code. Also add document enet_tasklet.h functions
2018-12-10 15:49:47 +02:00
paul-szczepanek-arm
c998287170
fixed ARM compilation problem caused by noreturn
2018-12-10 13:47:14 +00:00
paul-szczepanek-arm
97df8f5ed9
working ARM lib
2018-12-10 13:46:26 +00:00
paul-szczepanek-arm
642b2dfb57
working libs for GCC and IAR
2018-12-10 09:12:03 +00:00
Hasnain Virk
e1e48b492b
Final cleanup and ASCII art for algorithm v2
...
Final code cleanup and adding ascii art for the version 2 of the
algorithm.
2018-12-10 08:53:30 +02:00
Hasnain Virk
5170daa00a
RX window calculation algorithm version 2
...
In this version we try to mitigate a situation when we start listening
right in the middle of a preamble sequence (e.g., in high SF case).
2018-12-10 08:53:30 +02:00
Hasnain Virk
3ec643f06a
Style alignment
...
Minor style alignment.
2018-12-10 08:53:30 +02:00
Hasnain Virk
88490fb145
Mitigating reception problems with lower data rates
...
A new algorithm has been taken in use to calculate the receive window
length and the timing offset involved in opening of the said receive
window. This algorithm performs better than the stock algorthm and
consumes less power.
2018-12-10 08:53:30 +02:00
Hasnain Virk
f4077af5b1
UL FCnt increment in case of retry exhaustion
...
Previously we had been incrementing UL frame counter for a CONFIRMED
message only when the transmission was deemed successful i.e., we would
have received an ack before all the retries would have exhausted.
Now we have opted to increment the frame counter if all the retries are
exhausted considering the fact that we essentially treat the next
message after retry exhaustion as a new packet so we should also
increment the frame counter.
2018-12-10 08:53:30 +02:00
Terence Zhang
d3d1e0d30b
Fix for the fault exception issue:
...
https://github.com/ARMmbed/mbed-os-example-cellular/issues/112
2018-12-10 11:07:13 +08:00
Terence Zhang
a713358d3c
Fix the fault exception issue in socket_recvfrom with the null pointer parameter as SocketAddress *addr.
2018-12-10 11:07:12 +08:00
Donatien Garnier
6f94339aed
Replace ARMCC libs
2018-12-08 08:43:20 +00:00
Donatien Garnier
db6b09a70f
ARMCC only likes armar
2018-12-07 23:45:26 +00:00
Donatien Garnier
3f00595e62
Remove use of GPIOs (LEDs and diag pins) from Cordio LL for Nordic
2018-12-07 22:46:27 +00:00
Donatien Garnier
674ff288d6
Remove duplicate symbols in libcordio_stack.a
2018-12-07 22:04:19 +00:00
Cruz Monrreal
4a8e2de2c2
Merge pull request #9005 from yanesca/fix-mbedtls-ecc-hardware-double-init
...
Mbed TLS: Fix ECC hardware double initialization
2018-12-07 14:47:04 -06:00
paul-szczepanek-arm
a48369691e
iar libs for cordio
2018-12-07 17:56:36 +00:00
paul-szczepanek-arm
bdabada477
added arm version of libs
2018-12-07 17:41:50 +00:00
Cruz Monrreal
fce4dc6dc3
Merge pull request #8852 from jarvte/cellular_doxygen_update
...
Cellular: update doxygen and add attach CellularDevice.
2018-12-07 11:23:22 -06:00
paul-szczepanek-arm
c13dcf3387
baseband clock rate increased to 1 000 000
2018-12-07 17:12:58 +00:00
Vincent Coubard
e7f81fe7e8
BLE: Fix the number of advertising sets supported
...
The number of advertising sets supported is the minimum of advertising sets supported beween the host and the controller.
2018-12-07 13:26:35 +00:00
Vincent Coubard
4e5240b743
BLE: Set the number of the advertising sets supported by the host to 3.
2018-12-07 13:24:52 +00:00
Vincent Coubard
57b79d9659
BLE: Set the number of supported phy by the host to 3.
2018-12-07 13:24:28 +00:00
Vincent Coubard
20e0cd1b0e
BLE: Inject random static address during reset sequence.
2018-12-07 12:35:20 +00:00
Vincent Coubard
a36b04fde5
BLE: Add an option to inject the random static address during the reset sequence.
2018-12-07 12:33:31 +00:00
Janos Follath
71387e33f1
Mbed TLS: Fix ECC hardware double initialization
...
We initialized the ECC hardware before calling
mbedtls_ecp_mul_shortcuts(). This in turn calls
mbedtls_ecp_mul_restartable(), which initializes and frees the hardware
too. This issue has been introduced by recent changes and caused some
accelerators to hang.
We move the initialization after the mbedtle_ecp_mul_shortcuts() calls
to avoid double initialization.
2018-12-07 11:18:40 +00:00
Vincent Coubard
0d398bc8c8
BLE: Revert changes introduced by debugging.
2018-12-07 09:33:26 +00:00
Cruz Monrreal
73db5da89d
Merge pull request #8981 from donatieng/cordio_nordic_memory_optimizations
...
Cordio Nordic memory optimizations
2018-12-06 21:24:34 -06:00
Vincent Coubard
1c71713e1b
BLE: Fix recursion in ble::advertising_data_status_t raw constructor.
2018-12-07 00:05:02 +00:00
Vincent Coubard
698447b622
BLE: Fix address type allowed to create a periodic sync.
2018-12-07 00:04:29 +00:00
Vincent Coubard
df95a1f8bd
BLE: Allow null value for periodic interval in advertising report event.
2018-12-07 00:03:50 +00:00
Amanda Butler
446c428645
Edit CellularContext.h
...
Edit file for complete sentences and correct commas.
2018-12-06 16:42:59 -06:00
Amanda Butler
411320ad8b
Edit CellularDevice.h
...
Edit file for complete sentences, consistent tense and correct commas.
2018-12-06 16:38:28 -06:00
Amanda Butler
aa4b5a5dc7
Edit PortingGuide.md
...
Edit file for active voice.
2018-12-06 13:24:10 -06:00
Amanda Butler
61c2599587
Edit CordioHCIDriver.h
...
Edit file for active voice.
2018-12-06 13:22:20 -06:00
Cruz Monrreal
78d6018ecc
Merge pull request #8745 from kfnta/feature-new-target-future-sequana-psa
...
Add new target future sequana PSA
2018-12-06 13:13:36 -06:00
paul-szczepanek-arm
df443c20ca
copy periodic payload
2018-12-06 17:54:13 +00:00
paul-szczepanek-arm
22a117a6e4
always set filter policy
2018-12-06 15:43:45 +00:00
paul-szczepanek-arm
5735456487
fix swapped errors
2018-12-06 15:05:35 +00:00
paul-szczepanek-arm
58c7c3868e
check return value of DmSyncStart
2018-12-06 15:04:23 +00:00
paul-szczepanek-arm
d372f16bc4
fix return value
2018-12-06 15:04:00 +00:00
Vincent Coubard
c83dccf65c
BLE: Set advertising random address when appropriate.
2018-12-06 11:25:50 +00:00
Vincent Coubard
0543442cc3
BLE: Fix conversion of advertising type
...
Previously, we were passing the event_properties as defined by the Bluetooth spec which is not what DmAdvConfig expect as the advertising type passed to DmAdvConfig is Cordio tailored (and incomplete).
2018-12-06 11:23:45 +00:00
Vincent Coubard
d9d4a214b8
BLE: Revert change in stack setup initialisation.
...
While good this change breaks some old application that were adding GATT services before the initialisation of BLE.
This patch revert temporarily this change for now
2018-12-06 11:21:43 +00:00
Vincent Coubard
e3d8b28483
Update features/FEATURE_BLE/targets/TARGET_CORDIO/driver/CordioHCIDriver.h
...
Fix doxygen as suggested by @pan-
Co-Authored-By: donatieng <donatien.garnier@arm.com>
2018-12-06 10:19:57 +00:00
Donatien Garnier
4485531173
Update Porting Guide with memory pool changes
2018-12-05 19:24:44 +00:00
Donatien Garnier
7e6efc2571
Cordio: Update CY8C63XX Driver to use default memory pool
2018-12-05 19:24:44 +00:00
Donatien Garnier
f9b236184a
Cordio: Update CYW4343X Driver to use default memory pool
2018-12-05 19:24:44 +00:00
Donatien Garnier
218bf3f80c
Cordio: Update ODIN-W2 Driver to use default memory pool
2018-12-05 19:24:44 +00:00
Donatien Garnier
2978cd8404
Cordio: Make allocating too much memory for pool a warning, not a fatal assert
2018-12-05 19:24:44 +00:00
Donatien Garnier
101c5697e5
Cordio Nordic LL: Readjust memory pool requirements for NRF52840
2018-12-05 19:24:44 +00:00
Donatien Garnier
c99f2497c3
Cordio Nordic LL: Optimize memory for smaller targets
2018-12-05 19:24:44 +00:00
Donatien Garnier
7a33feca23
Cordio: Split get_buffer_pool_description() in pure virtual + default implementation to avoid allocating two memory pools in a static fashion
2018-12-05 19:24:44 +00:00
Donatien Garnier
b83c4fde66
Cordio: Assert if memory pool is not exactly the right size
2018-12-05 19:24:44 +00:00
Oren Cohen
43468504cd
disable nvstore for sequana_psa
2018-12-05 20:00:07 +02:00
David Saada
e1bd5c9fac
Fix a few bugs in TDBStore and KV config
2018-12-05 17:02:02 +02:00
Kari Haapalehto
f7de4a4a0f
Initialize the interface at the construction and make sure
...
that it's done only once.
2018-12-05 14:44:27 +02:00
Martin Kojtal
415747d692
Merge pull request #8933 from yossi2le/yossi_kvstore_integration
...
Fixing Doxygen descriptions
2018-12-05 13:21:00 +01:00
Cruz Monrreal
49a5052d53
Merge pull request #8965 from KariHaapalehto/coverity_fix
...
Coverity fixes.
2018-12-04 17:01:25 -06:00
Amanda Butler
6201b8d32d
Edit TDBStore.h
...
Edit file for punctuation and consistent tense.
2018-12-04 16:27:35 -06:00
Amanda Butler
5c68c5226a
Edit SecureStore.h
...
Edit file for consistent tense.
2018-12-04 16:25:07 -06:00
Amanda Butler
66dc5a2eba
Add word to KVMap.h
...
Add missing article for clarity and capitalization.
2018-12-04 16:24:00 -06:00
Amanda Butler
77a931b579
Edit FileSystemStore.h
...
Make minor edits, mostly for consistent tense across documents.
2018-12-04 16:22:47 -06:00
Cruz Monrreal
53c03f9835
Merge pull request #8934 from yossi2le/yossi_kvstore_k64F_FileSystem
...
Setting K64F to use KVStore FileSystem configuration
2018-12-04 12:25:06 -06:00
Cruz Monrreal
3325070701
Merge pull request #8936 from RonEld/reduce_default_mpi_max_size
...
Reduce default MBEDTLS_MPI_MAX_SIZE
2018-12-04 12:22:15 -06:00
Cruz Monrreal
b3b050170e
Merge pull request #8879 from pan-/ble-extended-advertising-doc-fixes
...
Ble extended advertising doc fixes
2018-12-04 11:51:44 -06:00
Oren Cohen
f1d3eb9340
Add FUTURE_SEQUANA_PSA target
...
* Modify linker scripts to be compatible with bootloader and PSA
* Add memory protection
* Modify original post-build step to allow link with PSA binaries
* Config kvstore for ITS on FUTURE_SEQUANA_PSA
* Enable PSA-Crypto on PSoC6 with NVSeed
2018-12-04 18:38:50 +02:00
Martin Kojtal
e02a8ab2f1
Merge pull request #8925 from Patater/crypto-storage-config-fixes
...
Fix PSA storage typo
2018-12-04 14:34:15 +01:00
Martin Kojtal
403405c44c
Merge pull request #8953 from ARMmbed/yennster-patch-1
...
Update FEATURE_BLE README
2018-12-04 14:32:14 +01:00
Kari Haapalehto
6d8320fd8c
Coverity fixes.
...
These issues has been found by coverity.
2018-12-04 15:32:02 +02:00
Mel W
f92cc7b30b
Capitalization and punctuation
2018-12-04 12:34:48 +02:00
Martin Kojtal
c1c94c83c5
Merge pull request #8904 from pan-/ble-extended-advertising-fixes
...
Ble extended advertising fixes
2018-12-04 09:50:36 +01:00
Martin Kojtal
992bcbafdb
Merge pull request #8926 from Patater/mbedtls-2.15.1
...
mbedtls: Update Mbed TLS to 2.15.1
2018-12-04 09:32:30 +01:00
Cruz Monrreal
3d6dd46948
Merge pull request #8946 from juhoeskeli/STM32L4_aes_set_key_fix
...
STM32L4: before calling HAL_CRYP_DeInit initialize the Instance member
2018-12-03 21:13:29 -06:00
Cruz Monrreal
36bdf0f59d
Merge pull request #8951 from jeromecoutant/PR_NVSTORE
...
Remove NVSTORE enabled from NUCLEO_F410RB
2018-12-03 21:10:51 -06:00
Jenny Plunkett
fa191259b7
Update FEATURE_BLE README
...
Remove all outdated information including supported services and old documentation links
2018-12-03 13:09:01 -06:00
Vincent Coubard
472c57205b
BLE: Fix doxygen parameter declaration order.
2018-12-03 18:03:30 +00:00
Vincent Coubard
d1b0642ad2
BLE: rename AdvertisingReportEvent::getAdvertisingData into getPayload.
...
This change makes it consistent with PeriodicAdvertisingReportEvent.
2018-12-03 17:56:54 +00:00
Vincent Coubard
ed426c5b45
BLE: rename ConnectionParameters::getFilterPolicy into getFilter for consistency.
2018-12-03 17:11:28 +00:00
Vincent Coubard
5abf2f08fa
BLE: Reintroduce refactored type identifier in privacy configuration structures.
2018-12-03 17:04:38 +00:00