Hi
By using AT commands, i'm able to read/write characteristics of only one predefined service .
i want to create a temperature service , I have created .csv file .
index uuid_len uuid perm val_max_len val_cur_len value
0 16 0x2800 0x01 2 2 A232
1 16 0x2803 0x01 1 1 2
2 16 0xC300 0x10 1 1 1
3 16 0x2901 0x11 512 1 1
4 16 0x2803 0x01 1 1 2
5 16 0xC301 0x01 512 512 ...
6 16 0x2901 0x11 512 512 ...
Now , i don't know how to create .bin file from .csv file , so that it can be downloaded into esp32 module .
I don't know how to use python to create bin file .
Please provide me some examples or steps so that i can create TempService.bin file .
How to create service bin file .
Re: How to create service bin file .
Hello ,
i tried to create bin file according to given procedure , yaml file not found such error occurred .
D:\Logicare_118_16\WFIR-D2\Documentation\esp32-at-master\tools>python BLEService.py -t GattServiceExample.bin GattServiceExample.csv
Traceback (most recent call last):
File "BLEService.py", line 30, in <module>
import yaml
ImportError: No module named yaml
Please tell me how to resolve this error .
i tried to create bin file according to given procedure , yaml file not found such error occurred .
D:\Logicare_118_16\WFIR-D2\Documentation\esp32-at-master\tools>python BLEService.py -t GattServiceExample.bin GattServiceExample.csv
Traceback (most recent call last):
File "BLEService.py", line 30, in <module>
import yaml
ImportError: No module named yaml
Please tell me how to resolve this error .
Re: How to create service bin file .
Thank you for support .
service bin file has created successfully .
Actually xlrd and yaml had to be installed with python setup.
service bin file has created successfully .
Actually xlrd and yaml had to be installed with python setup.
Re: How to create service bin file .
I have a question about ESP32 I am working with the esp32-at project
I want to change the services and characteristics of the BLE but I don't know how to do it.
I am currently compiling it from eclipse, but I don't know what library they are in or it has to be done with the ATBleService.bin
If so, where should I put this file to compile it with the project?
I want to change the services and characteristics of the BLE but I don't know how to do it.
I am currently compiling it from eclipse, but I don't know what library they are in or it has to be done with the ATBleService.bin
If so, where should I put this file to compile it with the project?
Who is online
Users browsing this forum: No registered users and 152 guests