[riot-notifications] [RIOT-OS/RIOT] ble/nimble: add scanner submodule and example application (#11281)

Hauke Petersen notifications at github.com
Tue Mar 26 15:20:56 CET 2019


### Contribution description
This PR adds a NimBLE specific scanner submodule to simplify the usage of NimBLE for discovering nodes and for limiting the need to rewrite similar style code.

The provided example application in `examples/nimble_scanner` showcases the use of this new submodule, also providing a very simple RIOT-based tool to scan for any Bluetooth devices nearby.

### Testing procedure
Run the provided example application on any `nrf52`-based board, and see what devices are around you. Works best in crowded, nerdy places with many Bluetooth devices around :-)

### Issues/PRs references
depends on and is rebased on #11278 (and its sub-dependencies)
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * ble/bluetil: add ble address helper submodule
  * unittests: added tests for bluetil_addr
  * ble/nimble: add addr helper module
  * ble/nimble: add scanlist submodule
  * ble/nimble: add scanner submodule
  * examples: add nimble_scanner example

-- File Changes --

    M Makefile.dep (4)
    A examples/nimble_scanner/Makefile (30)
    A examples/nimble_scanner/README.md (29)
    A examples/nimble_scanner/main.c (89)
    M pkg/nimble/Makefile (10)
    M pkg/nimble/Makefile.dep (9)
    M pkg/nimble/Makefile.include (11)
    A pkg/nimble/addr/Makefile (3)
    A pkg/nimble/addr/include/nimble_addr.h (58)
    A pkg/nimble/addr/nimble_addr.c (47)
    A pkg/nimble/scanlist/Makefile (3)
    A pkg/nimble/scanlist/include/nimble_scanlist.h (115)
    A pkg/nimble/scanlist/nimble_scanlist.c (121)
    A pkg/nimble/scanlist/nimble_scanlist_print.c (71)
    A pkg/nimble/scanner/Makefile (3)
    A pkg/nimble/scanner/include/nimble_scanner.h (85)
    A pkg/nimble/scanner/nimble_scanner.c (94)
    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/11281.patch
https://github.com/RIOT-OS/RIOT/pull/11281.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/11281
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190326/91abe122/attachment-0001.html>


More information about the notifications mailing list