Skip to content

BLE: force mandatory services to have lowest handles #10302

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

Merged
merged 1 commit into from
Apr 4, 2019

Conversation

paul-szczepanek-arm
Copy link
Member

Description

Mandatory services can be added before or after user added services. The nordic monitor application assumes they are the first service discovered and fail if they are not. This fix makes sure the mandatory service is added before any user service.

Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

@pan-

Copy link
Member

@pan- pan- left a comment

Choose a reason for hiding this comment

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

As much as I disliked the behaviour exposed by the services (instantiation before initialisation of the GattServer...) there's not much we can do about it now. Thanks for the workaround @paul-szczepanek-arm

@ciarmcom ciarmcom requested a review from pan- April 3, 2019 13:00
@ciarmcom
Copy link
Member

ciarmcom commented Apr 3, 2019

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

@ciarmcom ciarmcom requested review from a team April 3, 2019 13:00
Copy link
Member

@pan- pan- left a comment

Choose a reason for hiding this comment

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

The bot is too slow for us . Approved again.

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 3, 2019

The bot is too slow for us . Approved again.

It should not rewrite it, will be fixed

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 3, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Apr 3, 2019

Test run: SUCCESS

Summary: 13 of 13 test jobs passed
Build number : 1
Build artifacts

@0xc0170 0xc0170 merged commit 46dc15e into ARMmbed:master Apr 4, 2019
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.

6 participants