Skip to content
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

Conversation

chrisswinchatt-arm
Copy link
Contributor

@chrisswinchatt-arm chrisswinchatt-arm commented Jun 17, 2021

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

[X] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[X] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

Reviewers

@ARMmbed/mbed-os-connectivity


@ciarmcom ciarmcom added the release-type: patch Indentifies a PR as containing just a patch label Jun 17, 2021
@ciarmcom ciarmcom requested a review from a team June 17, 2021 12:00
@ciarmcom
Copy link
Member

@chrisswinchatt-arm, thank you for your changes.
@ARMmbed/mbed-os-maintainers please review.

@ghost
Copy link

ghost commented Jun 17, 2021

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.

* \return ATT_SUCCESS if successful or error code on failure.
*/
/*************************************************************************************************/
static uint8_t attsSignedWritePermissions(dmConnId_t connId, uint16_t handle, uint8_t permissions,
Copy link
Member

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)
Copy link
Member

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.

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 18, 2021

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.

Good point, we should always add changelog and release notes part of upstream updates. They will be added.

@chrisswinchatt-arm
Copy link
Contributor Author

I have split the patch into separate commits for host, controller, drivers and integration, plus added the change logs and fixed some issues.

@chrisswinchatt-arm chrisswinchatt-arm force-pushed the feature-cordio-21.04 branch 2 times, most recently from 128fe63 to 9b92f4f Compare July 5, 2021 10:32
@chrisswinchatt-arm chrisswinchatt-arm force-pushed the feature-cordio-21.04 branch 3 times, most recently from b864351 to 593c93b Compare July 9, 2021 09:26
@chrisswinchatt-arm chrisswinchatt-arm changed the title Integrate Cordio 21.04 Update Cordio stack & LL to v21.04 Jul 9, 2021
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants