[riot-notifications] [RIOT-OS/RIOT] ble/nimble: add address helper submodule (#11275)

Hauke Petersen notifications at github.com
Tue Mar 26 10:01:16 CET 2019


### Contribution description
NimBLE has its own internal address type (including a 7th byte marking type of the BT address). This PR adds a shared submodule for printing this address into a buffer or to STDIO. This is mainly useful for debugging and shell purposes.

### Testing procedure
The best you can do is probably a build test by adding `USEMODULE += nimble_addr` to the `examples/nimble_gatt` example's Makefile.

### Issues/PRs references
depends and is rebased on #11271
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/11275

-- Commit Summary --

  * ble/bluetil: add ble address helper submodule
  * unittests: added tests for bluetil_addr
  * ble/nimble: add addr helper module

-- File Changes --

    M Makefile.dep (4)
    M pkg/nimble/Makefile (3)
    M pkg/nimble/Makefile.dep (4)
    M pkg/nimble/Makefile.include (5)
    A pkg/nimble/addr/Makefile (3)
    A pkg/nimble/addr/include/nimble_addr.h (58)
    A pkg/nimble/addr/nimble_addr.c (47)
    A sys/include/net/bluetil/addr.h (80)
    A sys/net/ble/bluetil/bluetil_addr/Makefile (1)
    A sys/net/ble/bluetil/bluetil_addr/bluetil_addr.c (80)
    A tests/unittests/tests-bluetil/Makefile (1)
    A tests/unittests/tests-bluetil/Makefile.include (1)
    A tests/unittests/tests-bluetil/tests-bluetil.c (64)
    A tests/unittests/tests-bluetil/tests-bluetil.h (37)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11275.patch
https://github.com/RIOT-OS/RIOT/pull/11275.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11275
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190326/456c96b1/attachment.html>


More information about the notifications mailing list