MT2523 API Reference  LinkIt SDK v4

Define Classic Bluetooth GAP data types and values. More...

Overview

Define Classic Bluetooth GAP data types and values.

Macros

#define BT_GAP_LINK_STATUS_UPDATED_IND   (BT_MODULE_GAP | 0x0101)
 This event indicates the the link status changed, with bt_gap_link_status_updated_ind_t payload. More...
 
#define BT_GAP_IO_CAPABILITY_REQ_IND   (BT_MODULE_GAP | 0x0103)
 This event asks user for IO Capability response, with bt_gap_connection_handle_t payload, user need invoke bt_gap_reply_io_capability_request() API to accept and reply the pairing request, or invoke bt_gap_reject_io_capability_request() API to reject the pairing request. More...
 
#define BT_GAP_USER_CONFIRM_REQ_IND   (BT_MODULE_GAP | 0x0104)
 This event asks user for value confirm, with uint32_t payload, user need invoke bt_gap_reply_user_confirm_request() API to replay it according to the payload. More...
 
#define BT_GAP_USER_PASSKEY_NOTIFICATION_IND   (BT_MODULE_GAP | 0x0105)
 This event notify the passkey value to the user, with uint32_t payload, user need display the passkey on the screen. More...
 
#define BT_GAP_USER_PASSKEY_NOTIFICATION_END_IND   (BT_MODULE_GAP | 0x0106)
 This event notify the passkey entered to the user, with NULL payload. More...
 
#define BT_GAP_LINK_KEY_NOTIFICATION_IND   (BT_MODULE_GAP | 0x0107)
 This event notify user to update link key information, with bt_gap_link_key_notification_ind_t payload. More...
 
#define BT_GAP_USER_REPLY_PASSKEY_IND   (BT_MODULE_GAP | 0x0108)
 This event asks user for passkey, with NULL payload, user need invoke bt_gap_reply_passkey_request() API to replay it according to the display of the remote device. More...
 
#define BT_GAP_SET_SCAN_MODE_CNF   (BT_MODULE_GAP | 0x0109)
 This event indicates the confirmation of setting scan mode with NULL payload. More...
 
#define BT_GAP_INQUIRY_CNF   (BT_MODULE_GAP | 0x010A)
 This event indicates the confirmation of inquiry with NULL payload. More...
 
#define BT_GAP_CANCEL_INQUIRY_CNF   (BT_MODULE_GAP | 0x010B)
 This event indicates the confirmation of cancel inquiry with NULL payload. More...
 
#define BT_GAP_INQUIRY_IND   (BT_MODULE_GAP | 0x010C)
 This event indicates the result of inquiry with bt_gap_inquiry_ind_t payload. More...
 
#define BT_GAP_INQUIRY_COMPLETE_IND   (BT_MODULE_GAP | 0x010D)
 This event indicates the conpletement of inquiry with NULL payload. More...
 
#define BT_GAP_SET_ROLE_CNF   (BT_MODULE_GAP | 0x010E)
 This event indicates the confirmation of bt_gap_set_role() with NULL payload. More...
 
#define BT_GAP_ROLE_CHANGED_IND   (BT_MODULE_GAP | 0x010F)
 This event indicates the link role changed with bt_gap_role_changed_ind_t payload. More...
 
#define BT_GAP_READ_REMOTE_NAME_CNF   (BT_MODULE_GAP | 0x0110)
 This event indicates the confirmation of bt_gap_read_remote_name() with NULL payload. More...
 
#define BT_GAP_READ_REMOTE_NAME_COMPLETE_IND   (BT_MODULE_GAP | 0x0111)
 This event indicates the result of bt_gap_read_remote_name() with bt_gap_read_remote_name_complete_ind_t payload. More...
 
#define BT_GAP_READ_CANCEL_REMOTE_NAME_CNF   (BT_MODULE_GAP | 0x0112)
 This event indicates the confirmation of bt_gap_cancel_name_request() with NULL payload. More...
 
#define BT_GAP_ENTER_TEST_MODE_CNF   (BT_MODULE_GAP | 0x0113)
 This event indicates the confirmation of bt_gap_enter_test_mode() with NULL payload. More...
 
#define BT_GAP_WRITE_INQUIRY_TX_PWR_CNF   (BT_MODULE_GAP | 0x0114)
 This event indicates the confirmation of bt_gap_write_inquiry_tx() with NULL payload. More...
 
