mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-27 18:31:37 +00:00
nrf52 ble - move service in into the scan info
This commit is contained in:
parent
3d0c611896
commit
769a98f1f4
@ -91,11 +91,13 @@ void startAdv(void)
|
|||||||
Bluefruit.Advertising.addFlags(BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE);
|
Bluefruit.Advertising.addFlags(BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE);
|
||||||
|
|
||||||
// IncludeService UUID
|
// IncludeService UUID
|
||||||
Bluefruit.ScanResponse.addService(meshBleService);
|
// Bluefruit.ScanResponse.addService(meshBleService);
|
||||||
Bluefruit.ScanResponse.addTxPower();
|
Bluefruit.ScanResponse.addTxPower();
|
||||||
|
Bluefruit.ScanResponse.addName();
|
||||||
|
|
||||||
// Include Name
|
// Include Name
|
||||||
Bluefruit.Advertising.addName();
|
// Bluefruit.Advertising.addName();
|
||||||
|
Bluefruit.Advertising.addService(meshBleService);
|
||||||
|
|
||||||
/* Start Advertising
|
/* Start Advertising
|
||||||
* - Enable auto advertising if disconnected
|
* - Enable auto advertising if disconnected
|
||||||
|
Loading…
Reference in New Issue
Block a user