diff options
Diffstat (limited to 'stack/smp/smp_utils.c')
-rw-r--r-- | stack/smp/smp_utils.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/stack/smp/smp_utils.c b/stack/smp/smp_utils.c index 89c9f5e..91e7057 100644 --- a/stack/smp/smp_utils.c +++ b/stack/smp/smp_utils.c @@ -12,25 +12,25 @@ #if SMP_INCLUDED == TRUE - #include "bt_types.h" - #include <string.h> - #include <ctype.h> - #include "hcidefs.h" - #include "btm_ble_api.h" - #include "l2c_api.h" - #include "l2c_int.h" - #include "smp_int.h" - - - #define SMP_PAIRING_REQ_SIZE 7 - #define SMP_CONFIRM_CMD_SIZE (BT_OCTET16_LEN + 1) - #define SMP_INIT_CMD_SIZE (BT_OCTET16_LEN + 1) - #define SMP_ENC_INFO_SIZE (BT_OCTET16_LEN + 1) - #define SMP_MASTER_ID_SIZE (BT_OCTET8_LEN + 2 + 1) - #define SMP_ID_INFO_SIZE (BT_OCTET16_LEN + 1) - #define SMP_ID_ADDR_SIZE (BD_ADDR_LEN + 1 + 1) - #define SMP_SIGN_INFO_SIZE (BT_OCTET16_LEN + 1) - #define SMP_PAIR_FAIL_SIZE 2 +#include "bt_types.h" +#include <string.h> +#include <ctype.h> +#include "hcidefs.h" +#include "btm_ble_api.h" +#include "l2c_api.h" +#include "l2c_int.h" +#include "smp_int.h" + + +#define SMP_PAIRING_REQ_SIZE 7 +#define SMP_CONFIRM_CMD_SIZE (BT_OCTET16_LEN + 1) +#define SMP_INIT_CMD_SIZE (BT_OCTET16_LEN + 1) +#define SMP_ENC_INFO_SIZE (BT_OCTET16_LEN + 1) +#define SMP_MASTER_ID_SIZE (BT_OCTET8_LEN + 2 + 1) +#define SMP_ID_INFO_SIZE (BT_OCTET16_LEN + 1) +#define SMP_ID_ADDR_SIZE (BD_ADDR_LEN + 1 + 1) +#define SMP_SIGN_INFO_SIZE (BT_OCTET16_LEN + 1) +#define SMP_PAIR_FAIL_SIZE 2 /* type for action functions */ |