Bluetooth: host: Add enum for LE read transmit power PHY values

Add enum for LE Read Transmit Power phy values, which are different
form the values used for PHY update procedure since it includes values
for the LE Coded PHY coding schemes.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
Joakim Andersson 2020-12-08 11:40:26 +01:00 committed by Carles Cufí
commit ae841d0a11

View file

@ -370,6 +370,19 @@ struct bt_conn_remote_info {
};
};
enum bt_conn_le_tx_power_phy {
/** Convenience macro for when no PHY is set. */
BT_CONN_LE_TX_POWER_PHY_NONE,
/** LE 1M PHY */
BT_CONN_LE_TX_POWER_PHY_1M,
/** LE 2M PHY */
BT_CONN_LE_TX_POWER_PHY_2M,
/** LE Coded PHY using S=8 coding. */
BT_CONN_LE_TX_POWER_PHY_CODED_S8,
/** LE Coded PHY using S=2 coding. */
BT_CONN_LE_TX_POWER_PHY_CODED_S2,
};
/** LE Transmit Power Level Structure */
struct bt_conn_le_tx_power {