ruby-ble icon indicating copy to clipboard operation
ruby-ble copied to clipboard

'rescue_in_refresh!' BLE::Not::Ready

Open hhseine opened this issue 9 years ago • 4 comments

Hi, I was playing around with your gem and got this error when trying to do the following things:

  • connect to a ble device
  • get rssi, tx_power, services or characteristics.

I tried running ruby on a raspberry pi 3 and a dragonboard but got the same error. I updated bluez to the latest version and also used a bluetooth dongle to be sure that the problem was not coming from the internal bluetooth of the boards. I also played around with hciconfig but no success. I wonder if someone already encountered the same problem or not.

Thanks for your help in advance.

hhseine avatar Jan 27 '17 17:01 hhseine

+1

terry90 avatar May 05 '17 16:05 terry90

+1

cozzubbo avatar Jan 21 '18 17:01 cozzubbo

+1

rights-uchida avatar Feb 06 '18 10:02 rights-uchida

Same issue here. Looking at the error in details:

#<DBus::Error: No such property 'GattServices'; caused by 3 sender=:1.3 -> dest=:1.423406 serial=394 reply_serial=40 path=; interface=; member= error_name=org.freedesktop.DBus.Error.InvalidArgs>

Using bluetoothclt allow to connect, pair and explore the device using the gatt submenu.

Looks very similar to #6

kamaradclimber avatar May 19 '18 12:05 kamaradclimber