Help troubleshooting a random Bluez 5.50 Failed to set privacy: Rejected (0x0b) error during IPL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a Raspberry Pi Zero W setup as a Bluetooth LE peripheral based on
BlueZ 5.50 and Node.JS. I'm running this on Raspbian Stretch Lite with a
build date of November 13, 2018. I upgraded BlueZ from 5.43 to 5.50. My
blePeripheral class works well for me, I'm able to securely bind to my
iPhone and exchange encrypted data with the Raspberry Pi Zero W. as
expected.

However, If I reboot the Raspberry Pi, and the random address of the bound
device (iPad in this example) changes, that device can no longer read or
write a secure characteristic. This seems to randomly happen, sometimes I
can reboot the Pi and everything is fine. When this happens (see snipit).
If I issue a sudo systemctl restart bluetooth after I get this error
everything works great until it randomly pops up again.  I have posted more
detail on the problem here
https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=229337 

I'm open for trying anything all suggestions welcome.  Thanks

snipit from journalctl -u bluetooth.  
Jan 15 09:51:21 rgPi1 bluetoothd[355]: src/adapter.c:set_name() sending set
local name command for index 0
Jan 15 09:51:21 rgPi1 bluetoothd[355]: src/adapter.c:set_mode() sending set
mode command for index 0
Jan 15 09:51:21 rgPi1 bluetoothd[355]: src/adapter.c:new_settings_callback()
Settings: 0x00000281
Jan 15 09:51:21 rgPi1 bluetoothd[355]: src/adapter.c:settings_changed()
Changed settings: 0x00000201
Jan 15 09:51:21 rgPi1 bluetoothd[355]: src/adapter.c:adapter_start() adapter
/org/bluez/hci0 has been enabled
Jan 15 09:51:21 rgPi1 bluetoothd[355]:
src/adapter.c:trigger_passive_scanning()
Jan 15 09:51:21 rgPi1 bluetoothd[355]:
src/adapter.c:trigger_passive_scanning()

Jan 15 09:51:21 rgPi1 bluetoothd[355]: Failed to set mode: Rejected (0x0b)
Jan 15 09:51:21 rgPi1 bluetoothd[355]: Failed to set mode: Rejected (0x0b)
Jan 15 09:51:21 rgPi1 bluetoothd[355]: Failed to set privacy: Rejected
(0x0b)

Jan 15 09:51:21 rgPi1 bluetoothd[355]:
src/adapter.c:load_link_keys_complete() link keys loaded for hci0
Jan 15 09:51:21 rgPi1 bluetoothd[355]: src/adapter.c:load_ltks_complete()
LTKs loaded for hci0
Jan 15 09:51:21 rgPi1 bluetoothd[355]: src/adapter.c:load_irks_complete()
IRKs loaded for hci0
Jan 15 09:51:21 rgPi1 bluetoothd[355]:
src/adapter.c:load_conn_params_complete() Connection Parameters loaded for
hci0
Jan 15 09:51:21 rgPi1 bluetoothd[355]:
src/adapter.c:local_name_changed_callback() Name: rGauge Transmitter
Jan 15 09:51:21 rgPi1 bluetoothd[355]:
src/adapter.c:local_name_changed_callback() Short name:
Jan 15 09:51:21 rgPi1 bluetoothd[355]:
src/adapter.c:local_name_changed_callback() Current alias: rGauge
Transmitter




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux