Martin Kojtal
dc30e1bf60
Merge pull request #13015 from jeromecoutant/PR_IARTRIVIAL
...
Force callback non-trivial for IAR
2020-06-05 10:45:21 +02:00
Martin Kojtal
8ff3c95b2d
Merge pull request #13030 from kjbracey-arm/thisthreadgetname
...
Fix ThisThread::get_name definition
2020-06-05 10:39:34 +02:00
Martin Kojtal
ecf988731c
Merge pull request #13048 from mikter/ws_certificate_set_change
...
Allowed to set Wi-SUN certificates in DISCONNECTED state
2020-06-05 09:58:19 +02:00
Ari Parkkila
985e72f65d
Cellular: Fix unittest for CellularNetwork
2020-06-05 00:45:49 -07:00
Martin Kojtal
a4a07ea5e4
mergify: add release type 2.2
...
Also handle label removal for this new type
2020-06-04 14:24:22 +01:00
Martin Kojtal
8911f96c1b
Merge pull request #13014 from jeromecoutant/PR_H7CM4
...
DISCO_H747I_CM4 is supporting now hex format
2020-06-04 15:23:26 +02:00
Martin Kojtal
b3e8e8ad8a
Merge pull request #13013 from AriParkkila/cell-creg
...
Cellular: Fix packet data registration after CREG
2020-06-04 15:22:57 +02:00
Martin Kojtal
ed0cadfa9e
Merge pull request #12992 from jeromecoutant/PR_BAREMETAL_SUPPORT_STEP1
...
STM32 baremetal support step1 (F0/F1/F3/H7/L0)
2020-06-04 15:22:06 +02:00
Martin Kojtal
096b3e80ec
Merge pull request #12991 from OpenNuvoton/nuvoton_emac_bus_err
...
Nuvoton: Support EMAC bus reset as while bus err
2020-06-04 15:21:40 +02:00
Martin Kojtal
3a8dc2b50a
Merge pull request #13052 from paul-szczepanek-arm/connection-params-fix
...
BLE: fix conn params update
2020-06-04 15:16:21 +02:00
Martin Kojtal
7ae621ee86
Merge pull request #12988 from jeromecoutant/PR_OS_TIMER
...
OS timer uses LPTICKER by default, then USTICKER
2020-06-04 15:15:43 +02:00
Martin Kojtal
0988e5d0f9
Merge pull request #13064 from 0xc0170/fix_nxp_vector
...
nxp: fix vector redefinition from CMSIS
2020-06-04 15:10:40 +02:00
Martin Kojtal
75a8e074c5
mergify: add release type
2020-06-04 13:44:39 +01:00
Martin Kojtal
0a365b3ae0
Merge pull request #12983 from kjbracey-arm/mutexcount
...
Mutex::unlock - decrement _count inside lock
2020-06-04 14:39:28 +02:00
Martin Kojtal
ab439624ed
Merge pull request #12979 from LDong-Arm/stack_size_expectation_from_config
...
stack_size_unification test: set expected stack sizes from config
2020-06-04 14:39:08 +02:00
Martin Kojtal
e0c7f25c5d
Merge pull request #12985 from dustin-crossman/pr/update_cysbsyskit_01
...
Update CYSBSYSKIT_01
2020-06-04 14:35:31 +02:00
Martin Kojtal
2f5c98d545
Merge pull request #12973 from kivaisan/ALT1250_enable_tac_info_for_reg_status_mbed_master
...
Cellular: Enable tac info for ALT1250
2020-06-04 14:34:24 +02:00
Martin Kojtal
41995a7427
nxp: fix vector redefinition from CMSIS
...
Since 5.7 CMSIS update to Mbed OS, __VECTOR_TABLE is defined in cmsis_gcc header
file. Many MCU in NXP uses this symbol as linker definition, therefore we should
check if already defined and undefined it.
Fixes #13062
2020-06-04 09:10:08 +01:00
Paul Szczeanek
a882d2d35f
mention the rf tester commands in the readme
2020-06-03 18:46:20 +01:00
Paul Szczeanek
9d54c56562
reinitialise identity and signing when bond table reset
2020-06-03 17:36:06 +01:00
Paul Szczeanek
110b190b38
fix privacy initialisation and give access to local identity
...
Initialises identity addres when privacy is enabled. Stores the identity. Retrieves local identity if previously stored.
2020-06-03 17:35:23 +01:00
Paul Szczeanek
73b4bebee0
add connection addresses to whitelist
2020-06-03 17:30:21 +01:00
Paul Szczeanek
bfdbcc7b4a
add accessor for local irk
2020-06-03 17:29:51 +01:00
Paul Szczeanek
fff0247ae5
fix infinite recursive call
2020-06-03 17:29:20 +01:00
Paul Szczeanek
05f7685a79
store local csrk and identity in the security db
2020-06-03 17:27:26 +01:00
Paul Szczeanek
94a6cac838
expose identity address used by controller
2020-06-03 17:24:11 +01:00
Paul Szczeanek
d6a5bd2825
make number of db entries configurable
2020-06-03 17:07:47 +01:00
Paul Szczeanek
dd615f7943
Add direct advertising support.
...
To start direct connectable advertising on the cordio stack, the programmer should call the function DmConnAccept instead of the function DmAdvStart .
This functions expect the target address and address type as parameter, which are passed to the controller when the programmer sets the advertising parameters and not known when advertising_enable is called.
Therefore, this information should be kept in memory when advertising parameters are set and retrieved when advertising is enable to choose the right call to start (or stop) advertising.
Timeout of direct advertising is also handled in an uncommon way, a connection timeout is received. Similarly, DmConnClose should be called to stop connectable direct advertising.
The state is kept in an array of direct_adv_cb_t. Each items contains a peer address, the peer address type, the connection handle and the advertising handle as well as a state which indicate if the advertising is running, pending or not used.
When advertising parameters are set, the state is updated to match the target address or disable direct advertising management for the advertising set being configured.
When advertising is enabled, the pal dispatch the operation to the right calls (DmAdvStart/DmConnAccept or DmAdvStop/DmConnClose).
When an advertising timeout happen or a connection is made, the pal cleans any direct advertising state of this advertising set
2020-06-03 16:25:23 +01:00
Paul Szczeanek
fbe93123a5
Add rf tester commands to cordio hci driver. This adds commands that allow you to send the HCI commands HCI_LE_Receiver_Test, HCI_LE_Transmitter_Test and HCI_LE_Test_End. The results of the test are obtained by the command complete command for HCI_LE_Test_End and passed to the user by the callback register in the test start calls.
2020-06-03 15:21:32 +01:00
Paul Szczeanek
51d1a30b8e
Route unhandled cmd cmpl events to mbed. Cordio ignores command complete events for all commands that it doesn't have a specific handler for. This adds a catch-all handler that allows the user application to handle any command complete that isn't already handled by the stack. This involves adding a new type of event and routing the event through the stack to the device where it's forwarded to the existing event handling in mbed-os.
2020-06-03 15:21:05 +01:00
Paul Szczeanek
0affb73747
Fix bounds check using a define instead of table size. The bounds check was incorrectly picking a define that wasn't even the last in the table. It now uses the size of the table.
2020-06-03 15:19:39 +01:00
Martin Kojtal
165be79392
Merge pull request #13054 from ARMmbed/update_version
...
Update mbed version number
2020-06-02 15:47:21 +02:00
adbridge
782fa9bb18
Update mbed version number
2020-06-02 11:38:04 +01:00
Paul Szczeanek
8285ecdefb
connection update handled elsewhere
2020-06-02 10:01:10 +01:00
Paul Szczeanek
157c54bfc7
fix inverted meaning of _user_manage_connection_parameter_requests
2020-06-02 09:39:07 +01:00
pea-pod
5fb87eb0b0
Simplify MBED_STATIC_ASSERT for C11 and C++14
2020-06-02 00:16:49 -05:00
Anna Bridge
ced3b1cf8e
Merge pull request #13003 from dgreen-arm/add-feature-experimental
...
Mark PSA as an experimental API
2020-06-01 16:38:30 +01:00
Hugues Kamba
5d94fd4d73
ST boards: Fix sleep tracing
...
Prevent singleton lock if the RTOS is not yet ready.
lp_ticker is used during the RTOS initialization process.
ST lp_ticker implementation calls sleep functions
which in turn attempts to print to the console when sleep tracing
is enabled. Console initialization attempts to lock the singleton mutex.
2020-06-01 15:31:09 +01:00
Hugues Kamba
1beb8d3810
Ensure all overridden virtual functions are marked with `override`
...
This also removes warnings.
2020-06-01 10:39:42 +01:00
Hugues Kamba
488f06b7e1
NRF: Migrate ARM Compiler 5 feature re-locate zero initialized variables
...
ARM Compiler 6 does not support placing a zero-initialized variable in a
zero-initialized section with a given name.
The migration path for this feature is what is as done in this commit.
The name of the section is what comes after `.bss.` (`nvictable` in this
case).
Also simplify pre-processor directive to test for Arm compiler.
2020-06-01 10:35:13 +01:00
Hugues Kamba
992133be50
NRF: fix implicit declarations
...
As a result removes warnings
2020-06-01 10:26:51 +01:00
Mika Tervonen
ad6ed89e10
Allowed to set Wi-SUN certificates in DISCONNECTED state
...
Before certificates were able to set only once.
Now after disconnect those can be set Again
Also those can be set when stack is active
2020-06-01 11:47:12 +03:00
Kyle Kearney
7ad94db586
CYESKIT_064B0S2_4343W: Remove parentheses from arduino pins
...
Avoid build failures when arduino pin names collide with C++ template
argument names.
Addresses issue #13027
2020-05-29 17:17:05 -07:00
Hugues Kamba
f6d6d44346
NRF serial: Use nrf_uarte_event_t enum to avoid implicit conversion
2020-05-29 20:20:12 +01:00
Hugues Kamba
4d939ccdbe
Cordio: put parentheses to correct order of precedence in ternary expressions
...
Also remove extraneous parentheses in comparison.
2020-05-29 19:11:25 +01:00
Vincent Coubard
2bbc8a0bae
BLE: remove limitation in the Cordio to update adv payload
...
Nothing in the Bluetooth standard prevents update of advertising payload while advertising is active.
This limitation wasn't present in previous version of the stack and is not present for extended advertising.
2020-05-29 17:52:05 +01:00
Vincent Coubard
23e39a1dbd
Fix capacity check when service data are added to BLE advertising payload.
2020-05-29 15:06:38 +01:00
Darryl Green
e5f8dd8798
Move import to after TARGET_PSA define check
...
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:19:12 +01:00
Darryl Green
a62b3591d9
Fix astyle issues
...
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:19:12 +01:00
Darryl Green
fcf60ec683
Move frameworks/TARGET_PSA to TARGET_EXPERIMENTAL_API
2020-05-29 13:19:12 +01:00