2021-11-09 05:26 AM
Hi,
We are currently working on a custom board with the SPBTLE-RF0 used for BLE communication and a uC from the L4 family (STM32L4A6VGT6P).
We used the SensorDemoBLE example as a starting point and programmed it to the board through SWD. From adding breakpoints to check where the communication fails, we found that the device is able to initialise and advertise to mobile phones. However as soon as the phone tries to connect, it results in a GATT error.
It seems that within the User_Process() function, Set_DeviceConnectable() seems to fail during the hci_send_req() but I am not able to figure out why this occurs.
Is there a way to resolve this or am I missing any steps when trying to integrate the software package to the board?
Thanks in advance,
Jona