-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Update Cordio stack & LL to v21.04 #14798
Update Cordio stack & LL to v21.04 #14798
Conversation
9db437a
to
931ce84
Compare
@chrisswinchatt-arm, thank you for your changes. |
Is there a changelog? a list of bugs fixed or features added? The only packetcraft github repo lists a 19.x release and 20.04. There are no other branches. |
connectivity/FEATURE_BLE/libraries/cordio_stack/ble-host/include/att_api.h
Show resolved
Hide resolved
connectivity/FEATURE_BLE/libraries/cordio_stack/ble-host/sources/hci/dual_chip/hci_evt.c
Outdated
Show resolved
Hide resolved
* \return ATT_SUCCESS if successful or error code on failure. | ||
*/ | ||
/*************************************************************************************************/ | ||
static uint8_t attsSignedWritePermissions(dmConnId_t connId, uint16_t handle, uint8_t permissions, |
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.
I think we were doing these checks in our port. Can you verify if they are still needed in BLE API ?
* | ||
* \return None. | ||
*/ | ||
/*************************************************************************************************/ | ||
void DmSecSetLocalIdentityAddr(const uint8_t *pAddr, uint8_t type) | ||
void DmSecSetLocalIdentityAddr(const bdAddr_t identityAddr, uint8_t addrType) |
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.
It's interresting that bdAddr is different from identity address now. This may have an impact with code in BLE API.
...ivers/ble/FEATURE_BLE/COMPONENT_CYW43XXX/firmware/COMPONENT_43012/w_bt_firmware_controller.c
Outdated
Show resolved
Hide resolved
...tivity/FEATURE_BLE/libraries/TARGET_CORDIO_LL/stack/controller/sources/common/chci/chci_tr.c
Outdated
Show resolved
Hide resolved
...tivity/FEATURE_BLE/libraries/TARGET_CORDIO_LL/stack/controller/sources/common/chci/chci_tr.c
Show resolved
Hide resolved
...tivity/FEATURE_BLE/libraries/TARGET_CORDIO_LL/stack/controller/sources/common/chci/chci_tr.c
Outdated
Show resolved
Hide resolved
Good point, we should always add changelog and release notes part of upstream updates. They will be added. |
931ce84
to
f6999bf
Compare
I have split the patch into separate commits for host, controller, drivers and integration, plus added the change logs and fixed some issues. |
e2f562b
to
8a837e6
Compare
8a837e6
to
e850a06
Compare
e850a06
to
c2777b3
Compare
128fe63
to
9b92f4f
Compare
b864351
to
593c93b
Compare
* Corrected use of NRF timers to match single-timer use in Cordio * Corrected use of NRF RTCs (RTC1 used directly in pal_timer.c and RTC2 used in pal_frc.c via NRFX API) * Add CordioHCIDriver::on_deep_sleep method which calls palFrcSetWakeup to wake the system from deep sleep, with wake latency compensation * Change mbed OS reserved RTC (COMMON_RTC_INSTANCE) to RTC0
593c93b
to
54aeeb2
Compare
Summary of changes
Updates the Cordio host stack, controller/link layer and Nordic drivers to version 21.04. Also adds a set of scripts to partially automate future updates.
Impact of changes
Migration actions required
Documentation
None
Pull request type
Test results
Reviewers
@ARMmbed/mbed-os-connectivity