#define BT_GAP_READ_INQUIRY_RESPONSE_TX_CNF   (BT_MODULE_GAP | 0x0115)
 This event indicates the confirmation of bt_gap_read_inquiry_response_tx() with uint8_t payload. More...
 
#define BT_GAP_READ_RSSI_CNF   (BT_MODULE_GAP | 0x0116)
 This event indicates the confirmation of bt_gap_read_rssi() with bt_gap_read_rssi_cnf_t payload. More...
 
#define BT_GAP_GET_ROLE_CNF   (BT_MODULE_GAP | 0x0117)
 This event indicates the confirmation of bt_gap_get_role() with bt_gap_get_role_cnf_t payload. More...
 
#define BT_GAP_SET_EIR_CNF   (BT_MODULE_GAP | 0x0118)
 This event indicates the confirmation of bt_gap_set_extended_inquiry_response() with NULL payload. More...
 
#define BT_GAP_BONDING_START_IND   (BT_MODULE_GAP | 0x0119)
 This event indicates the start of bonding with bt_gap_connection_handle_t payload. More...
 
#define BT_GAP_BONDING_COMPLETE_IND   (BT_MODULE_GAP | 0x011A)
 This event indicates the result of bonding with NULL payload. More...
 
#define BT_GAP_WRITING_PAGE_SCAN_CNF   (BT_MODULE_GAP | 0x011B)
 This event indicates the confirmation of bt_gap_write_page_scan_activity() with NULL payload. More...
 
#define BT_GAP_WRITING_INQUIRY_SCAN_CNF   (BT_MODULE_GAP | 0x011C)
 This event indicates the confirmation of bt_gap_write_inquiry_scan_activity() with NULL payload. More...
 
#define BT_GAP_SCAN_MODE_NOT_ACCESSIBLE   0x00
 The device is not accessible. More...
 
#define BT_GAP_SCAN_MODE_DISCOVERABLE_ONLY   0x01
 The device is discoverable only. More...
 
#define BT_GAP_SCAN_MODE_CONNECTABLE_ONLY   0x02
 The device is connectable only. More...
 
#define BT_GAP_SCAN_MODE_GENERAL_ACCESSIBLE   0x03
 The device is discoverable and connectable. More...
 
#define BT_GAP_MAX_PIN_CODE_LENGTH   16
 The maximum length of pin code. More...
 
#define BT_GAP_MAX_DEVICE_NAME_LENGTH   31
 The maximum length of the device name, including null-ending char. More...
 
#define BT_GAP_OOB_DATA_PRESENTED_NONE   0x00
 Out-of-band data is not present. More...
 
#define BT_GAP_OOB_DATA_PRESENTED_P192   0x01
 P192 Out-of-band data is presented. More...
 
#define BT_GAP_OOB_DATA_PRESENTED_P256   0x02
 P256 Out-of-band data is presented. More...
 
#define BT_GAP_OOB_DATA_PRESENTED_P192_AND_P256   0x03
 P192 and P256 Out-of-band data are presented. More...
 
#define BT_GAP_IO_CAPABILITY_DISPLAY_ONLY   0x00
 The device has display only. More...
 
#define BT_GAP_IO_CAPABILITY_DISPLAY_YES_NO   0x01
 The device can display "YES" and "NO" buttons on the display. More...
 
#define BT_GAP_IO_CAPABILITY_KEYBOARD_ONLY   0x02
 The device has keyboard only. More...
 
#define BT_GAP_IO_CAPABILITY_NO_INPUT_NO_OUTPUT   0x03
 The device does not have input or output. More...
 
#define BT_GAP_SECURITY_LEVEL_0   0x8000
 No security. More...
 
#define BT_GAP_SECURITY_LEVEL_1   0x9000
 Minimal user interaction. More...
 
#define BT_GAP_SECURITY_LEVEL_2   0xA000
 Encrypted. More...
 
#define BT_GAP_SECURITY_LEVEL_3   0xB000
 MITM protected. More...
 
#define BT_GAP_SECURITY_LEVEL_4   0xC000
 The highest security, P256 key. More...
 
#define BT_GAP_LINK_STATUS_NONE   0x0000
 The link status is none. More...
 
