From f7933e30a69d1150819128a544cd985aa1b31385 Mon Sep 17 00:00:00 2001 From: Adam Greenwood-Byrne Date: Mon, 15 Feb 2021 21:22:30 +0000 Subject: [PATCH] Added png to explain handle value notification in part8 --- part8-breakout-ble/README.md | 2 ++ part8-breakout-ble/images/8-opcode-1b.png | Bin 0 -> 2363 bytes 2 files changed, 2 insertions(+) create mode 100644 part8-breakout-ble/images/8-opcode-1b.png diff --git a/part8-breakout-ble/README.md b/part8-breakout-ble/README.md index 7305fe2..9074147 100644 --- a/part8-breakout-ble/README.md +++ b/part8-breakout-ble/README.md @@ -74,6 +74,8 @@ Next we send a subscription request to the service using that handle in `sendACL Finally, we call `acl_poll()` repeatedly to see if there are any updates waiting. The data comes to us in the form of an ACL packet, which identifies, amongst other things, the connection handle it was sent to/using (worth checking against our recorded handle so we know it's for us) as well as data length and an opcode. +![ATT handle value notification opcode 1b](images/8-opcode-1b.png) + The opcode 0x1B represents a "ATT handle value notification" (ATT_HandleValueNoti in the TI docs). Those are the updates we're looking for. In part7 we simply print the update to debug to show it's been received. The last mile diff --git a/part8-breakout-ble/images/8-opcode-1b.png b/part8-breakout-ble/images/8-opcode-1b.png new file mode 100644 index 0000000000000000000000000000000000000000..44ec8e850848d3a2c0d3bd411e237709114d29bb GIT binary patch literal 2363 zcma)8dpOe%7vHA2d|M2|%!E`{vG~R0GB&eGW-Q&vWjv*FC%05=YPsZ=++wm>uD>D? zxv!~6`4uVmH*#sYO(9hB>W}yO$NRkJk8?ifJm);;JkNPP=Q#9jQmjHbK-)_+O%ql2?%5`p@9T^r95Ql*)@-2 zCRS!TDoWe(lilZfQ}i%u$FXRY&1~7wBQz%v55FU3$Zh>gD+1W~g;zL^2Z5xsZLNt% zBM0X=3F-WUu`ruoH6p7l)e@r`W?MDiY6^Us6|TdfB&(2o7v+LKdmXfL*%A zGOlM39CwbyYSwiQ7W|;#d`_%=-KVi*unzFulg@YLRFR1{2Gyev z0EK$%pX8yiUNQi)Z8=k}lQ~=nGD0rl>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