Re: example GATT code to talk with a sensortag
From: Don Zickus <hidden>
Date: 2016-01-14 22:03:47
On Wed, Jan 13, 2016 at 10:44:02PM +0100, Łukasz Rymanowski wrote:
quoted
Thank you! I did _not_ see GattCharacteristic1 in the output, nor do I see either GattService or GattCharacteristic1 show up as an interface in either /org/bluez/hci0/dev_XXXXX or /org/bluez/hci0. Did I miss a step or misunderstand your suggestion?You got it well. To be more clear. If your bluetoothd runs with -E option and you connect to BLE device which expose any GATT services, after connect you should see new objects paths. Smth like this: a) /org/bluez/hci0/dev_XXXXX/servicexxxx b) /org/bluez/hci0/dev_XXXXX/servicexxxx/charyyyy c) /org/bluez/hci0/dev_XXXXX/servicexxxx/charzzzz etc. Inside a) you should see GattService1 and inside b) and c) GattCharacteristic1 Just make sure -E is there and if still not work, provide btmon.log
Some days are better than others. After rebooting yesterday, my bluetooth device stopped working... so while I am excited to test your suggestion, I am stuck trying to make it work again. So I apologize if my response comes later. I do appreciate the tips and patience! Hopefully tomorrow things will work again.. :-/ Cheers, Don