Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1863fc46 authored by Chris Manton's avatar Chris Manton
Browse files

[1/7] stack::btm::inq Remove unused definitions

And also update related documentation

Bug: 345484372
Test: m .
Flag: EXEMPT, Mechanical Refactor
Change-Id: I3e9e5a72865e34582da2938d391539a672917cb1
parent 75cf51c6
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -63,21 +63,17 @@ enum : uint16_t {
 * Note: These modes are associated with the inquiry active values (BTM_*ACTIVE)
 */
enum : uint8_t {
  BTM_INQUIRY_NONE = 0,
  BTM_INQUIRY_INACTIVE = 0x0,
  BTM_GENERAL_INQUIRY = 0x01,
  /* high nibble of inquiry mode for BLE inquiry mode */
  BTM_BLE_GENERAL_INQUIRY = 0x10,
  BTM_BR_INQUIRY_MASK = (BTM_GENERAL_INQUIRY),
  BTM_BLE_INQUIRY_MASK = (BTM_BLE_GENERAL_INQUIRY),
  BTM_BLE_INQUIRY_NONE = BTM_INQUIRY_NONE,
  BTM_GENERAL_INQUIRY_ACTIVE = BTM_GENERAL_INQUIRY,
  /* a general inquiry is in progress */
  BTM_LE_GENERAL_INQUIRY_ACTIVE = BTM_BLE_GENERAL_INQUIRY,
  /* BR/EDR inquiry activity mask */
  BTM_BR_INQ_ACTIVE_MASK = (BTM_GENERAL_INQUIRY_ACTIVE),
  /* LE scan activity mask */
  BTM_BLE_SCAN_ACTIVE_MASK = 0xF0,
  /* LE inquiry activity mask*/
  BTM_BLE_INQ_ACTIVE_MASK = (BTM_LE_GENERAL_INQUIRY_ACTIVE),
  /* inquiry activity mask */
+1 −2
Original line number Diff line number Diff line
@@ -233,8 +233,7 @@ void BTM_WriteVoiceSettings(uint16_t settings);
 *
 * Description      Return a bit mask of the current inquiry state
 *
 * Returns          BTM_INQUIRY_INACTIVE if inactive (0)
 *                  BTM_GENERAL_INQUIRY_ACTIVE if a general inquiry is active
 * Returns          Bitmask of current inquiry state
 *
 ******************************************************************************/
[[nodiscard]] uint16_t BTM_IsInquiryActive(void);
+1 −2
Original line number Diff line number Diff line
@@ -83,8 +83,7 @@ tBTM_STATUS BTM_StartInquiry(tBTM_INQ_RESULTS_CB* p_results_cb,
 *
 * Description      Return a bit mask of the current inquiry state
 *
 * Returns          BTM_INQUIRY_INACTIVE if inactive (0)
 *                  BTM_GENERAL_INQUIRY_ACTIVE if a general inquiry is active
 * Returns          Bitmask of current inquiry state
 *
 ******************************************************************************/
uint16_t BTM_IsInquiryActive(void);