5 Replies Latest reply on Feb 20, 2020 8:36 PM by ShipingW_81

    Cy_BLE_StoreBondingData一直返回INVALID PARAMETER

    lvji_2284726

      使用PSOC6做BLE Bonding处理,按照下面的方式调用Cy_BLE_StoreBondingData函数,发现函数返回值一直error,

                              /* Store bonding data to flash only when all debug information has been sent */   

                              if(cy_ble_pendingFlashWrite != 0u)

                              {  

                                  bleApiResult = Cy_BLE_StoreBondingData();   

                                  DebugPrintf("Store bonding data, status: %x, pending: %x \r\n", bleApiResult, cy_ble_pendingFlashWrite);

                              }

      请问是什么原因导致该函数一直返回错误值。