Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » ble disconnect(ble disconnect)
ble disconnect [message #1726570] Mon, 14 March 2016 17:33 Go to next message
Umesh Tiwari is currently offline Umesh TiwariFriend
Messages: 2
Registered: March 2016
Junior Member
Hi,

I sometime see this message in my log and it then stops sending any command to ble sensor.

"bluetoothd[390]: Unexpected index 0 in device_disconnected"

it appears to me that ble connection has been broken with the ble sensor.

I tried checking how to know when there is any disconnect and then initiate the connection again. But i couldn't find any listener to implement to get connection status event asynchronously.

Can anyone help me in resolving this issue.

Regards,
Umesh
Re: ble disconnect [message #1726760 is a reply to message #1726570] Wed, 16 March 2016 09:21 Go to previous messageGo to next message
Pierantonio Merlino is currently offline Pierantonio MerlinoFriend
Messages: 39
Registered: March 2016
Member
Hi,

in the TiSensorTag class there is a checkConnection method that tests if the device is connected with gatttool.
You could use this method to poll the device, but there isn't a listener for this.

Best,
Pier
Re: ble disconnect [message #1732761 is a reply to message #1726760] Fri, 20 May 2016 04:42 Go to previous message
David Nguyen is currently offline David NguyenFriend
Messages: 13
Registered: March 2016
Junior Member
Hi,

May you havn't enable LE capabilities on your BT interface. Try to re enable LE capabilities and restart your service.

cd bluez-4.101/mgmt
sudo ./btmgmt le on
Previous Topic:Decoding the kura payload on the cloud
Next Topic:Store and Forward feature for Http web service call
Goto Forum:
  


Current Time: Thu Mar 28 13:58:07 GMT 2024

Powered by FUDForum. Page generated in 0.03353 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top