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

Commit d3f26d55 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Unused def include/hardware/bt_gatt_types::btgatt_transport_t am: 3478af93

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1402250

Change-Id: I3e1de20f78fafdb8fa4fb3cb9fbdeca1faff539d
parents 9d751e25 3478af93
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -43,12 +43,6 @@ typedef struct {
} btgatt_srvc_id_t;

/** Preferred physical Transport for GATT connection */
typedef enum {
  GATT_TRANSPORT_AUTO,
  GATT_TRANSPORT_BREDR,
  GATT_TRANSPORT_LE
} btgatt_transport_t;

__END_DECLS

#endif /* ANDROID_INCLUDE_BT_GATT_TYPES_H */
+0 −10
Original line number Diff line number Diff line
@@ -44,16 +44,6 @@ const char* BtAvAudioStateText(const btav_audio_state_t state) {
  }
}

const char* BtTransportText(const btgatt_transport_t t) {
  switch (t) {
    CASE_RETURN_TEXT(BT_TRANSPORT_AUTO);
    CASE_RETURN_TEXT(BT_TRANSPORT_BR_EDR);
    CASE_RETURN_TEXT(BT_TRANSPORT_LE);
    default:
      return "unknown transport";
  }
}

const char* BtStateText(const bt_state_t state) {
  switch (state) {
    CASE_RETURN_TEXT(BT_STATE_OFF);
+0 −2
Original line number Diff line number Diff line
@@ -27,8 +27,6 @@ const char* BtAvConnectionStateText(const btav_connection_state_t state);

const char* BtAvAudioStateText(const btav_audio_state_t state);

const char* BtTransportText(const btgatt_transport_t t);

const char* BtStateText(const bt_state_t state);

const char* BtDiscoveryStateText(const bt_discovery_state_t);