carsonmcdonald / bluez-ibeacon

Complete example of using Bluez as an iBeacon
MIT License
140 stars 38 forks source link

Problem with ./ibeacon #3

Open gottarts opened 10 years ago

gottarts commented 10 years ago

I followed your tutorial but I'm stuck at this point and don't know how to make this work

root@demo-mcd:/home/demo-mcd/bluez/bluez-5.15/bluez-ibeacon/bluez-beacon# ./ibeacon 200 e2c56db5dffb48d2b060d0f5a71096e0 1 1 -29 Can't send request File descriptor in bad state (77) root@demo-mcd:/home/demo-mcd/bluez/bluez-5.15/bluez-ibeacon/bluez-beacon# ls ibeacon ibeacon.c Makefile root@demo-mcd:/home/demo-mcd/bluez/bluez-5.15/bluez-ibeacon/bluez-beacon# ibeacon 200 e2c56db5dffb48d2b060d0f5a71096e0 1 1 -29 bash: ibeacon: command not found root@demo-mcd:/home/demo-mcd/bluez/bluez-5.15/bluez-ibeacon/bluez-beacon# ./ibeacon 200 e2c56db5dffb48d2b060d0f5a71096e0 1 1 -29 Can't send request File descriptor in bad state (77) root@demo-mcd:/home/demo-mcd/bluez/bluez-5.15/bluez-ibeacon/bluez-beacon# sudo ./ibeacon 200 e2c56db5dffb48d2b060d0f5a71096e0 1 1 -29 Can't send request File descriptor in bad state (77)

carsonmcdonald commented 10 years ago

@gottarts My guess is that the bluetooth device isn't available for some reason. You may want to check in the system logs and make sure it was detected correctly.