@@ -534,7 +534,7 @@
Requirements
Just Show me the Demo(s)!!
-
-
+
-
python
@@ -545,7 +545,7 @@
Just Show me the Demo(s)!!
-
Each of the scripts for this tutorial can be found in the Tutorial 5 @@ -688,7 +688,7 @@
Protobuf Message Example
-
+
-
-
+
-
python
@@ -699,7 +699,7 @@
Protobuf Message Example
-
from tutorial_modules import proto @@ -733,7 +733,7 @@
Protobuf Message Example
ResponseGeneric object.--
+
-
python
@@ -744,7 +744,7 @@
Protobuf Message Example
-
response_bytes = proto.ResponseGeneric(result=proto.EnumResultGeneric.RESULT_SUCCESS).SerializeToString() @@ -820,7 +820,7 @@
Protobuf Response Parser
--
+
-
python
@@ -831,7 +831,7 @@
Protobuf Response Parser
-
@@ -868,7 +868,7 @@
Set Turbo Transfer
Feature ID, Action ID, and length bytes:--
+
-
python
@@ -879,7 +879,7 @@
Set Turbo Transfer
-
turbo_mode_request = bytearray( @@ -906,7 +906,7 @@
Set Turbo Transfer
from the Set Turbo Mode Documentation: ResponseGeneric.--
+
-
python
@@ -917,7 +917,7 @@
Set Turbo Transfer
-
await client.write_gatt_char(request_uuid.value, turbo_mode_request, response=True) @@ -979,7 +979,7 @@
Response Manager
parsing of all response types:--
+
-
python
@@ -990,7 +990,7 @@
Response Manager
-
@@ -1073,7 +1073,7 @@
Examples of Each Response Type
Now letโs perform operations that will demonstrate each response type:
--
+
-
python
@@ -1084,7 +1084,7 @@
Examples of Each Response Type
-
# TLV Command (Setting) @@ -1167,7 +1167,7 @@
Good Job!
-Updated:
+Updated:
diff --git a/tutorials/ble-queries.html b/tutorials/ble-queries.html index 321c659f..5d7b4b36 100644 --- a/tutorials/ble-queries.html +++ b/tutorials/ble-queries.html @@ -34,7 +34,7 @@ - + @@ -438,7 +438,7 @@GoPro
- + @@ -531,7 +531,7 @@Requirements
Just Show me the Demo(s)!!
--
+
-
python
@@ -542,7 +542,7 @@
Just Show me the Demo(s)!!
-
Each of the scripts for this tutorial can be found in the Tutorial 4 @@ -668,7 +668,7 @@
Setup
connecting BLE tutorial.--
+
-
python
@@ -679,7 +679,7 @@
Setup
-
We have slightly updated the notification handler from the previous tutorial to handle a
QueryResponse
instead of @@ -830,7 +830,7 @@Parsing a Query Response
storing each value in a hash map indexed by ID for later access.--
+
-
python
@@ -841,7 +841,7 @@
Parsing a Query Response
-
-
class QueryResponse(TlvResponse): @@ -897,10 +897,10 @@
Parsing a Query Response
+-How many packets are query responses?-+- - -How many packets are query responses?+
@@ -913,19 +913,19 @@Parsing a Query Response
+-Which field is not common to all TLV responses?-+- - @@ -1000,7 +1000,7 @@Which field is not common to all TLV responses?+
@@ -941,10 +941,10 @@Parsing a Query Response
Individual Query Poll
First we send the query:
--
+
-
python
@@ -1011,7 +1011,7 @@
Individual Query Poll
-
@@ -1039,7 +1039,7 @@
Individual Query Poll
QueryResponse
class and extract the new resolution value.--
+
-
python
@@ -1050,7 +1050,7 @@
Individual Query Poll
-
# Wait to receive the notification response @@ -1097,7 +1097,7 @@
Individual Query Poll
has changed:--
+
-
python
@@ -1108,7 +1108,7 @@
Individual Query Poll
-
while resolution is not target_resolution: @@ -1178,7 +1178,7 @@
Multiple Simultaneous Query Polls
FOV.--
+
-
python
@@ -1189,7 +1189,7 @@
Multiple Simultaneous Query Polls
-
RESOLUTION_ID = 2 @@ -1217,7 +1217,7 @@
Multiple Simultaneous Query Polls
We are also parsing the response to get all 3 values:--
+
-
python
@@ -1228,7 +1228,7 @@
Multiple Simultaneous Query Polls
-
response.parse() @@ -1255,7 +1255,7 @@
Multiple Simultaneous Query Polls
They are then printed to the log which will look like the following:--
+
-
python
@@ -1266,7 +1266,7 @@
Multiple Simultaneous Query Polls
-
Getting the current resolution, fps, and fov. @@ -1326,10 +1326,10 @@
Query All
Quiz time! ๐ โ๏ธ
-+-How can we poll the encoding status and the resolution setting using one query?-+- -How can we poll the encoding status and the resolution setting using one query?+
@@ -1342,10 +1342,10 @@Query All
-
+
-
python
@@ -1266,7 +1266,7 @@
-
+
-
python
@@ -1228,7 +1228,7 @@
-
+
-
python
@@ -1189,7 +1189,7 @@
-
+
-
python
@@ -1108,7 +1108,7 @@
-
+
-
python
@@ -1050,7 +1050,7 @@
-
+
-
python
@@ -1011,7 +1011,7 @@
-
+
-
python
@@ -841,7 +841,7 @@
-
+
-
python
@@ -679,7 +679,7 @@
-
+
-
python
@@ -542,7 +542,7 @@
-
+
-
python
@@ -1084,7 +1084,7 @@
-
+
-
python
@@ -990,7 +990,7 @@
-
+
-
python
@@ -917,7 +917,7 @@
-
+
-
python
@@ -879,7 +879,7 @@
-
+
-
python
@@ -831,7 +831,7 @@
-
+
-
python
@@ -744,7 +744,7 @@
-
+