btstack_defines.h (71af96a130946aa0e82f8cf9e24500f7c12f5e48) btstack_defines.h (36c1abd2e3dfcb4ed9d5d01ebb0a0d26fe7ec6f4)
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

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

930 * @param addr_type
931 * @param address
932 * @param identity_addr_type
933 * @param identity_address
934 * @param index
935 */
936#define SM_EVENT_IDENTITY_CREATED 0xDE
937
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

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

930 * @param addr_type
931 * @param address
932 * @param identity_addr_type
933 * @param identity_address
934 * @param index
935 */
936#define SM_EVENT_IDENTITY_CREATED 0xDE
937
938 /**
939 * @brief Emitted to inform app that pairing is complete. Possible status values:
940 * ERROR_CODE_SUCCESS -> pairing success
941 * ERROR_CODE_CONNECTION_TIMEOUT -> timeout
942 * ERROR_CODE_REMOTE_USER_TERMINATED_CONNECTION -> disconnect
943 * ERROR_CODE_AUTHENTICATION_FAILURE -> SM protocol error, see reason field with SM_REASON_* from bluetooth.h
944 *
945 * @format H1B11
946 * @param handle
947 * @param addr_type
948 * @param address
949 * @param status
950 * @param reason if status == ERROR_CODE_AUTHENTICATION_FAILURE
951 */
952#define SM_EVENT_PAIRING_COMPLETE 0xDF
953
954
938// GAP
939
940/**
941 * @format H1
942 * @param handle
943 * @param security_level
944 */
945#define GAP_EVENT_SECURITY_LEVEL 0xE0

--- 1098 unchanged lines hidden ---
955// GAP
956
957/**
958 * @format H1
959 * @param handle
960 * @param security_level
961 */
962#define GAP_EVENT_SECURITY_LEVEL 0xE0

--- 1098 unchanged lines hidden ---