redbear / IoT_pHAT

WiFi + Bluetooth, designed for the Raspberry Pi Zero
110 stars 32 forks source link

bluez_ble mac_address AA:AA:AA:AA:AA:AA #9

Closed louisnicolas closed 8 years ago

louisnicolas commented 8 years ago

Hi all,

I'am using the board on a PI Zero with QT 5.7.1 and I developped a BLE server.

Everything works well except the mac-address always : AA:AA:AA:AA:AA:AA:AA

I checked with hciconfig.

pi@raspberrypi:~ $ sudo hciconfig status hci0: Type: Primary Bus: UART BD Address: AA:AA:AA:AA:AA:AA ACL MTU: 1021:8 SCO MTU: 64:1 UP RUNNING RX bytes:10266 acl:485 sco:0 events:589 errors:0 TX bytes:16384 acl:530 sco:0 commands:72 errors:0

It seems the bluez layer does not find the mac address. Do you know how I can to set it ?

My Pi is running bluez-5.41 and I updated to firmware of the IoT_pHat.

Thank for your help, Have a nice day, Nicolas

Cheong2K commented 8 years ago

I think there was something wrong with you, did you run sudo rpi-update ?

louisnicolas commented 8 years ago

Hi ! Thank you for your answer. After a rpi-update, I get the mac-address.

Very nice product working fine with QT 5.7 as BLE server :)

Cheong2K commented 8 years ago

Great! Please also share how to use QT with the Pi Zero if you can.

louisnicolas commented 8 years ago

I prepare a tutorial and I share it :)