+void _bt_hal_enable_gap_auth_notifications(unsigned int type, gboolean enable)
+{
+ INFO("type: %d, enable: %d", type, enable);
+
+ switch (type) {
+ case BT_PASSKEY_CONFIRMATION:
+ /* Note: Currently not used for notification sending, should be used when required */
+ passkey_confirm_notification = enable;
+ break;
+ case BT_PASSKEY_DISPLAY:
+ passkey_display_notification = enable;
+ break;
+ case BT_PASSKEY_ENTRY:
+ /* Note: Currently not used for notification sending, should be used when required */
+ passkey_notification = enable;
+ break;
+ case BT_PINCODE_ENTRY:
+ pincode_notification = enable;
+ break;
+ default:
+ ERR("Unknown type: %d", type);
+ }
+}
+