fbiego/ESP32_BLE_OTA_Arduino

Problem with initial flashing

cherbin opened this issue · 0 comments

Hello,
I am able to connect to my device using the Mobile App
I'm getting BT_SMP errors.

When connected the device terminal responds with:

Advertising BLE...
BLE APP connected...
Stopped advertising BLE...
Advertising BLE...
E (225670) BT_SMP: smp_calculate_link_key_from_long_term_key failed to update link_key. Sec Mode = 2, sm4 = 0x00
E (225670) BT_SMP: smp_derive_link_key_from_long_term_key failed

E (225677) BT_BTM: btm_proc_smp_cback received for unknown device
E (228839) BT_BTM: Device not found

BLE APP disconnected...
====================================== [SUCCESS] Took 568.16 seconds ======================================

The settings on the device are

#define USE_SPIFFS  //comment to use FFat

  #ifdef USE_SPIFFS
  #define FLASH SPIFFS
  #define FASTMODE false    //SPIFFS write is slow
  #else
  #define FLASH FFat
  #define FASTMODE true    //FFat is faster

Im not sure if USE_SPIFFS is correct ?