We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d21f839 commit a7013d6Copy full SHA for a7013d6
ports/nordic/common-hal/_bleio/Adapter.c
@@ -715,7 +715,7 @@ static bool advertising_on_ble_evt(ble_evt_t *ble_evt, void *self_in) {
715
switch (ble_evt->header.evt_id) {
716
case BLE_GAP_EVT_CONNECTED: // Connecting also stops an advertisement.
717
// Set the tx_power for the connection higher than the advertisement.
718
- sd_ble_gap_tx_power_set(BLE_GAP_TX_POWER_ROLE_CONN, ble_evt->evt.gap_evt.conn_handle, 0);
+ sd_ble_gap_tx_power_set(BLE_GAP_TX_POWER_ROLE_CONN, ble_evt->evt.gap_evt.conn_handle, -20);
719
common_hal_bleio_adapter_stop_advertising(self);
720
return false;
721
break;
0 commit comments