diff --git a/tasmota/xsns_52_esp32_ibeacon_ble.ino b/tasmota/xsns_52_esp32_ibeacon_ble.ino index 4ead16697..464eefe88 100644 --- a/tasmota/xsns_52_esp32_ibeacon_ble.ino +++ b/tasmota/xsns_52_esp32_ibeacon_ble.ino @@ -233,8 +233,10 @@ int advertismentCallback(BLE_ESP32::ble_advertisment_t *pStruct) memcpy(UUID,oBeacon.getProximityUUID().getNative()->u128.value,16); ESP32BLE_ReverseStr(UUID,16); - uint16_t Major = ENDIAN_CHANGE_U16(oBeacon.getMajor()); - uint16_t Minor = ENDIAN_CHANGE_U16(oBeacon.getMinor()); +// uint16_t Major = ENDIAN_CHANGE_U16(oBeacon.getMajor()); +// uint16_t Minor = ENDIAN_CHANGE_U16(oBeacon.getMinor()); + uint16_t Major = oBeacon.getMajor(); + uint16_t Minor = oBeacon.getMinor(); uint8_t PWR = oBeacon.getSignalPower(); DumpHex((const unsigned char*)&UUID,16,ib.UID);