File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
examples/Bluetooth_5/NimBLE_extended_server/main Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -65,8 +65,7 @@ class AdvertisingCallbacks : public NimBLEExtAdvertisingCallbacks {
6565 }
6666} advertisingCallbacks;
6767
68- extern " C"
69- void app_main (void ) {
68+ extern " C" void app_main (void ) {
7069 /* * Initialize NimBLE and set the device name */
7170 NimBLEDevice::init (" Extended advertiser" );
7271
@@ -105,7 +104,6 @@ void app_main(void) {
105104 " This example message is 226 bytes long "
106105 " and is using CODED_PHY for long range." ));
107106
108- extAdv.setCompleteServices16 ({NimBLEUUID (SERVICE_UUID)});
109107 extAdv.setName (" Extended advertiser" );
110108
111109 /* * When extended advertising is enabled `NimBLEDevice::getAdvertising` returns a pointer to `NimBLEExtAdvertising */
You can’t perform that action at this time.
0 commit comments