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

os/board/rtl8730e: Add BLE client numeric comparison callback and auto send pairing request #6685

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yeetee179
Copy link
Contributor

  • added client numeric comparison callback ble_device_passkey_display_cb to app layer
  • added start pairing API ble_manager_start_bond to app layer
  • added flag auto_sec_req to automatically send pairing request when connected
  • removed is_secured condition checking, which is previously used to check if pairing should take place after connection.

…o send pairing request

- added client numeric comparison callback ble_device_passkey_display_cb to app layer
- added start pairing API  ble_manager_start_bond to app layer
- added flag auto_sec_req to automatically send pairing request  when connected
- removed is_secured condition checking, which is previously used to check if pairing should take place after connection.
@yeetee179 yeetee179 force-pushed the AI-Lite_add_passkey_return_to_client_5 branch from fadf066 to dd65155 Compare February 19, 2025 08:02
hs36-kim
hs36-kim previously approved these changes Feb 21, 2025
Copy link
Contributor

@hs36-kim hs36-kim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cancel

@@ -74,13 +74,15 @@ typedef void(*ble_client_device_disconnected_cb)(ble_client_ctx *ctx);
typedef void(*ble_client_device_connected_cb)(ble_client_ctx *ctx, ble_device_connected* connected_device);
typedef void(*ble_client_operation_notification_cb)(ble_client_ctx *ctx, ble_attr_handle attr_handle, ble_data* read_result);
typedef void (*ble_client_operation_indication_cb)(ble_client_ctx *ctx, ble_attr_handle attr_handle, ble_data* read_result);
typedef void (*ble_client_passkey_display_cb)(ble_client_ctx *ctx, uint32_t passkey_display_cb, ble_conn_handle conn_handle);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
typedef void (*ble_client_passkey_display_cb)(ble_client_ctx *ctx, uint32_t passkey_display_cb, ble_conn_handle conn_handle);
typedef void (*ble_client_passkey_display_cb)(ble_client_ctx *ctx, uint32_t passkey, ble_conn_handle 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

Successfully merging this pull request may close these issues.

3 participants