#define BT_GAP_LINK_STATUS_DISCONNECTED   0x0004
 The link is disconnected. More...
 
#define BT_GAP_LINK_STATUS_CONNECTED_0   BT_GAP_SECURITY_LEVEL_0
 The link is connected without security. More...
 
#define BT_GAP_LINK_STATUS_CONNECTED_1   BT_GAP_SECURITY_LEVEL_1
 The link is connected with Minimal user interaction security. More...
 
#define BT_GAP_LINK_STATUS_CONNECTED_2   BT_GAP_SECURITY_LEVEL_2
 The link is connected with unauthenticated encrypted security. More...
 
#define BT_GAP_LINK_STATUS_CONNECTED_3   BT_GAP_SECURITY_LEVEL_3
 The link is connected with authenticated encrypted security. More...
 
#define BT_GAP_LINK_STATUS_CONNECTED_4   BT_GAP_SECURITY_LEVEL_4
 The link is connected with the highest security. More...
 
#define BT_GAP_SECURITY_AUTH_REQUEST_NO_BONDING_AUTO_ACCEPTED   0x00
 The authenticated request for no bonding and auto-reply confirmation. More...
 
#define BT_GAP_SECURITY_AUTH_REQUEST_MITM_NO_BONDING   0x01
 The authenticated request for no bonding and MITM protect. More...
 
#define BT_GAP_SECURITY_AUTH_REQUEST_DEDICATED_BONDING_AUTO_ACCEPTED   0x02
 The authenticated request for dedicated bonding and auto-reply confirmation. More...
 
#define BT_GAP_SECURITY_AUTH_REQUEST_MITM_DEDICATED_BONDING   0x03
 The authenticated request for dedicated bonding and MITM protect. More...
 
#define BT_GAP_SECURITY_AUTH_REQUEST_GENERAL_BONDING_AUTO_ACCEPTED   0x04
 The authenticated request for general bonding and auto-reply confirmation. More...
 
#define BT_GAP_SECURITY_AUTH_REQUEST_MITM_GENERAL_BONDING   0x05
 The authenticated request for general bonding and MITM protect. More...
 
#define BT_GAP_LINK_KEY_TYPE_COMBINATION   0x00
 The combination link-key type. More...
 
#define BT_GAP_LINK_KEY_TYPE_LOCAL_UNIT   0x01
 The local unit link-key type. More...
 
#define BT_GAP_LINK_KEY_TYPE_REMOTE_UNIT   0x02
 The remote unit link-key type. More...
 
#define BT_GAP_LINK_KEY_TYPE_DEBUG   0x03
 The debug link-key type. More...
 
#define BT_GAP_LINK_KEY_TYPE_UNAUTH_P192   0x04
 The P192 unauthenticated link-key type. More...
 
#define BT_GAP_LINK_KEY_TYPE_AUTH_P192   0x05
 The P192 authenticated link-key type. More...
 
#define BT_GAP_LINK_KEY_TYPE_CHANGED   0x06
 The changed link-key type. More...
 
#define BT_GAP_LINK_KEY_TYPE_UNAUTH_P256   0x07
 The P256 unauthenticated link-key type. More...
 
#define BT_GAP_LINK_KEY_TYPE_AUTH_P256   0x08
 The P256 authenticated link-key type. More...
 
#define BT_GAP_LINK_KEY_TYPE_INVAILIDE   0xFF
 The link-key is phase out, delete it. More...
 
#define BT_GAP_LINK_KEY_TYPE_INVALID   0xFF
 The link-key is phase out, delete it. More...
 
#define BT_GAP_INQUIRY_MODE_STANDARD   0x00
 The standard inquiry mode. More...
 
#define BT_GAP_INQUIRY_MODE_RSSI   0x01
 The RSSI inquiry mode. More...
 
#define BT_GAP_INQUIRY_MODE_RSSI_EIR   0x02
 The RSSI and EDR inquiry mode. More...
 

Typedefs

typedef uint8_t bt_gap_scan_mode_t
 Gap scan mode types for bt_gap_set_scan_mode(). More...
 
typedef uint8_t bt_gap_oob_data_presented_t
 The type of Out-of-band data being presented. More...
 
typedef uint8_t bt_gap_io_capability_t
 The device IO Capability types. More...
 
typedef uint16_t bt_gap_security_level_t
 The link security level types. More...
 
