How to create AT server for STM32WB55? Got stuck in UTIL_SEQ_WaitEvt?
Hi!
I want to develop the AT Server for STM32WB55. I am using the custom template where all the BLE setting is already performed and now I want to write code for AT commands. What I do is to receive the command from the COM port and then execute it. E.g. ATDEVICE will give me name with which the WB55 is advertised. I can see all the funtions etc in app_ble.c file.
The problem is when I want to do something in response to the AT command e.g I want to stop advertising and call to function aci_gap_set_non_discoverable so it get stuck in the hci_cmd_resp_wait function and get stuck in the UTIL_SEQ_WaitEvt. I dont know if these two are relevant to each other. So every time I want to do something like advertise, stop advertise, change mode etc it is not running and get stuck there.
I have also tried the AT server example but is not working.
Any help will be appreciable.
Thanks in advance.
