diff options
Diffstat (limited to 'stack/include/btm_api.h')
-rw-r--r-- | stack/include/btm_api.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/stack/include/btm_api.h b/stack/include/btm_api.h index 20ae90c..e27fcb1 100644 --- a/stack/include/btm_api.h +++ b/stack/include/btm_api.h @@ -807,11 +807,19 @@ typedef struct BD_ADDR_PTR p_bda; /* The address of the disconnected device */ } tBTM_BL_DISCN_DATA; +/* Busy-Level shall have the inquiry_paging mask set when + * inquiry/paging is in progress, Else the number of ACL links */ +#define BTM_BL_INQUIRY_PAGING_MASK 0x10 +#define BTM_BL_INQUIRY_STARTED (BTM_BL_INQUIRY_PAGING_MASK | 0x1) +#define BTM_BL_INQUIRY_CANCELLED (BTM_BL_INQUIRY_PAGING_MASK | 0x2) +#define BTM_BL_INQUIRY_COMPLETE (BTM_BL_INQUIRY_PAGING_MASK | 0x3) +#define BTM_BL_PAGING_STARTED (BTM_BL_INQUIRY_PAGING_MASK | 0x4) +#define BTM_BL_PAGING_COMPLETE (BTM_BL_INQUIRY_PAGING_MASK | 0x5) /* the data type associated with BTM_BL_UPDATE_EVT */ typedef struct { tBTM_BL_EVENT event; /* The event reported. */ - UINT8 busy_level;/* when paging or inquiring, level is 10. + UINT8 busy_level;/* when paging or inquiring, level is as above. * Otherwise, the number of ACL links. */ } tBTM_BL_UPDATE_DATA; |