Merge pull request #12350 from haukepetersen/opt_nimble_verokt19
pkg/nimble: bump NimBLE version
This commit is contained in:
commit
238ebe3d37
@ -1,6 +1,6 @@
|
|||||||
PKG_NAME = nimble
|
PKG_NAME = nimble
|
||||||
PKG_URL = https://github.com/apache/mynewt-nimble.git
|
PKG_URL = https://github.com/apache/mynewt-nimble.git
|
||||||
PKG_VERSION = 997dad8c9fc549e64b6c54eafcec109d92789418
|
PKG_VERSION = fb7651b773734a075c47ff10210b92e6d55ef55b
|
||||||
PKG_LICENSE = Apache-2.0
|
PKG_LICENSE = Apache-2.0
|
||||||
|
|
||||||
TDIR = $(RIOTPKG)/$(PKG_NAME)
|
TDIR = $(RIOTPKG)/$(PKG_NAME)
|
||||||
|
|||||||
@ -60,7 +60,6 @@ static void _on_data(struct ble_l2cap_event *event)
|
|||||||
|
|
||||||
res = os_mbuf_copydata(rxd, 0, rx_len, _rxbuf);
|
res = os_mbuf_copydata(rxd, 0, rx_len, _rxbuf);
|
||||||
assert(res == 0);
|
assert(res == 0);
|
||||||
printf("# Received: len %5i, seq %5u\n", rx_len, (unsigned)_rxbuf[POS_SEQ]);
|
|
||||||
|
|
||||||
res = ble_l2cap_send(_coc, rxd);
|
res = ble_l2cap_send(_coc, rxd);
|
||||||
assert((res == 0) || (res == BLE_HS_ESTALLED));
|
assert((res == 0) || (res == BLE_HS_ESTALLED));
|
||||||
@ -70,6 +69,8 @@ static void _on_data(struct ble_l2cap_event *event)
|
|||||||
assert(rxd != NULL);
|
assert(rxd != NULL);
|
||||||
res = ble_l2cap_recv_ready(_coc, rxd);
|
res = ble_l2cap_recv_ready(_coc, rxd);
|
||||||
assert(res == 0);
|
assert(res == 0);
|
||||||
|
|
||||||
|
printf("# Received: len %5i, seq %5u\n", rx_len, (unsigned)_rxbuf[POS_SEQ]);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int _on_gap_evt(struct ble_gap_event *event, void *arg)
|
static int _on_gap_evt(struct ble_gap_event *event, void *arg)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user