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

PASSKEY_ACTION event not passed to event listeners #1506

Open
br101 opened this issue May 25, 2023 · 0 comments
Open

PASSKEY_ACTION event not passed to event listeners #1506

br101 opened this issue May 25, 2023 · 0 comments

Comments

@br101
Copy link

br101 commented May 25, 2023

The BLE_GAP_EVENT_PASSKEY_ACTION event is only passed to the connection event handler (the one passed to ble_gap_ext_adv_configure() or ble_gap_connect()) but not to event listeners registered with ble_gap_event_listener_register().

Is there a reason for this?

Most events in ble_gap.c are passed to both:

ble_gap_event_listener_call(&event);
ble_gap_call_conn_event_cb(&event, conn_handle);

Only in ble_gap_repeat_pairing_event(), ble_gap_identity_event(), ble_gap_passkey_event(), ble_gap_rx_param_req() and ble_gap_rx_l2cap_update_req() there is only:

ble_gap_call_conn_event_cb(&event, conn_handle);
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