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

Ble remove user facing abstraction #13475

Merged
merged 43 commits into from
Sep 9, 2020

Conversation

pan-
Copy link
Member

@pan- pan- commented Aug 21, 2020

Summary of changes

Completion of BLE streamlining:

  • Makes public API relevant and not just fake for doxygen
  • Reorganise public headers:
    • ble/common: For code common in gatt, gap and drivers
    • ble/driver: HCI driver interface declaration
    • ble/gap: declarations related to gap
    • ble/gatt: declarations related to gatt
    • ble/service: ble services
    • ble/compatibility: Legacy path for backward compatibility
  • reorganise sources and move private headers with them:
    • source: Entry point to private implementation of Gap, GattClient, GattServer and SecurityManager
    • source/generic: Generic implementation for Gap, GattClient, GattServer and SecurityManager
    • source/pal: PAL declaration used by the generic implementation
    • source/gatt: Definition of public gatt related classes
    • source/gap: Definition of public gap related classes
    • source/cordio: Implementation of the pal and assembly of the various elements in BleInstanceBaseImpl.
  • move cordio stack out of TARGET_CORDIO. It is located in ble/libraries
  • Expose HCI driver at the root of BLE API.

Impact of changes

Migration actions required

Documentation


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)
[] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

Reviewers

@paul-szczepanek-arm @LDong-Arm


@mergify
Copy link

mergify bot commented Aug 21, 2020

This PR cannot be merged due to conflicts. Please rebase to resolve them.

@mergify mergify bot added the needs: work label Aug 21, 2020
@ciarmcom ciarmcom added the release-type: patch Indentifies a PR as containing just a patch label Aug 21, 2020
@ciarmcom
Copy link
Member

@pan-, thank you for your changes.
@LDong-Arm @paul-szczepanek-arm @ARMmbed/mbed-os-maintainers please review.

@pan-
Copy link
Member Author

pan- commented Sep 4, 2020

@0xc0170 Can we get CI for this PR ?

@0xc0170
Copy link
Contributor

0xc0170 commented Sep 7, 2020

CI started

@mbed-ci
Copy link

mbed-ci commented Sep 7, 2020

Jenkins CI Test : ❌ FAILED

Build Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & Artifacts

CLICK for Detailed Summary

jobs Status
jenkins-ci/mbed-os-ci_unittests ✔️
jenkins-ci/mbed-os-ci_build-GCC_ARM
jenkins-ci/mbed-os-ci_build-ARM

@pan- pan- mentioned this pull request Sep 7, 2020
8 tasks
@pan-
Copy link
Member Author

pan- commented Sep 7, 2020

@0xc0170 Some issues were present with Cypress drivers due to the removal of mbed.h and a missing implementation from ARMC6. Would it be possible to launch a new run once the sanity check has proceeded ?

@0xc0170
Copy link
Contributor

0xc0170 commented Sep 8, 2020

CI restarted

@mbed-ci
Copy link

mbed-ci commented Sep 8, 2020

Jenkins CI Test : ✔️ SUCCESS

Build Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & Artifacts

CLICK for Detailed Summary

jobs Status
jenkins-ci/mbed-os-ci_unittests ✔️
jenkins-ci/mbed-os-ci_build-ARM ✔️
jenkins-ci/mbed-os-ci_build-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_dynamic-memory-usage ✔️
jenkins-ci/mbed-os-ci_greentea-test ✔️
jenkins-ci/mbed-os-ci_cloud-client-pytest ✔️

@pan-
Copy link
Member Author

pan- commented Sep 9, 2020

@0xc0170 Is there anything the pan team can do to speed up the integration process ?

Copy link
Contributor

@0xc0170 0xc0170 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might need your help to get this in also to the feature-cmake branch.

@0xc0170 0xc0170 merged commit c99ff74 into ARMmbed:master Sep 9, 2020
@mergify mergify bot removed the ready for merge label Sep 9, 2020
@mbedmain mbedmain added release-version: 6.3.0 Release-pending and removed release-type: patch Indentifies a PR as containing just a patch Release-pending labels Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants