Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with initial flashing #35

Open
cherbin opened this issue Apr 21, 2024 · 0 comments
Open

Problem with initial flashing #35

cherbin opened this issue Apr 21, 2024 · 0 comments

Comments

@cherbin
Copy link

cherbin commented Apr 21, 2024

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant