[riot-notifications] [RIOT-OS/RIOT] ble/bluetil: add generic address to string module (#11271)

Hauke Petersen notifications at github.com
Mon Mar 25 22:41:29 CET 2019


### Contribution description
For debugging (and some other use cases), I need functions to convert BLE addresses to strings and print them to STDIO. It gets annoying to re-implement these BLE addr string functions all over the place, so here is a generic module providing string-formatting and printing capabilities for BLE addresses.

### Testing procedure
Run the provided unittest on your preferred platform.

### Issues/PRs references
depends on #11268 (otherwise Murdock will complain about doxygen group names)
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

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

-- File Changes --

    M Makefile.dep (4)
    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/11271.patch
https://github.com/RIOT-OS/RIOT/pull/11271.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/11271
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190325/7ad92d8e/attachment.html>


More information about the notifications mailing list