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

do not work with ESP32-C3 #275

Open
siteswapjuggler opened this issue Dec 28, 2023 · 1 comment
Open

do not work with ESP32-C3 #275

siteswapjuggler opened this issue Dec 28, 2023 · 1 comment

Comments

@siteswapjuggler
Copy link

siteswapjuggler commented Dec 28, 2023

Hello after some testing it appears that this library doesn't work with ESP32-C3. The compilation works fine, the device appears in bluetooth managers, it seems to connect, but it doesn't send any keystroke.

Here is what I got on the serial port :

`Starting BLE work!
Waiting 5 seconds...
Waiting 5 seconds...
Waiting 5 seconds...
Waiting 5 seconds...
Waiting 5 seconds...
Waiting 5 seconds...
Waiting 5 seconds...
Waiting 5 seconds...
Waiting 5 seconds...
Waiting 5 seconds...
Waiting 5 seconds...
Waiting 5 seconds...
E (57804) BT_GATT: GATT_INSUF_ENCRYPTION

E (58195) BT_SMP: smp_calculate_link_key_from_long_term_key failed to update link_key. Sec Mode = 2, sm4 = 0x00
E (58196) BT_SMP: smp_derive_link_key_from_long_term_key failed

E (58201) BT_BTM: btm_proc_smp_cback received for unknown device
E (58206) BT_BTM: BTM_GetSecurityFlags false

E (58210) BT_GATT: GATT_INSUF_AUTHENTICATION

E (58314) BT_BTM: BTM_GetSecurityFlags false

E (58314) BT_GATT: GATT_INSUF_AUTHENTICATION

E (58344) BT_BTM: BTM_GetSecurityFlags false

E (58344) BT_GATT: GATT_INSUF_AUTHENTICATION

E (59889) BT_BTM: BTM_GetSecurityFlags false

Sending 'Hello world'...
E (60939) BT_BTM: BTM_GetSecurityFlags false

Sending Enter key...
Sending Play/Pause media key...
Waiting 5 seconds...
Sending 'Hello world'...
Sending Enter key...
Sending Play/Pause media key...
Waiting 5 seconds...
Sending 'Hello world'...
Sending Enter key...
Sending Play/Pause media key...
Waiting 5 seconds...
Sending 'Hello world'...
Sending Enter key...
Sending Play/Pause media key...
E (87354) BT_BTM: BTM_GetSecurityFlags false

E (87384) BT_BTM: BTM_GetSecurityFlags false

E (87474) BT_BTM: BTM_GetSecurityFlags false

E (87504) BT_BTM: BTM_GetSecurityFlags false

`

@siteswapjuggler
Copy link
Author

Ok found a solution here : https://github.com/oden-umaru/ESP32C3-BLE-Keyboard
This fork works well with ESP32-C3

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