4 Replies Latest reply on Jan 10, 2020 12:54 AM by AkFu_2553776

    Cy8C4248LQI-BL553 can not restart BLE component

    AkFu_2553776

      My design have 1 tact switch which control the devices Power On/OFF.

      So I need turn on and off BLE function too. But only first time works.

       

      I imported Cypress official project BLE_FineMe to this device.

      Then add following code  just after original BLE start code.

          apiResult = CyBle_Start(StackEventHandler);    /* original BLE_Start */

          CyBle_Stop();       /* added */

          apiResult = CyBle_Start(StackEventHandler);     /* added */

       

      Using debugger I observed first CyBLE_Start executed and reached to next line.

      But second time never come back from the function, never reach to next line.

       

      I attached project file. Please help how can I solve this.