Function HearingDevice

Summary

#include <bta/include/bta_hearing_aid_api.h>

(1) HearingDevice(const RawAddress &address, uint8_t capabilities, uint16_t codecs, uint16_t audio_control_point_handle, uint16_t audio_status_handle, uint16_t audio_status_ccc_handle, uint16_t service_changed_ccc_handle, uint16_t volume_handle, uint16_t read_psm_handle, uint64_t hiSyncId, uint16_t render_delay, uint16_t preparation_delay)

(2) HearingDevice(const RawAddress &address, bool first_connection)

(3) HearingDevice()

Function overload

Synopsis

#include <bta/include/bta_hearing_aid_api.h>

HearingDevice(const RawAddress &address, uint8_t capabilities, uint16_t codecs, uint16_t audio_control_point_handle, uint16_t audio_status_handle, uint16_t audio_status_ccc_handle, uint16_t service_changed_ccc_handle, uint16_t volume_handle, uint16_t read_psm_handle, uint64_t hiSyncId, uint16_t render_delay, uint16_t preparation_delay)

Description

No description yet.

Source

Lines 151-178 in bta/include/bta_hearing_aid_api.h.

HearingDevice(const RawAddress& address, uint8_t capabilities,
              uint16_t codecs, uint16_t audio_control_point_handle,
              uint16_t audio_status_handle, uint16_t audio_status_ccc_handle,
              uint16_t service_changed_ccc_handle, uint16_t volume_handle,
              uint16_t read_psm_handle, uint64_t hiSyncId,
              uint16_t render_delay, uint16_t preparation_delay)
    : address(address),
      first_connection(false),
      service_changed_rcvd(false),
      connecting_actively(false),
      connection_update_status(NONE),
      accepting_audio(false),
      conn_id(0),
      gap_handle(0),
      audio_control_point_handle(audio_control_point_handle),
      audio_status_handle(audio_status_handle),
      audio_status_ccc_handle(audio_status_ccc_handle),
      service_changed_ccc_handle(service_changed_ccc_handle),
      volume_handle(volume_handle),
      read_psm_handle(read_psm_handle),
      capabilities(capabilities),
      hi_sync_id(hiSyncId),
      render_delay(render_delay),
      preparation_delay(preparation_delay),
      codecs(codecs),
      playback_started(false),
      command_acked(false),
      read_rssi_count(0) {}

Synopsis

#include <bta/include/bta_hearing_aid_api.h>

HearingDevice(const RawAddress &address, bool first_connection)

Description

No description yet.

Source

Lines 180-200 in bta/include/bta_hearing_aid_api.h.

HearingDevice(const RawAddress& address, bool first_connection)
    : address(address),
      first_connection(first_connection),
      service_changed_rcvd(false),
      connecting_actively(first_connection),
      connection_update_status(NONE),
      accepting_audio(false),
      conn_id(0),
      gap_handle(0),
      audio_status_handle(0),
      audio_status_ccc_handle(0),
      service_changed_ccc_handle(0),
      read_psm_handle(0),
      capabilities(0),
      hi_sync_id(0),
      render_delay(0),
      preparation_delay(0),
      codecs(0),
      playback_started(false),
      command_acked(false),
      read_rssi_count(0) {}

Synopsis

#include <bta/include/bta_hearing_aid_api.h>

HearingDevice()

Description

No description yet.

Source

Lines 202-202 in bta/include/bta_hearing_aid_api.h.

HearingDevice() : HearingDevice(RawAddress::kEmpty, false) {}





Add Discussion as Guest

Log in to DocsForge