pub const esp_ble_sec_act_t_ESP_BLE_SEC_ENCRYPT: u32 = 1; // 1u32
Expand description

< relate to BTA_DM_BLE_SEC_ENCRYPT in bta/bta_api.h. If the device has already bonded, the stack will used Long Term Key (LTK) to encrypt with the remote device directly. Else if the device hasn’t bonded, the stack will used the default authentication request used the esp_ble_gap_set_security_param function set by the user.