I am trying out BLE OTA Fixed stack Bootloading in CY8C4248LQI-BL583 PSoC. I have written a custom application with the BLE OTA Fixed stack bootloading method. I have added a custom service and bootloader service in the BLE component. I am getting an error in the Bootloadable project at disabling bootloader service instruction. If I comment that line project will build without any error. But Bootloader service will be visible on the Cysmart android application for bootloadable.
If I copy the CyBle folder from $Bootloader/GeneratedSource/PSoC to $Bootloadable(LED_ON_OFF)/GeneratedSource/PSoC new error shows up.
Why "CYBLE_EVT_AUTH_FAILED" shows up in the debug window in the bootloader project if we connect through the Cysmart android application? Also, it disconnects automatically after 3-4 seconds if we make a delay in selecting the ".cyacd" file in Cysmart application. Why is that so?
Please help me as soon as possible. I am attaching the project for your reference.
In fixed stack OTA architecture, the bootloadable project uses APIs from the bootloader project. Hence, please follow the steps mentioned in attached code example document and PSoC 4BLE DFU Application Note. Have you modified fixed stack bootloader code example project? The device enters low power mode when there is no activity. If the LED color changes to white (all 3 LEDs are on – green, blue, and red), the device goes into the low power mode in bootloader project. Please confirm LED shows white when you face the error.