[riot-notifications] [RIOT-OS/RIOT] tests: add nimble_l2cap test and benchmark applications (#11235)

Hauke Petersen notifications at github.com
Thu Mar 21 22:06:33 CET 2019

### Contribution description
I continuously ran into buffering trouble with nimble connected to the buffer handling for connection oriented L2CAP channels. As I got tired debugging this, I decided its time for an automated and easy to use test application that can be used to stress-test these L2CAP COC connections. So this PR provides just that.

This test is still missing a fitting `pexpect` script for its `make test` target - this will be added soon in a follow up PR.

### Testing procedure
Take two NimBLE capable boards (e.g. `nrf52dk` or `nrf52840dk`) and flash the client and server application on them. Once they are both started, they should automatically connect and you can run the `flood` and `inctest` commands with any parameters... They should never crash :-)

### Issues/PRs references
This PR depends (is reabsed on) #11232 and #11233
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * net/bluetil/ad: add bluetil_ad_find_and_cmp()
  * pkg/nimble: fix include guards in nimble_riot.c
  * tests: add nimble_l2cap test application(s)

-- File Changes --

    M pkg/nimble/contrib/nimble_riot.c (4)
    M sys/include/net/bluetil/ad.h (16)
    M sys/net/ble/bluetil/bluetil_ad/bluetil_ad.c (13)
    A tests/nimble_l2cap/Makefile (24)
    A tests/nimble_l2cap/README.md (7)
    A tests/nimble_l2cap/main.c (335)
    A tests/nimble_l2cap_server/Makefile (21)
    A tests/nimble_l2cap_server/README.md (69)
    A tests/nimble_l2cap_server/include/nimble_l2cap_test_conf.h (61)
    A tests/nimble_l2cap_server/main.c (168)
    A tests/nimble_l2cap_server/nimble.inc.mk (22)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190321/af296a77/attachment.html>

More information about the notifications mailing list