Vincent Coubard
38bb6b4e52
BLE: Add error code management in Gatt read and write data structures.
...
Also fix wrong usage of designed initializer in CPP files.
2017-09-26 15:20:15 +01:00
Vincent Coubard
85e88ccb2c
BLE NRF: Fix wrong usage of designed initializer in cpp code.
2017-09-26 15:20:15 +01:00
Andrzej Puzdrowski
39c1b3f5f3
Redirect "implemenetation of SecurityManager::getAddressesFromBondTable for SD 5.x.x" to NRF5 BLE port sources.
2017-05-16 13:48:13 +02:00
Andrzej Puzdrowski
1f1168a51e
NRF5: changes for code review of merg nrf52840 to NRF5 sources
...
s140 headers renamed form ble_* to nrf_ble_*,
Removed s130 and s132 headers named form ble_*
(Them had been added by #2ff572682798562e812015dc775b5896e0fda5a4)
Headers inclusinons were changed in order to meet above changes.
Revrted bad change in us_ticker.c:
use __disable_irq lock instead of core_util_critical_section_enter lock
for setting rtc1 tick for systick emulation as was good before.
2017-05-09 15:43:30 +02:00
Andrzej Puzdrowski
53c6f853c0
Apply resloution for the "Read long UUID of service problem" according to
...
NRFFOETT-1674.
2017-04-27 12:15:58 +02:00
Andrzej Puzdrowski
b2080ab6d9
Make NRF5 BLE implementation compatible with SoftDevice API 2.x.x,3.x.x,5.0.0-1.alpha by
...
Copy of changes from
features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF5_SDK13/source
to
features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF5/source
2017-04-27 09:46:38 +02:00
Vincent Coubard
c59e057717
Fix documentation of function allocateLongWriteRequest.
2016-11-15 13:25:10 +00:00
Vincent Coubard
969c63040e
Various fixes regarding typos, dead code and consistency.
2016-11-15 13:22:12 +00:00
Vincent Coubard
453045ab74
[BLE - NRF5] Add support for long write requests.
2016-11-10 16:58:07 +00:00
Andrzej Puzdrowski
8302ce0625
Fix - Remove unwanted changes to the legacy nrf51822 target (caused by rebase). ad applied them to
...
to regular targets.
Fix a typo and polish nordic's code.
2016-10-10 16:50:03 +02:00
Andrzej Puzdrowski
00b0fafd9e
nRF5x Add registering bluetooth's IRQn vector by NVIC_SetVector.
2016-10-10 09:45:31 +02:00
Vincent Coubard
6cdfb19304
BLE: TARGET_NRF - Avoid redefinition of ASSERT macro.
...
Instead, the BLE code use the macro ASSERT_TRUE
2016-09-26 13:29:03 +01:00
Vincent Coubard
cce4094f37
BLE: TARGET_NRF5: use non deprecated version of Ticker::attach_us.
2016-09-26 13:28:51 +01:00
Sam Grove
d8efe713e7
Merge pull request #2778 from pan-/avoid_inclusion_of_ble_code_if_not_used
...
BLE - Nordic implementation: Move singleton into a function.
2016-09-25 21:57:23 -05:00
Vincent Coubard
b4ac8f214a
BLE - Nordic implementation: Move singleton into a function.
...
This change remove BLE code from the binary generated if the user code doesn't
use BLE.
2016-09-22 11:58:29 +01:00
Andrzej Puzdrowski
13a1fd5584
[BLE NRF5] Fix bug: "purgeAllBondingState could had returned before deletion task was done"
...
by reimplement the btle_purgeAllBondingState as blocking function.
2016-09-20 12:01:22 +02:00
Andrzej Puzdrowski
e67117b8ea
introduce the SDK nRF5 Peer manager into BLE security features
...
PM will be used for SoftDevices s13x, otherwise DM will be used.
Fix - security key distribution settings - Signing is not supported.
declare usage of encryption LTK and IRK if boonding enabled
deleted unused local reference to nRF5xGap class in bleGattcEventHandler.
fix PM internal bug (For gcc with -0s optimization an application fail to save a boonding data)
fuse redeclaration of PACKED macro in nRF5 SDK sources
2016-09-13 14:16:55 +02:00
Vincent Coubard
b2c809ea56
Remove unneeded NRF51 hex files, can be confusing for exporter.
2016-08-02 21:30:39 +01:00
Vincent Coubard
17254e80d6
Fix clock selection used by the softdevice on NRF5 based targets.
2016-07-28 22:47:59 +01:00
Vincent Coubard
e0a5ca1d67
Bring new ble implementation from mbed-os/workshop-nordic.
...
Commit ID: e3c7c2dd3ea4f00e27667e79155413033cd80060
2016-07-21 15:03:23 +01:00