Skip to content

ble/nimble: add support for built-in IPSS service#11296

Merged
miri64 merged 1 commit intoRIOT-OS:masterfrom
haukepetersen:add_nimble_ipsp
Jun 4, 2019
Merged

ble/nimble: add support for built-in IPSS service#11296
miri64 merged 1 commit intoRIOT-OS:masterfrom
haukepetersen:add_nimble_ipsp

Conversation

@haukepetersen
Copy link
Copy Markdown
Contributor

@haukepetersen haukepetersen commented Mar 27, 2019

Contribution description

Step 1 for enabling IPv6-over-BLE for NimBLE on RIOT. More to follow.

This PR adds support for building the IPSS (internet protocol support service) for NimBLE. The actual service is implemented in NimBLE upstream, so this PR only adds the corresponding makefiles and auto-init capabilities.

Testing procedure

Simply build and flash examples/nimble_gatt with USEMODULE=nimble_svc_ipss and scan the device with a scanner of your choice. When doing a GATT service discovery, the Internet Protocol Support Server should show up.

Problem: we have a little hen-and-egg problem, as the service is not yet merged to NimBLE master (see apache/mynewt-nimble#392), and also the NimBLE package in RIOT is not based on that branch. So for testing one hast to manually point the NimBLE package to the mentioned NimBLE branch (for now).

Issues/PRs references

depends on NimBLE upstream PR: apache/mynewt-nimble#392
#11273 will bump the NimBLE version in RIOT to pull in the above changes

@haukepetersen haukepetersen added Type: new feature The issue requests / The PR implemements a new feature for RIOT State: waiting for other PR State: The PR requires another PR to be merged first Area: BLE Area: Bluetooth Low Energy support labels Mar 27, 2019
@haukepetersen
Copy link
Copy Markdown
Contributor Author

updated this PR by rebasing it on the current state of #11273

@haukepetersen haukepetersen added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed State: waiting for other PR State: The PR requires another PR to be merged first labels May 17, 2019
@haukepetersen
Copy link
Copy Markdown
Contributor Author

deps are merged, rebased once again.

@ghost
Copy link
Copy Markdown

ghost commented Jun 3, 2019

Maybe I am doing something wrong, but I don't see a service called Internet Protocol Support or anything alike, neither in client nor server tab. I used examples/nimble_gatt and the android app nrf connect.

@haukepetersen
Copy link
Copy Markdown
Contributor Author

yes, you are right. Something went wrong when merging this functionality into NimBLE, will look into it.

@haukepetersen
Copy link
Copy Markdown
Contributor Author

Nope, I simply flashed the wrong binary... Building and flashing with
USEMODULE=nimble_svc_ipss make all flash term works like it should.

I also rebased this PR, just in case.

Copy link
Copy Markdown
Member

@miri64 miri64 left a comment

Choose a reason for hiding this comment

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

Tested with nrf52dk and NRFconnect my Moto X4. Works as described. Code is simple and straight forward. ACK.

@miri64 miri64 added Reviewed: 1-fundamentals The fundamentals of the PR were reviewed according to the maintainer guidelines Reviewed: 2-code-design The code design of the PR was reviewed according to the maintainer guidelines Reviewed: 3-testing The PR was tested according to the maintainer guidelines Reviewed: 4-code-style The adherence to coding conventions by the PR were reviewed according to the maintainer guidelines Reviewed: 5-documentation The documentation details of the PR were reviewed according to the maintainer guidelines labels Jun 4, 2019
@miri64 miri64 merged commit 236cfff into RIOT-OS:master Jun 4, 2019
@haukepetersen
Copy link
Copy Markdown
Contributor Author

thx

@haukepetersen haukepetersen deleted the add_nimble_ipsp branch June 4, 2019 13:29
@aabadie aabadie changed the title ble/nimble: add support for build-in IPSS service ble/nimble: add support for built-in IPSS service Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: BLE Area: Bluetooth Low Energy support CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Reviewed: 1-fundamentals The fundamentals of the PR were reviewed according to the maintainer guidelines Reviewed: 2-code-design The code design of the PR was reviewed according to the maintainer guidelines Reviewed: 3-testing The PR was tested according to the maintainer guidelines Reviewed: 4-code-style The adherence to coding conventions by the PR were reviewed according to the maintainer guidelines Reviewed: 5-documentation The documentation details of the PR were reviewed according to the maintainer guidelines Type: new feature The issue requests / The PR implemements a new feature for RIOT

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants