Closed haesslo closed 5 years ago
Hi Vlad
I did still find some configuration issues in my code (incl. one file not readable by openhab due to permission). However I only got it going with the first 8 digits of the UUID - and not with the full UUID, right ? Also (might be wrong) I had the feeling that something is caching file massively as at one point I had to do a "clear-cache" in openhab to get it going.... By the way, do we know why marketplace bindings get removed and not reinstalled at clear-chache ?
Last question would be if it is correct to run these kind of things with 'Connection Control' enabled ?
Sorry for bothering
haesslo
Hi Vlad
I looked at all the instructions for custom GATT incl. the issue of RL00li and played around for a day, but am still stuck.
In bluetoothctl I have: [NEW] Device 30:AE:A4:26:3D:82 MyESP32 [NEW] Primary Service /org/bluez/hci0/dev_30_AE_A4_26_3D_82/service0028 17170000-1fb5-459e-8fcc-c5c9c331914b Vendor specific [NEW] Characteristic /org/bluez/hci0/dev_30_AE_A4_26_3D_82/service0028/char002c 17170002-1fb5-459e-8fcc-c5c9c331914b Vendor specific [NEW] Characteristic /org/bluez/hci0/dev_30_AE_A4_26_3D_82/service0028/char0029 17170001-1fb5-459e-8fcc-c5c9c331914b Vendor specific [NEW] Descriptor /org/bluez/hci0/dev_30_AE_A4_26_3D_82/service0028/char0029/desc002b 00002902-0000-1000-8000-00805f9b34fb Client Characteristic Configuration [NEW] Primary Service /org/bluez/hci0/dev_30_AE_A4_26_3D_82/service0001 00001801-0000-1000-8000-00805f9b34fb Generic Attribute Profile [NEW] Characteristic /org/bluez/hci0/dev_30_AE_A4_26_3D_82/service0001/char0002 00002a05-0000-1000-8
I configured the path in :![image](https://user-images.githubusercontent.com/45316994/48971493-b9186600-f01a-11e8-8628-fa9a95ec2f9a.png)
I have the services an characteristics files, but not sure (no log on it) if they get parsed:
in : \home\openhabian.ble\service\com.myesp32.service.test2.xml:
In \home\openhabian.ble\characteristic\com.myesp32.characteristic.test_value1.xml:
and in \home\openhabian.ble\characteristic\com.myesp32.characteristic.test_value2.xml:
But what I get in openhab is :![image](https://user-images.githubusercontent.com/45316994/48971568-abafab80-f01b-11e8-8f23-2852dff1b07d.png)
Any good idea, where I made a stupid misstake ? I turned on the debugging in the console for your handler, but zero feedback...so I am simply not sure if the file get found/parsed or not
Thanks - If anyone interested I can share the esp32 code.
haesslo