Remove non-standard BLE advertisement opcode "1" (#5626)
Opcode is always zero per spec, and the advertisement shall not made at
all once a device is commissioned.
Remove logic in ChipBLEDeviceIdentificationInfo to specify an opcode of
"1" once the device is commissioned.
diff --git a/src/ble/CHIPBleServiceData.h b/src/ble/CHIPBleServiceData.h
index 1293e14..2ad72b5 100644
--- a/src/ble/CHIPBleServiceData.h
+++ b/src/ble/CHIPBleServiceData.h
@@ -47,13 +47,7 @@
{
constexpr static uint16_t kDiscriminatorMask = 0xfff;
- enum
- {
- kPairingStatus_Unpaired = 0,
- kPairingStatus_Paired = 1,
- };
-
- uint8_t PairingStatus;
+ uint8_t OpCode;
uint8_t DeviceDiscriminator[2];
uint8_t DeviceVendorId[2];
uint8_t DeviceProductId[2];