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)
 
diff --git a/README.md b/README.md index 7b31cd5..5c7c616 100644 --- a/README.md +++ b/README.md @@ -223,7 +223,7 @@ Number of service records: 18
-#### `--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 @@ -307,7 +307,7 @@ Page 2
-### `le`: command: Low Energy system +### `le` command: Low Energy system
$ bluing le --help @@ -426,7 +426,7 @@ Responder Key Distribution: 0x01
-#### `--gatt` Discover GATT Profile hierarchy of a remote LE device +#### `--gatt`: Discover GATT Profile hierarchy of a remote LE device
$ sudo bluing le --gatt --addr-type=public 18:D9:8F:77:24:F1 @@ -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) ... ...
@@ -510,12 +516,11 @@ Options: -#### `--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 +
$ 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)
 
diff --git a/index-cn.html b/index-cn.html index 9054fab..18d9ec7 100644 --- a/index-cn.html +++ b/index-cn.html @@ -929,10 +929,10 @@

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) ... ...

@@ -1139,10 +1145,8 @@

--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)
 

plugin 命令:插件管理

diff --git a/index.html b/index.html index 4ea125e..f174e1c 100644 --- a/index.html +++ b/index.html @@ -880,7 +880,7 @@

--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

$ 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) ... ...

@@ -1137,11 +1143,10 @@

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)
 

plugin command: Manage plugins

@@ -1237,7 +1242,7 @@

Manag

-

le: command: Low Energy system

+

le command: Low Energy system

@@ -1270,7 +1275,7 @@

Manag