2 years, 7 months ago.
BLE on Nucleo-L476RG with X-NUCLEO-IDB05A1
I wanted to try BLE on my Nucleo-L476RG Board with a BLE shield: the X-NUCLEO-IDB05A1. So first, I tried the mbed-os-example-ble-Beacon and it worked. When I looked on the application nRF connect on my phone, I could see my BLE device. However, when I tried with the mbed-os-example-ble-HeartRate example, it didn't work. It seems to be the line ble.gap().startAdvertising(); that doesn't work. Indeed, it returns BLE_STACK_BUSY everytime. Is there someone that has this problem with the X-NUCLEO-IDB05A1 shield and know what happen ?
Thank you, Julien
2 years, 6 months ago.
Hi Julien, I also am working with the L476/5A1. Thanks for posting, I was noticing issue with reset between different versions of the 5A1 code.
Did you have to change anything else? My (very very simple) code is failing on BLE::Instance.init(...). If I turn on the PRINTFs in the 5A1 library I see the debug statements from btle.cpp:
btleInit>> GATT_Init failed. GAP_Init failed. Auth Req set failed.
: : I try to start scanning during the init callback...
scanningParams.getInterval()=100[msec] scanningParams.getWindow()=100[msec] Observation Procedure not implemented!!!
... and clearly scan fails because it didn't initialize... but I'm wondering if there was anything else you had to change in the hardware or in the mbed_app.json?
You need to log in to post a question