btstack/src/ble/sm.c:1321:104: error: use of undeclared identifier 'authenticated'; did you mean 'gap_authenticated'?
le_device_db_encryption_get(sm_connection->sm_le_db_index, NULL, NULL, ltk, NULL, &authenticated, NULL, NULL);
^~~~~
gap_authenticated
"authenticated" is declared under #ifdef ENABLE_LE_CENTRAL
btstack/src/ble/sm.c:1321:104: error: use of undeclared identifier 'authenticated'; did you mean 'gap_authenticated'? le_device_db_encryption_get(sm_connection->sm_le_db_index, NULL, NULL, ltk, NULL, &authenticated, NULL, NULL); ^
~~~~ gap_authenticated"authenticated" is declared under #ifdef ENABLE_LE_CENTRAL