NimBLE-Arduino
NimBLE-Arduino copied to clipboard
preffered phy
Hi, i know its not a problem with this library, just with nimble itself, but for others i am reporting it here. This code will report always 1M_PHY, even if connection is with 2M_PHY:
uint8_t rx_phy, tx_phy;
ble_gap_read_le_phy(desc->conn_handle, &tx_phy, &rx_phy);
Serial.printf("RX: %d, TX: %d\n", rx_phy, tx_phy);