You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Bluetooth low power module to connect the computer through usb to ttl, and the computer always uses the corresponding COM port to send data to the module. Using the mobile app test, I can normally connect and receive data, but when using this code modified from the read case program, I cannot parse and receive the correct data. I do not know where the problem is. The following is my code, in which connect_peripheral, service_uuid and characteristic_uuid are all right. I have checked my module that can be connected, but I can't receive data.
The code is as follows:
I use Bluetooth low power module to connect the computer through usb to ttl, and the computer always uses the corresponding COM port to send data to the module. Using the mobile app test, I can normally connect and receive data, but when using this code modified from the read case program, I cannot parse and receive the correct data. I do not know where the problem is. The following is my code, in which connect_peripheral, service_uuid and characteristic_uuid are all right. I have checked my module that can be connected, but I can't receive data.
The code is as follows:
The following output is displayed:
The text was updated successfully, but these errors were encountered: