Update findmy.c - ignore changable byte

This commit is contained in:
Matthew
2024-03-08 21:39:22 -05:00
committed by GitHub
parent f4ef9e50fb
commit edf013eacd

View File

@@ -135,7 +135,7 @@ FindMyType findmy_data_get_type(uint8_t data[EXTRA_BEACON_MAX_DATA_SIZE]) {
if(data[0] == 0x1E && // Length
data[1] == 0xFF && // Manufacturer Specific Data
data[2] == 0x4C && // Company ID (Apple, Inc.)
data[3] == 0x00 && // ...
//data[3] == 0x00 && // The state of the tag can vary, if we can find all known states this could work. I think its safe to ignore for now
data[4] == 0x12 && // Type (FindMy)
data[5] == 0x19 // Length
) {
@@ -143,4 +143,4 @@ FindMyType findmy_data_get_type(uint8_t data[EXTRA_BEACON_MAX_DATA_SIZE]) {
} else {
return FindMyTypeSamsung;
}
}
}