Skip to content

Commit 3e0d981

Browse files
committed
Fix extended server example - data too long error
1 parent 888c5ae commit 3e0d981

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

examples/Bluetooth_5/NimBLE_extended_server/NimBLE_extended_server.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ void setup() {
122122
"This example message is 226 bytes long "
123123
"and is using CODED_PHY for long range."));
124124

125-
extAdv.setCompleteServices16({NimBLEUUID(SERVICE_UUID)});
126125
extAdv.setName("Extended advertiser");
127126

128127
/** When extended advertising is enabled `NimBLEDevice::getAdvertising` returns a pointer to `NimBLEExtAdvertising */

src/nimconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@
263263
#define CONFIG_BT_NIMBLE_TRANSPORT_ACL_SIZE 255
264264

265265
/** @brief HCI Event Buffer size */
266-
#if CONFIG_BT_NIMBLE_EXT_ADV || CONFIG_BT_NIMBLE_ENABLE_PERIODIC_ADV
266+
#if CONFIG_BT_NIMBLE_EXT_ADV
267267
# define CONFIG_BT_NIMBLE_HCI_EVT_BUF_SIZE 257
268268
#else
269269
# define CONFIG_BT_NIMBLE_HCI_EVT_BUF_SIZE 70

0 commit comments

Comments
 (0)