Skip to content

Commit

Permalink
Revert "Update findmy.c - ignore changable byte"
Browse files Browse the repository at this point in the history
This reverts commit edf013e.
  • Loading branch information
Willy-JL committed Mar 9, 2024
1 parent ef338d1 commit fca5da1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions applications/system/findmy/findmy.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,12 @@ 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 && // 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[3] == 0x00 && // ...
data[4] == 0x12 && // Type (FindMy)
data[5] == 0x19 // Length
) {
return FindMyTypeApple;
} else {
return FindMyTypeSamsung;
}
}
}

0 comments on commit fca5da1

Please sign in to comment.