typedef uint16_t bt_gap_link_status_t
 The link status types, refer to BT_GAP_LINK_STATUS_UPDATED_IND. More...
 
typedef uint8_t bt_gap_security_auth_request_t
 The types of authenticated request, refer to # bt_gap_reply_io_capability_request(). More...
 
typedef uint8_t bt_gap_link_key_type_t
 The link-key types. More...
 
typedef uint8_t bt_gap_inquiry_mode_t
 The inquiry mode types. More...
 
typedef uint32_t bt_gap_connection_handle_t
 The link handle type. More...
 

Macro Definition Documentation

#define BT_GAP_BONDING_COMPLETE_IND   (BT_MODULE_GAP | 0x011A)

This event indicates the result of bonding with NULL payload.

#define BT_GAP_BONDING_START_IND   (BT_MODULE_GAP | 0x0119)

This event indicates the start of bonding with bt_gap_connection_handle_t payload.

#define BT_GAP_CANCEL_INQUIRY_CNF   (BT_MODULE_GAP | 0x010B)

This event indicates the confirmation of cancel inquiry with NULL payload.

#define BT_GAP_ENTER_TEST_MODE_CNF   (BT_MODULE_GAP | 0x0113)

This event indicates the confirmation of bt_gap_enter_test_mode() with NULL payload.

#define BT_GAP_GET_ROLE_CNF   (BT_MODULE_GAP | 0x0117)

This event indicates the confirmation of bt_gap_get_role() with bt_gap_get_role_cnf_t payload.

#define BT_GAP_INQUIRY_CNF   (BT_MODULE_GAP | 0x010A)

This event indicates the confirmation of inquiry with NULL payload.

#define BT_GAP_INQUIRY_COMPLETE_IND   (BT_MODULE_GAP | 0x010D)

This event indicates the conpletement of inquiry with NULL payload.

#define BT_GAP_INQUIRY_IND   (BT_MODULE_GAP | 0x010C)

This event indicates the result of inquiry with bt_gap_inquiry_ind_t payload.

#define BT_GAP_INQUIRY_MODE_RSSI   0x01

The RSSI inquiry mode.

#define BT_GAP_INQUIRY_MODE_RSSI_EIR   0x02

The RSSI and EDR inquiry mode.

#define BT_GAP_INQUIRY_MODE_STANDARD   0x00

The standard inquiry mode.

It is the default mode.

#define BT_GAP_IO_CAPABILITY_DISPLAY_ONLY   0x00

The device has display only.

#define BT_GAP_IO_CAPABILITY_DISPLAY_YES_NO   0x01

The device can display "YES" and "NO" buttons on the display.

#define BT_GAP_IO_CAPABILITY_KEYBOARD_ONLY   0x02

The device has keyboard only.

#define BT_GAP_IO_CAPABILITY_NO_INPUT_NO_OUTPUT   0x03

The device does not have input or output.

#define BT_GAP_IO_CAPABILITY_REQ_IND   (BT_MODULE_GAP | 0x0103)

This event asks user for IO Capability response, with bt_gap_connection_handle_t payload, user need invoke bt_gap_reply_io_capability_request() API to accept and reply the pairing request, or invoke bt_gap_reject_io_capability_request() API to reject the pairing request.

#define BT_GAP_LINK_KEY_NOTIFICATION_IND   (BT_MODULE_GAP | 0x0107)

This event notify user to update link key information, with bt_gap_link_key_notification_ind_t payload.

#define BT_GAP_LINK_KEY_TYPE_AUTH_P192   0x05

The P192 authenticated link-key type.

#define BT_GAP_LINK_KEY_TYPE_AUTH_P256   0x08

The P256 authenticated link-key type.

#define BT_GAP_LINK_KEY_TYPE_CHANGED   0x06

The changed link-key type.

#define BT_GAP_LINK_KEY_TYPE_COMBINATION   0x00

The combination link-key type.

#define BT_GAP_LINK_KEY_TYPE_DEBUG   0x03

The debug link-key type.

#define BT_GAP_LINK_KEY_TYPE_INVAILIDE   0xFF

The link-key is phase out, delete it.

Deprecated:
Please use BT_GAP_LINK_KEY_TYPE_INVALID instead.
#define BT_GAP_LINK_KEY_TYPE_INVALID   0xFF

The link-key is phase out, delete it.

