Re: GATT CLIENT接收乱码
Posted: Thu Jun 03, 2021 8:46 am
MTU默认值500没改,APP的:
I (3767) GATTC_DEMO: Write: atz
I (3787) GATTC_DEMO: update connection params status = 0, min_int = 8, max_int = 16,conn_int = 16,latency = 0, timeout = 300
I (3857) GATTC_DEMO: Receive:
I (3857) GATTC_DEMO: 61 74 7a 20 0d fc
I (4657) GATTC_DEMO: Receive:
I (4657) GATTC_DEMO: 0d 0d 45 4c 4d 33 32 37 20 76 31 2e 35 0d 0d 3e
I (6767) GATTC_DEMO: Write: at@1
I (6797) GATTC_DEMO: Receive:
I (6807) GATTC_DEMO: 61 74 40 31 20 0d 4f 42 44 49 49 20 74 6f 20 52
I (6807) GATTC_DEMO: 53 32 33 32
I (6807) GATTC_DEMO: Receive:
I (6807) GATTC_DEMO: 20 49 6e 74 65 72 70 72 65 74 65 72 0d 0d 3e 74
I (6817) GATTC_DEMO: Receive:
I (6817) GATTC_DEMO: 74 70 30 20 0d 3f 0d 0d 3e 30
I (9767) GATTC_DEMO: Write: ati
I (9797) GATTC_DEMO: Receive:
I (9807) GATTC_DEMO: 61 74 69 20 0d 45 4c 4d 33 32 37 20 76 31 2e 35
I (9807) GATTC_DEMO: 0d 0d 3e 30
I (9807) GATTC_DEMO: Receive:
I (9807) GATTC_DEMO: 31
I (9817) GATTC_DEMO: Receive:
I (9817) GATTC_DEMO: 30 30 20 0d 34 31 20 30 30 20 46 46 20 46 46 20
I (9827) GATTC_DEMO: 46 46 20 46
I (9827) GATTC_DEMO: Receive:
I (9827) GATTC_DEMO: 46 20 0d
I (9917) GATTC_DEMO: Receive:
I (9917) GATTC_DEMO: 0d 3e
I (12767) GATTC_DEMO: Write: attp0
I (12797) GATTC_DEMO: Receive:
I (12797) GATTC_DEMO: 61 74 74 70 30 20 0d 4f 4b 0d 0d 3e
I (12817) GATTC_DEMO: Receive:
I (12817) GATTC_DEMO: 30 35 20 0d 53 45 41 52 43 48 49 4e 47 2e 2e 2e
I (12817) GATTC_DEMO: 0d
I (13357) GATTC_DEMO: Receive:
I (13357) GATTC_DEMO: 34 31 20 30 30 20 46 46 20 46 46 20 46 46 20 46
I (13357) GATTC_DEMO: 46 20 0d
I (13457) GATTC_DEMO: Receive:
I (13457) GATTC_DEMO: 0d 3e
I (15767) GATTC_DEMO: Write: 0100
I (15797) GATTC_DEMO: Receive:
I (15807) GATTC_DEMO: 30 31 30 30 20 0d 34 31 20 30 30 20 46 46 20 46
I (15807) GATTC_DEMO: 46 20 46 46
I (15807) GATTC_DEMO: Receive:
I (15807) GATTC_DEMO: 20 46 46 20 0d
I (15897) GATTC_DEMO: Receive:
I (15897) GATTC_DEMO: 0d 3e
I (18767) GATTC_DEMO: Write: 0105
I (18797) GATTC_DEMO: Receive:
I (18797) GATTC_DEMO: 30 31 30 35 20 0d 34 31 20 30 35 20 36 43 20 0d
I (18897) GATTC_DEMO: Receive:
I (18897) GATTC_DEMO: 0d 3e
ESP32的:I (3767) GATTC_DEMO: Write: atz
I (3787) GATTC_DEMO: update connection params status = 0, min_int = 8, max_int = 16,conn_int = 16,latency = 0, timeout = 300
I (3857) GATTC_DEMO: Receive:
I (3857) GATTC_DEMO: 61 74 7a 20 0d fc
I (4657) GATTC_DEMO: Receive:
I (4657) GATTC_DEMO: 0d 0d 45 4c 4d 33 32 37 20 76 31 2e 35 0d 0d 3e
I (6767) GATTC_DEMO: Write: at@1
I (6797) GATTC_DEMO: Receive:
I (6807) GATTC_DEMO: 61 74 40 31 20 0d 4f 42 44 49 49 20 74 6f 20 52
I (6807) GATTC_DEMO: 53 32 33 32
I (6807) GATTC_DEMO: Receive:
I (6807) GATTC_DEMO: 20 49 6e 74 65 72 70 72 65 74 65 72 0d 0d 3e 74
I (6817) GATTC_DEMO: Receive:
I (6817) GATTC_DEMO: 74 70 30 20 0d 3f 0d 0d 3e 30
I (9767) GATTC_DEMO: Write: ati
I (9797) GATTC_DEMO: Receive:
I (9807) GATTC_DEMO: 61 74 69 20 0d 45 4c 4d 33 32 37 20 76 31 2e 35
I (9807) GATTC_DEMO: 0d 0d 3e 30
I (9807) GATTC_DEMO: Receive:
I (9807) GATTC_DEMO: 31
I (9817) GATTC_DEMO: Receive:
I (9817) GATTC_DEMO: 30 30 20 0d 34 31 20 30 30 20 46 46 20 46 46 20
I (9827) GATTC_DEMO: 46 46 20 46
I (9827) GATTC_DEMO: Receive:
I (9827) GATTC_DEMO: 46 20 0d
I (9917) GATTC_DEMO: Receive:
I (9917) GATTC_DEMO: 0d 3e
I (12767) GATTC_DEMO: Write: attp0
I (12797) GATTC_DEMO: Receive:
I (12797) GATTC_DEMO: 61 74 74 70 30 20 0d 4f 4b 0d 0d 3e
I (12817) GATTC_DEMO: Receive:
I (12817) GATTC_DEMO: 30 35 20 0d 53 45 41 52 43 48 49 4e 47 2e 2e 2e
I (12817) GATTC_DEMO: 0d
I (13357) GATTC_DEMO: Receive:
I (13357) GATTC_DEMO: 34 31 20 30 30 20 46 46 20 46 46 20 46 46 20 46
I (13357) GATTC_DEMO: 46 20 0d
I (13457) GATTC_DEMO: Receive:
I (13457) GATTC_DEMO: 0d 3e
I (15767) GATTC_DEMO: Write: 0100
I (15797) GATTC_DEMO: Receive:
I (15807) GATTC_DEMO: 30 31 30 30 20 0d 34 31 20 30 30 20 46 46 20 46
I (15807) GATTC_DEMO: 46 20 46 46
I (15807) GATTC_DEMO: Receive:
I (15807) GATTC_DEMO: 20 46 46 20 0d
I (15897) GATTC_DEMO: Receive:
I (15897) GATTC_DEMO: 0d 3e
I (18767) GATTC_DEMO: Write: 0105
I (18797) GATTC_DEMO: Receive:
I (18797) GATTC_DEMO: 30 31 30 35 20 0d 34 31 20 30 35 20 36 43 20 0d
I (18897) GATTC_DEMO: Receive:
I (18897) GATTC_DEMO: 0d 3e