Skip to content

Commit 4d96861

Browse files
committed
revert: restore original packet constraints for custom ble_peripheral fork
1 parent 1da1bae commit 4d96861

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/src/features/discovery/data/ble_advertiser.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class BLEAdvertiser {
2424
static const messageCharUuid = '12345678-90ab-cdef-1234-567890abcdef';
2525

2626
static const int manufacturerId = MeshConstants.manufacturerId;
27-
static const int maxNameLength = 10;
27+
static const int maxNameLength = 13;
2828

2929
static bool _initialized = false,
3030
_servicesAdded = false,
@@ -209,7 +209,7 @@ class BLEAdvertiser {
209209
manufacturerId: manufacturerId,
210210
data: manufacturerData,
211211
),
212-
addManufacturerDataInScanResponse: true, // Allow OS to balance between packets
212+
addManufacturerDataInScanResponse: false, // Move StableId to primary packet
213213
scanResponseManufacturerData: ManufacturerData(
214214
manufacturerId: manufacturerId,
215215
data: scanResponseData,

0 commit comments

Comments
 (0)