#define BT_GAP_LINK_KEY_TYPE_LOCAL_UNIT   0x01

The local unit link-key type.

#define BT_GAP_LINK_KEY_TYPE_REMOTE_UNIT   0x02

The remote unit link-key type.

#define BT_GAP_LINK_KEY_TYPE_UNAUTH_P192   0x04

The P192 unauthenticated link-key type.

#define BT_GAP_LINK_KEY_TYPE_UNAUTH_P256   0x07

The P256 unauthenticated link-key type.

#define BT_GAP_LINK_STATUS_CONNECTED_0   BT_GAP_SECURITY_LEVEL_0

The link is connected without security.

#define BT_GAP_LINK_STATUS_CONNECTED_1   BT_GAP_SECURITY_LEVEL_1

The link is connected with Minimal user interaction security.

#define BT_GAP_LINK_STATUS_CONNECTED_2   BT_GAP_SECURITY_LEVEL_2

The link is connected with unauthenticated encrypted security.

#define BT_GAP_LINK_STATUS_CONNECTED_3   BT_GAP_SECURITY_LEVEL_3

The link is connected with authenticated encrypted security.

#define BT_GAP_LINK_STATUS_CONNECTED_4   BT_GAP_SECURITY_LEVEL_4

The link is connected with the highest security.

#define BT_GAP_LINK_STATUS_DISCONNECTED   0x0004

The link is disconnected.

#define BT_GAP_LINK_STATUS_NONE   0x0000

The link status is none.

#define BT_GAP_LINK_STATUS_UPDATED_IND   (BT_MODULE_GAP | 0x0101)

This event indicates the the link status changed, with bt_gap_link_status_updated_ind_t payload.

#define BT_GAP_MAX_DEVICE_NAME_LENGTH   31

The maximum length of the device name, including null-ending char.

#define BT_GAP_MAX_PIN_CODE_LENGTH   16

The maximum length of pin code.

#define BT_GAP_OOB_DATA_PRESENTED_NONE   0x00

Out-of-band data is not present.

#define BT_GAP_OOB_DATA_PRESENTED_P192   0x01

P192 Out-of-band data is presented.

#define BT_GAP_OOB_DATA_PRESENTED_P192_AND_P256   0x03

P192 and P256 Out-of-band data are presented.

#define BT_GAP_OOB_DATA_PRESENTED_P256   0x02

P256 Out-of-band data is presented.

#define BT_GAP_READ_CANCEL_REMOTE_NAME_CNF   (BT_MODULE_GAP | 0x0112)

This event indicates the confirmation of bt_gap_cancel_name_request() with NULL payload.

#define BT_GAP_READ_INQUIRY_RESPONSE_TX_CNF   (BT_MODULE_GAP | 0x0115)

This event indicates the confirmation of bt_gap_read_inquiry_response_tx() with uint8_t payload.

#define BT_GAP_READ_REMOTE_NAME_CNF   (BT_MODULE_GAP | 0x0110)

This event indicates the confirmation of bt_gap_read_remote_name() with NULL payload.

#define BT_GAP_READ_REMOTE_NAME_COMPLETE_IND   (BT_MODULE_GAP | 0x0111)

This event indicates the result of bt_gap_read_remote_name() with bt_gap_read_remote_name_complete_ind_t payload.

#define BT_GAP_READ_RSSI_CNF   (BT_MODULE_GAP | 0x0116)

This event indicates the confirmation of bt_gap_read_rssi() with bt_gap_read_rssi_cnf_t payload.

#define BT_GAP_ROLE_CHANGED_IND   (BT_MODULE_GAP | 0x010F)

This event indicates the link role changed with bt_gap_role_changed_ind_t payload.

#define BT_GAP_SCAN_MODE_CONNECTABLE_ONLY   0x02

The device is connectable only.

#define BT_GAP_SCAN_MODE_DISCOVERABLE_ONLY   0x01

The device is discoverable only.

#define BT_GAP_SCAN_MODE_GENERAL_ACCESSIBLE   0x03

The device is discoverable and connectable.

#define BT_GAP_SCAN_MODE_NOT_ACCESSIBLE   0x00

The device is not accessible.

#define BT_GAP_SECURITY_AUTH_REQUEST_DEDICATED_BONDING_AUTO_ACCEPTED   0x02

The authenticated request for dedicated bonding and auto-reply confirmation.

