diff options
author | Mattias Agren <magren@broadcom.com> | 2012-03-26 08:25:00 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2012-07-14 11:19:13 -0700 |
commit | 254588bfe6c3e70625b0f725b908598f30f476c8 (patch) | |
tree | 259c87422e70b74abeab96b3e3155c88791e5b6d /stack/smp | |
parent | 3e6f399bdbaca7f8ab0a8b1c6eab7cc1088ab74a (diff) | |
download | external_bluetooth_bluedroid-254588bfe6c3e70625b0f725b908598f30f476c8.zip external_bluetooth_bluedroid-254588bfe6c3e70625b0f725b908598f30f476c8.tar.gz external_bluetooth_bluedroid-254588bfe6c3e70625b0f725b908598f30f476c8.tar.bz2 |
Added new control and data path interface between audioflinger a2dp HAL
and stack. Added support for suspend and a dedicated HAL callback
notifying framework on audiopath events. Cleanup.
Change-Id: I3b738611bc8e1d84794f7207413fd9e7dd1fc668
Diffstat (limited to 'stack/smp')
-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 */ |