forked from espressif/esp-idf
component/bt : fix the authentication req type
This commit is contained in:
@@ -109,15 +109,11 @@ typedef struct {
|
|||||||
* @brief Gatt authentication request type
|
* @brief Gatt authentication request type
|
||||||
*/
|
*/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
AUTH_REQ_NO_SCATTERNET, /* Device doesn't support scatternet, it might
|
ESP_GATT_AUTH_REQ_NONE = 0,
|
||||||
support "role switch during connection" for
|
ESP_GATT_AUTH_REQ_NO_MITM = 1, /* unauthenticated encryption */
|
||||||
an incoming connection, when it already has
|
ESP_GATT_AUTH_REQ_MITM = 2, /* authenticated encryption */
|
||||||
another connection in master role */
|
ESP_GATT_AUTH_REQ_SIGNED_NO_MITM = 3,
|
||||||
AUTH_REQ_PARTIAL_SCATTERNET, /* Device supports partial scatternet. It can have
|
ESP_GATT_AUTH_REQ_SIGNED_MITM = 4,
|
||||||
simulateous connection in Master and Slave roles
|
|
||||||
for short period of time */
|
|
||||||
AUTH_REQ_FULL_SCATTERNET /* Device can have simultaneous connection in master
|
|
||||||
and slave roles */
|
|
||||||
} esp_gatt_auth_req_t;
|
} esp_gatt_auth_req_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user