[10:03:37.506]发→◇AT+CONN27□ [10:03:37.553]收←◆Connecting OK+CONN:0xC9E83455DC0D 0: 2A00, Read 1: 2A01, Read 2: 2A04, Read 3: 2AA6, Read 4: 43484152-2DAB-3241-6972-6F6861424C45, Write no rsp, Write 5: 43484152-2DAB-3141-6972-6F6861424C45, Notify 6: 2A23, Read 7: 2A24, Read 8: 2A25, Read 9: 2A26, Read 10: 2A27, Read 11: 2A28, Read 12: 2A29, Read 13: 2A2A, Read 14: 2A50, Read 15: EA2021FF-0000-1000-1000-000000FF0200, Write no rsp, Write 16: EA2021FF-0000-1000-1000-000000FFFF00, Read, Write no rsp, Write 17: EA2021FF-0000-1000-1000-000000FF0100, Read, Notify 18: EA2021FF-0000-1000-1000-000000FE0200, Write no rsp, Write; TX 19: EA2021FF-0000-1000-1000-000000FEFF00, Read, Write no rsp, Write 20: EA2021FF-0000-1000-1000-000000FE0100, Read, Notify; RX 怎么设置所有TXRX
时间: 2024-03-11 18:48:56 浏览: 70
根据您提供的信息,我可以看到设备返回的UUID列表。其中,包含了读取和写入Characteristic值的UUID。要设置所有TXRX,您需要使用AT指令向设备写入相应的UUID。根据收到的响应,您需要向以下UUID写入相应的值:
- 读取UUID: 2A00, 2A01, 2A04, 2AA6, 2A23, 2A24, 2A25, 2A26, 2A27, 2A28, 2A29, 2A2A, 2A50
- 写入UUID: 43484152-2DAB-3141-6972-6F6861424C45, EA2021FF-0000-1000-1000-000000FFFF00, EA2021FF-0000-1000-1000-000000FE0200, EA2021FF-0000-1000-1000-000000FEFF00
您可以使用AT+CHRX和AT+CHTX命令分别设置读取和写入UUID。例如,要设置读取UUID 2A00,您可以使用以下命令:
```
AT+CHRX=2A00
```
要设置写入UUID EA2021FF-0000-1000-1000-000000FEFF00,您可以使用以下命令:
```
AT+CHTX=EA2021FF-0000-1000-1000-000000FEFF00
```
请注意,您需要根据您的设备和通信协议来确定正确的UUID。根据您提供的信息,设备返回的UUID可能不完整。如果您需要更多帮助,请向设备制造商或通信协议文档提供者咨询。
阅读全文