#define BT_GAP_SECURITY_AUTH_REQUEST_GENERAL_BONDING_AUTO_ACCEPTED   0x04

The authenticated request for general bonding and auto-reply confirmation.

#define BT_GAP_SECURITY_AUTH_REQUEST_MITM_DEDICATED_BONDING   0x03

The authenticated request for dedicated bonding and MITM protect.

#define BT_GAP_SECURITY_AUTH_REQUEST_MITM_GENERAL_BONDING   0x05

The authenticated request for general bonding and MITM protect.

#define BT_GAP_SECURITY_AUTH_REQUEST_MITM_NO_BONDING   0x01

The authenticated request for no bonding and MITM protect.

#define BT_GAP_SECURITY_AUTH_REQUEST_NO_BONDING_AUTO_ACCEPTED   0x00

The authenticated request for no bonding and auto-reply confirmation.

#define BT_GAP_SECURITY_LEVEL_0   0x8000

No security.

#define BT_GAP_SECURITY_LEVEL_1   0x9000

Minimal user interaction.

#define BT_GAP_SECURITY_LEVEL_2   0xA000

Encrypted.

#define BT_GAP_SECURITY_LEVEL_3   0xB000

MITM protected.

#define BT_GAP_SECURITY_LEVEL_4   0xC000

The highest security, P256 key.

#define BT_GAP_SET_EIR_CNF   (BT_MODULE_GAP | 0x0118)

This event indicates the confirmation of bt_gap_set_extended_inquiry_response() with NULL payload.

#define BT_GAP_SET_ROLE_CNF   (BT_MODULE_GAP | 0x010E)

This event indicates the confirmation of bt_gap_set_role() with NULL payload.

#define BT_GAP_SET_SCAN_MODE_CNF   (BT_MODULE_GAP | 0x0109)

This event indicates the confirmation of setting scan mode with NULL payload.

#define BT_GAP_USER_CONFIRM_REQ_IND   (BT_MODULE_GAP | 0x0104)

This event asks user for value confirm, with uint32_t payload, user need invoke bt_gap_reply_user_confirm_request() API to replay it according to the payload.

#define BT_GAP_USER_PASSKEY_NOTIFICATION_END_IND   (BT_MODULE_GAP | 0x0106)

This event notify the passkey entered to the user, with NULL payload.

user need cancel the passkey showing on the screen.

#define BT_GAP_USER_PASSKEY_NOTIFICATION_IND   (BT_MODULE_GAP | 0x0105)

This event notify the passkey value to the user, with uint32_t payload, user need display the passkey on the screen.

#define BT_GAP_USER_REPLY_PASSKEY_IND   (BT_MODULE_GAP | 0x0108)

This event asks user for passkey, with NULL payload, user need invoke bt_gap_reply_passkey_request() API to replay it according to the display of the remote device.

#define BT_GAP_WRITE_INQUIRY_TX_PWR_CNF   (BT_MODULE_GAP | 0x0114)

This event indicates the confirmation of bt_gap_write_inquiry_tx() with NULL payload.

#define BT_GAP_WRITING_INQUIRY_SCAN_CNF   (BT_MODULE_GAP | 0x011C)

This event indicates the confirmation of bt_gap_write_inquiry_scan_activity() with NULL payload.

#define BT_GAP_WRITING_PAGE_SCAN_CNF   (BT_MODULE_GAP | 0x011B)

This event indicates the confirmation of bt_gap_write_page_scan_activity() with NULL payload.

Typedef Documentation

typedef uint32_t bt_gap_connection_handle_t

The link handle type.

typedef uint8_t bt_gap_inquiry_mode_t

The inquiry mode types.

typedef uint8_t bt_gap_io_capability_t

The device IO Capability types.

typedef uint8_t bt_gap_link_key_type_t

The link-key types.

typedef uint16_t bt_gap_link_status_t

The link status types, refer to BT_GAP_LINK_STATUS_UPDATED_IND.

typedef uint8_t bt_gap_oob_data_presented_t

The type of Out-of-band data being presented.

typedef uint8_t bt_gap_scan_mode_t

Gap scan mode types for bt_gap_set_scan_mode().

The types of authenticated request, refer to # bt_gap_reply_io_capability_request().

typedef uint16_t bt_gap_security_level_t

The link security level types.