mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 14:12:05 +00:00
Trying setInitialState again
This commit is contained in:
parent
1b588c2437
commit
703eac7277
@ -98,7 +98,7 @@ class NimbleBluetoothServerCallback : public NimBLEServerCallbacks
|
|||||||
passkeyShowing = false;
|
passkeyShowing = false;
|
||||||
screen->stopBluetoothPinScreen();
|
screen->stopBluetoothPinScreen();
|
||||||
}
|
}
|
||||||
// bluetoothPhoneAPI->setInitialState();
|
bluetoothPhoneAPI->setInitialState();
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void onDisconnect(NimBLEServer* pServer, ble_gap_conn_desc *desc)
|
virtual void onDisconnect(NimBLEServer* pServer, ble_gap_conn_desc *desc)
|
||||||
|
@ -57,7 +57,7 @@ void onConnect(uint16_t conn_handle)
|
|||||||
connection->getPeerName(central_name, sizeof(central_name));
|
connection->getPeerName(central_name, sizeof(central_name));
|
||||||
|
|
||||||
DEBUG_MSG("BLE Connected to %s\n", central_name);
|
DEBUG_MSG("BLE Connected to %s\n", central_name);
|
||||||
// bluetoothPhoneAPI->setInitialState();
|
bluetoothPhoneAPI->setInitialState();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user