-
Notifications
You must be signed in to change notification settings - Fork 3k
[feature-nrf528xx] Upgrade NRF52 BLE API to version 5 #6220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
marcuschangarm
commented
Feb 26, 2018
- Add NRF_SD_BLE_API_VERSION=5 macro to MCU_NRF52832 target
- Added initial Softdevice v5 API support for nRF5XPalGattClient.cpp
- Added initial Softdevice v5 API support for nRF5xGap.h
- Added initial Softdevice v5 API support for nRF5xGattServer.cpp
- Make sure the ah() hash function used by the security manager is declared with C linkage
- Removed 'ARM porting pending' checks in Nordic SDK
- Added BLE configuration to mbed_lib.json for NRF52x targets
- Migrated APIs and events model for Nordic SDK14.2 & SD API v5 in btle.cpp; adopted polling dispatch model
- Migrated APIs and events model for Nordic SDK14.2 & SD API v5 in nRF5xn.cpp
- Migrated APIs and events model for Nordic SDK14.2 & SD API v5 in nRF5xGap.cpp
- Added const qualifier to hwCallbacks's p_ble_evt parameter in nRF5xGattServer
- Add workaround to enable Radio Notification module from Nordic SDK
- Disabled SWI1 interrupt manually from SWI driver module
- Added missing include directive for "nrf_nvic.h" in ble_radio_notification.c
- Disabled SWI1 interrupt manually from SWI driver module
- Set correct number of custom UUIDs
- Adjust Softdevice RAM requirements for NRF52832/S132
- RAM settings for the application were adjusted as follow:
- Start: 0x20003800
- Size: 0xC800
- RAM settings for the application were adjusted as follow:
- Adjust Softdevice RAM requirements for NRF52840/S140
- RAM settings for the application were adjusted as follow:
- Start: 0x20003700 (was 0x20003000)
- Size: 0xC900
- RAM settings for the application were adjusted as follow:
- Added 3dBm as a permitted TX Power value for NRF52832
- Fix address type recovery in GAP
- Return min non-connectable adv interval compatible with infrastrcture's expectations
- Moved BLE driver from TARGET_SDK_14_2/FEATURE_BLE to TARGET_SDK_14_2/TARGET_SOFTDEVICE_COMMON/ble
* Add NRF_SD_BLE_API_VERSION=5 macro to MCU_NRF52832 target * Added initial Softdevice v5 API support for nRF5XPalGattClient.cpp * Added initial Softdevice v5 API support for nRF5xGap.h * Added initial Softdevice v5 API support for nRF5xGattServer.cpp * Make sure the ah() hash function used by the security manager is declared with C linkage * Removed 'ARM porting pending' checks in Nordic SDK * Added BLE configuration to mbed_lib.json for NRF52x targets * Migrated APIs and events model for Nordic SDK14.2 & SD API v5 in btle.cpp; adopted polling dispatch model * Migrated APIs and events model for Nordic SDK14.2 & SD API v5 in nRF5xn.cpp * Migrated APIs and events model for Nordic SDK14.2 & SD API v5 in nRF5xGap.cpp * Added const qualifier to hwCallbacks's p_ble_evt parameter in nRF5xGattServer * Add workaround to enable Radio Notification module from Nordic SDK * Disabled SWI1 interrupt manually from SWI driver module * Added missing include directive for "nrf_nvic.h" in ble_radio_notification.c * Set correct number of custom UUIDs * Adjust Softdevice RAM requirements for NRF52832/S132 * RAM settings for the application were adjusted as follow: * Start: 0x20003800 * Size: 0xC800 * Adjust Softdevice RAM requirements for NRF52840/S140 * RAM settings for the application were adjusted as follow: * Start: 0x20003700 (was 0x20003000) * Size: 0xC900 * Added 3dBm as a permitted TX Power value for NRF52832 * Fix address type recovery in GAP * Return min non-connectable adv interval compatible with infrastrcture's expectations * Moved BLE driver from TARGET_SDK_14_2/FEATURE_BLE to TARGET_SDK_14_2/TARGET_SOFTDEVICE_COMMON/ble
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to go from my point of view. BLE tests pass on both targeted platforms (NRF52-DK and NRF52840-PDK)
/morph build |
Build : SUCCESSBuild number : 1325 Triggering tests/morph test |
Test : FAILUREBuild number : 1109 |
Exporter Build : SUCCESSBuild number : 985 |
/morph test |
Test : FAILUREBuild number : 1112 |
Fingers crossed, third time's the charm. |
Test : SUCCESSBuild number : 1113 |
Looks like it is time to rebase with the flash-test-fix! 😄 |
@marcuschangarm : can you apply the change from this one as well? #6115 . This only occurs with c++11, so i can see why this wouldn't show up in the current tests. |
Change <memory> include to <new> From: d001fb1
Added #6115 to PR. |
/morph build |
Build : SUCCESSBuild number : 1342 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 998 |
Test : SUCCESSBuild number : 1125 |