diff --git a/README-cn.md b/README-cn.md
index 795f9fb..719641e 100644
--- a/README-cn.md
+++ b/README-cn.md
@@ -277,10 +277,10 @@ Page 2
A0:DE:0F:99:EF:78 incoming
CoD: 0x5a020c
Service Class: 0b1011010000
- Telephony
- Object Transfer
- Capturing
- Networking
+ Telephony
+ Object Transfer
+ Capturing
+ Networking
Major Device Class: 0b00010, Phone
link type: 0x01 - ACL
... ...
@@ -445,26 +445,32 @@ Number of services: 6
Service (0x0100 - 0x0112, 7 characteristics)
Declaration
- Handle: 0x0100
- Type: 2800 (Primary Service declaration)
- Value: 1812 (Human Interface Device)
- Permissions: Read (no authen/author)
+ Handle: 0x0100
+ Type: 2800 (Primary Service declaration)
+ Value: 1812 (Human Interface Device)
+ Permissions: Read (no authen/author)
Characteristic (2 descriptors)
Declaration
- Handle: 0x010d
- Type: 2803 (Characteristic declaration)
- Value:
- Properties:
- Handle: 0x010e
- UUID: 2A4D (Report)
- Permissions: Read (no authen/author)
+ Handle: 0x010d
+ Type: 2803 (Characteristic declaration)
+ Value:
+ Properties: Read, Write Without Response, Write, Notify
+ Handle: 0x010e
+ UUID: 2A4D (Report)
+ Permissions: Read (no authen/author)
+
+ Value
+ Handle: 0x0302
+ Type: 4A02 (Unknown)
+ Value: Read Not Permitted
+ Permissions: Higher layer specific
Descriptor
- Handle: 0x010f
- Type: 2902 (Client Characteristic Configuration declaration)
- Value: b'\x00\x00'
- Permissions: Read (no authen/author), Write (higher layer specifies authen/author)
+ Handle: 0x010f
+ Type: 2902 (Client Characteristic Configuration declaration)
+ Value: b'\x00\x00'
+ Permissions: Read (no authen/author), Write (higher layer specifies authen/author)
... ...
@@ -512,11 +518,9 @@ Options:
#### `--collect-btsnoop-log`: 收集正在产生的 btsnoop log
-
+$ bluing android -t 3 --collect-btsnoop-log -o btsnoop_hci.log
$ bluing android -t 3 --collect-btsnoop-log -o btsnoop_hci.log; file btsnoop_hci.log
-$ bluing android -t 3 --collect-btsnoop-log -o btsnoop_hci.log
-$ file btsnoop_hci.log
btsnoop_hci.log: BTSnoop version 1, HCI UART (H4)
@@ -307,7 +307,7 @@ Page 2
$ sudo bluing br --lmp-features 6A:8D:99:33:56:AE
@@ -426,7 +426,7 @@ Responder Key Distribution: 0x01
$ bluing le --help
@@ -439,32 +439,38 @@ Discovering all descriptors of characteristic 0x0002 ⠴
... ...
-
+
----------------GATT Scan Result----------------
Number of services: 6
-
+
Service (0x0100 - 0x0112, 7 characteristics)
Declaration
- Handle: 0x0100
- Type: 2800 (Primary Service declaration)
- Value: 1812 (Human Interface Device)
- Permissions: Read (no authen/author)
-
+ Handle: 0x0100
+ Type: 2800 (Primary Service declaration)
+ Value: 1812 (Human Interface Device)
+ Permissions: Read (no authen/author)
+
Characteristic (2 descriptors)
Declaration
- Handle: 0x010d
- Type: 2803 (Characteristic declaration)
- Value:
- Properties:
- Handle: 0x010e
- UUID: 2A4D (Report)
- Permissions: Read (no authen/author)
-
+ Handle: 0x010d
+ Type: 2803 (Characteristic declaration)
+ Value:
+ Properties: Read, Write Without Response, Write, Notify
+ Handle: 0x010e
+ UUID: 2A4D (Report)
+ Permissions: Read (no authen/author)
+
+ Value
+ Handle: 0x0302
+ Type: 4A02 (Unknown)
+ Value: Read Not Permitted
+ Permissions: Higher layer specific
+
Descriptor
- Handle: 0x010f
- Type: 2902 (Client Characteristic Configuration declaration)
- Value: b'\x00\x00'
- Permissions: Read (no authen/author), Write (higher layer specifies authen/author)
+ Handle: 0x010f
+ Type: 2902 (Client Characteristic Configuration declaration)
+ Value: b'\x00\x00'
+ Permissions: Read (no authen/author), Write (higher layer specifies authen/author)
... ...
$ sudo bluing le --gatt --addr-type=public 18:D9:8F:77:24:F1
+$ bluing android -t 3 --collect-btsnoop-log -o btsnoop_hci.log
$ bluing android -t 3 --collect-btsnoop-log -o btsnoop_hci.log; file btsnoop_hci.log
-$ file btsnoop_hci.log
btsnoop_hci.log: BTSnoop version 1, HCI UART (H4)
A0:DE:0F:99:EF:78 incoming
CoD: 0x5a020c
Service Class: 0b1011010000
- Telephony
- Object Transfer
- Capturing
- Networking
+ Telephony
+ Object Transfer
+ Capturing
+ Networking
Major Device Class: 0b00010, Phone
link type: 0x01 - ACL
... ...
@@ -1079,26 +1079,32 @@
Service (0x0100 - 0x0112, 7 characteristics)
Declaration
- Handle: 0x0100
- Type: 2800 (Primary Service declaration)
- Value: 1812 (Human Interface Device)
- Permissions: Read (no authen/author)
+ Handle: 0x0100
+ Type: 2800 (Primary Service declaration)
+ Value: 1812 (Human Interface Device)
+ Permissions: Read (no authen/author)
Characteristic (2 descriptors)
Declaration
- Handle: 0x010d
- Type: 2803 (Characteristic declaration)
- Value:
- Properties:
- Handle: 0x010e
- UUID: 2A4D (Report)
- Permissions: Read (no authen/author)
+ Handle: 0x010d
+ Type: 2803 (Characteristic declaration)
+ Value:
+ Properties: Read, Write Without Response, Write, Notify
+ Handle: 0x010e
+ UUID: 2A4D (Report)
+ Permissions: Read (no authen/author)
+
+ Value
+ Handle: 0x0302
+ Type: 4A02 (Unknown)
+ Value: Read Not Permitted
+ Permissions: Higher layer specific
Descriptor
- Handle: 0x010f
- Type: 2902 (Client Characteristic Configuration declaration)
- Value: b'\x00\x00'
- Permissions: Read (no authen/author), Write (higher layer specifies authen/author)
+ Handle: 0x010f
+ Type: 2902 (Client Characteristic Configuration declaration)
+ Value: b'\x00\x00'
+ Permissions: Read (no authen/author), Write (higher layer specifies authen/author)
... ...
--collect-btsnoop-log
: 收集正在产生的 btsnoop log
-$ bluing android -t 3 --collect-btsnoop-log -o btsnoop_hci.log
$ bluing android -t 3 --collect-btsnoop-log -o btsnoop_hci.log -$ file btsnoop_hci.log -btsnoop_hci.log: BTSnoop version 1, HCI UART (H4) ++
$ bluing android -t 3 --collect-btsnoop-log -o btsnoop_hci.log; file btsnoop_hci.log
btsnoop_hci.log: BTSnoop version 1, HCI UART (H4)diff --git a/index.html b/index.html index 4ea125e..f174e1c 100644 --- a/index.html +++ b/index.html @@ -880,7 +880,7 @@
plugin
命令:插件管理+
--lmp-features
Read LMP features of a remote BR/EDR device
--lmp-features
: Read LMP features of a remote BR/EDR device
$ sudo bluing br --lmp-features 6A:8D:99:33:56:AE
Version @@ -955,7 +955,7 @@
le
: command: Low Energy system
le
command: Low Energy system$ bluing le --help
Usage: @@ -1062,7 +1062,7 @@+
--gatt
Discover GATT Profile hierarchy of a remote LE device
--gatt
: Discover GATT Profile hierarchy of a remote LE device@@ -1137,11 +1143,10 @@
$ sudo bluing le --gatt --addr-type=public 18:D9:8F:77:24:F1
Connecting ⠋ @@ -1073,32 +1073,38 @@⠴ ... ... - + ----------------GATT Scan Result---------------- Number of services: 6 - + Service (0x0100 - 0x0112, 7 characteristics) Declaration - Handle: 0x0100 - Type: 2800 (Primary Service declaration) - Value: 1812 (Human Interface Device) - Permissions: Read (no authen/author) - + Handle: 0x0100 + Type: 2800 (Primary Service declaration) + Value: 1812 (Human Interface Device) + Permissions: Read (no authen/author) + Characteristic (2 descriptors) Declaration - Handle: 0x010d - Type: 2803 (Characteristic declaration) - Value: - Properties: - Handle: 0x010e - UUID: 2A4D (Report) - Permissions: Read (no authen/author) - + Handle: 0x010d + Type: 2803 (Characteristic declaration) + Value: + Properties: Read, Write Without Response, Write, Notify + Handle: 0x010e + UUID: 2A4D (Report) + Permissions: Read (no authen/author) + + Value + Handle: 0x0302 + Type: 4A02 (Unknown) + Value: Read Not Permitted + Permissions: Higher layer specific + Descriptor - Handle: 0x010f - Type: 2902 (Client Characteristic Configuration declaration) - Value: b'\x00\x00' - Permissions: Read (no authen/author), Write (higher layer specifies authen/author) + Handle: 0x010f + Type: 2902 (Client Characteristic Configuration declaration) + Value: b'\x00\x00' + Permissions: Read (no authen/author), Write (higher layer specifies authen/author) ... ...
andr -o <file> Place the output into
[default: ./btsnoop_hci.log]
--collect-btsnoop-log
Collect the btsnoop log being generated--collect-btsnoop-log
: Collect the btsnoop log being generated$ bluing android -t 3 --collect-btsnoop-log -o btsnoop_hci.log
$ file btsnoop_hci.log -btsnoop_hci.log: BTSnoop version 1, HCI UART (H4) ++
$ bluing android -t 3 --collect-btsnoop-log -o btsnoop_hci.log; file btsnoop_hci.log
btsnoop_hci.log: BTSnoop version 1, HCI UART (H4)@@ -1237,7 +1242,7 @@
plugin
command: Manage pluginsManag
@@ -1252,7 +1257,7 @@Manag
-
+
le
: command: Low Energy system
le
command: Low Energy system@@ -1270,7 +1275,7 @@Manag