Hi,
I'm trying to create a BLE service with some characteristics.
Can anyone tell me if my table for csv file is correct ?
Also what is wrong with my pairing sequence ?
The authentication is successful but the BLE client is sending 4 digits data (4 bytes) on service 3 characteric 3 but I'm only getting 2 bytes on service 3 characteristic 3 and desc 1. (0x01 0x00)
Thanks for your help
Is my service table for csv file correct ?
Re: Is my service table for csv file correct ?
Hi
Look at your log:+WRITE:<conn_index>,<srv_index>,<char_index>,[<desc_index>],<len>,<value> What you wrote should be 0x2902 descriptor, so you can only write two characters, and this descriptor has special meaning, you can refer to <Bluetooth Special Interest Group (SIG) Assigned Numbers> (https://www.bluetooth.com/specification ... d-numbers/) and <How to Customize Bluetooth® LE Services> (https://docs.espressif.com/projects/esp ... e-services).
Look at your log:+WRITE:<conn_index>,<srv_index>,<char_index>,[<desc_index>],<len>,<value> What you wrote should be 0x2902 descriptor, so you can only write two characters, and this descriptor has special meaning, you can refer to <Bluetooth Special Interest Group (SIG) Assigned Numbers> (https://www.bluetooth.com/specification ... d-numbers/) and <How to Customize Bluetooth® LE Services> (https://docs.espressif.com/projects/esp ... e-services).
Re: Is my service table for csv file correct ?
These four :
+WRITE:0,3,1,1,2
+WRITE:0,3,3,1,2
+WRITE:0,3,4,1,2
+WRITE:0,3,5,1,2
are affecting the 0x2902 in order to tell server that client is ready to receive notifications. The values are sent with
+WRITE:0,3,2,,20
+WRITE:0,3,3,,20
+WRITE:0,3,4,,20
+WRITE:0,3,5,,20
+WRITE:0,3,1,1,2
+WRITE:0,3,3,1,2
+WRITE:0,3,4,1,2
+WRITE:0,3,5,1,2
are affecting the 0x2902 in order to tell server that client is ready to receive notifications. The values are sent with
+WRITE:0,3,2,,20
+WRITE:0,3,3,,20
+WRITE:0,3,4,,20
+WRITE:0,3,5,,20
Who is online
Users browsing this forum: No registered users and 50 guests