- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using the CYBLE-012011 and have used it before, but am stumped on a simple function we have implemented in the past. Once I connect and pair, the bonding write initiates and then the program crashes and restarts, I have tried to figure out why, but the program will not break on the instructions?
Here is the storage code, pretty typical, but what is going on here, I have also attached a bundle to help figure this out.
/store the user pairing data if it is CYBLE_pendingflashwrite is set
if(cyBle_pendingFlashWrite != 0u )
{
apiResult = 1;
while(apiResult != CYBLE_ERROR_OK)
{
apiResult = CyBle_StoreBondingData(0u);
UART_PutString("\n\r Writing Bonding Data: API result - ");
UART_PutHexByte((uint8)apiResult);
CyBle_ProcessEvents();
}
UART_PutString("\n\r API result - ");
UART_PutHexByte((uint8)apiResult);
}
What could be causing the storage function to crash the program?
Why can't I break on the instructions shown, when I try to, the program restarts and the display
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Could you please check the Day015_Bonding code example and let us know if you are still facing this issue or not ?
'Output_Control.h' file is not present in your project. Could you please share this file ?
Thanks,
P Yugandhar.