mynewt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ccoll...@apache.org
Subject [08/26] incubator-mynewt-core git commit: bletiny: Add debug log for CoC accept
Date Fri, 03 Mar 2017 17:36:23 GMT
bletiny: Add debug log for CoC accept


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/3d756b3f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/3d756b3f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/3d756b3f

Branch: refs/heads/develop
Commit: 3d756b3fb2a91a6865b8c1ddb7f66242ebb0289b
Parents: be58d00
Author: Łukasz Rymanowski <lukasz.rymanowski@codecoup.pl>
Authored: Thu Feb 16 06:29:56 2017 +0100
Committer: Łukasz Rymanowski <lukasz.rymanowski@codecoup.pl>
Committed: Fri Mar 3 12:40:41 2017 +0100

----------------------------------------------------------------------
 apps/bletiny/src/main.c | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/3d756b3f/apps/bletiny/src/main.c
----------------------------------------------------------------------
diff --git a/apps/bletiny/src/main.c b/apps/bletiny/src/main.c
index b8f1e51..442a264 100755
--- a/apps/bletiny/src/main.c
+++ b/apps/bletiny/src/main.c
@@ -1643,6 +1643,9 @@ bletiny_l2cap_coc_accept(uint16_t conn_handle, uint16_t peer_mtu,
 {
     struct os_mbuf *sdu_rx;
 
+    console_printf("LE CoC accepting, chan: 0x%08lx, peer_mtu %d\n",
+                       (uint32_t) chan, peer_mtu);
+
     sdu_rx = os_mbuf_get_pkthdr(&sdu_os_mbuf_pool, 0);
     if (!sdu_rx) {
         return BLE_HS_ENOMEM;


Mime
View raw message