btstack_defines.h (fee35eba895151119eb5fa23ad441c948c0e618a) btstack_defines.h (38c89bb1b787ecaadaf06c8fdbafdec93ebe70cf)
1/*
2 * Copyright (C) 2015 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 1268 unchanged lines hidden (view full) ---

1277 * @param addr_type
1278 * @param address
1279 * @param identity_addr_type
1280 * @param identity_address
1281 * @param index
1282 */
1283#define SM_EVENT_IDENTITY_CREATED 0xDB
1284
1/*
2 * Copyright (C) 2015 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 1268 unchanged lines hidden (view full) ---

1277 * @param addr_type
1278 * @param address
1279 * @param identity_addr_type
1280 * @param identity_address
1281 * @param index
1282 */
1283#define SM_EVENT_IDENTITY_CREATED 0xDB
1284
1285 /**
1285/**
1286 * @brief Emitted to inform app that pairing has started.
1287 * @format H1B
1288 * @param handle
1289 * @param addr_type
1290 * @param address
1291 */
1292#define SM_EVENT_PAIRING_STARTED 0xDC
1293
1294/**
1286 * @brief Emitted to inform app that pairing is complete. Possible status values:
1287 * ERROR_CODE_SUCCESS -> pairing success
1288 * ERROR_CODE_CONNECTION_TIMEOUT -> timeout
1289 * ERROR_CODE_REMOTE_USER_TERMINATED_CONNECTION -> disconnect
1290 * ERROR_CODE_AUTHENTICATION_FAILURE -> SM protocol error, see reason field with SM_REASON_* from bluetooth.h
1291 *
1292 * @format H1B11
1293 * @param handle
1294 * @param addr_type
1295 * @param address
1296 * @param status
1297 * @param reason if status == ERROR_CODE_AUTHENTICATION_FAILURE
1298 */
1295 * @brief Emitted to inform app that pairing is complete. Possible status values:
1296 * ERROR_CODE_SUCCESS -> pairing success
1297 * ERROR_CODE_CONNECTION_TIMEOUT -> timeout
1298 * ERROR_CODE_REMOTE_USER_TERMINATED_CONNECTION -> disconnect
1299 * ERROR_CODE_AUTHENTICATION_FAILURE -> SM protocol error, see reason field with SM_REASON_* from bluetooth.h
1300 *
1301 * @format H1B11
1302 * @param handle
1303 * @param addr_type
1304 * @param address
1305 * @param status
1306 * @param reason if status == ERROR_CODE_AUTHENTICATION_FAILURE
1307 */
1299#define SM_EVENT_PAIRING_COMPLETE 0xDC
1308#define SM_EVENT_PAIRING_COMPLETE 0xDD
1300
1301
1302/**
1303 * @brief Proactive Authentication for bonded devices started.
1304 * @format H1B
1305 * @param handle
1306 * @param addr_type
1307 * @param address
1308 */
1309
1310
1311/**
1312 * @brief Proactive Authentication for bonded devices started.
1313 * @format H1B
1314 * @param handle
1315 * @param addr_type
1316 * @param address
1317 */
1309#define SM_EVENT_REENCRYPTION_STARTED 0xDD
1318#define SM_EVENT_REENCRYPTION_STARTED 0xDE
1310
1311/**
1312 * @brief Proactive Authentication for bonded devices complete. Possible status values:
1313 * ERROR_CODE_SUCCESS -> connection secure
1314 * ERROR_CODE_CONNECTION_TIMEOUT -> timeout
1315 * ERROR_CODE_AUTHENTICATION_FAILURE -> remote did not provide LTK locally
1316 * @format H1B1
1317 * @param handle
1318 * @param addr_type
1319 * @param address
1320 * @param status
1321 */
1319
1320/**
1321 * @brief Proactive Authentication for bonded devices complete. Possible status values:
1322 * ERROR_CODE_SUCCESS -> connection secure
1323 * ERROR_CODE_CONNECTION_TIMEOUT -> timeout
1324 * ERROR_CODE_AUTHENTICATION_FAILURE -> remote did not provide LTK locally
1325 * @format H1B1
1326 * @param handle
1327 * @param addr_type
1328 * @param address
1329 * @param status
1330 */
1322#define SM_EVENT_REENCRYPTION_COMPLETE 0xDE
1331#define SM_EVENT_REENCRYPTION_COMPLETE 0xDF
1323
1324// GAP
1325
1326/**
1327 * @format H1
1328 * @param handle
1329 * @param security_level
1330 */

--- 1946 unchanged lines hidden ---
1332
1333// GAP
1334
1335/**
1336 * @format H1
1337 * @param handle
1338 * @param security_level
1339 */

--- 1946 unchanged lines hidden ---