Skip to content

Commit

Permalink
Merge branch 'findmyflipper' of https://github.com/Next-Flip/Momentum…
Browse files Browse the repository at this point in the history
…-Firmware into findmyflipper
  • Loading branch information
Willy-JL committed Mar 9, 2024
2 parents cd83757 + edf013e commit ef338d1
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 && // ...
//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
) {
return FindMyTypeApple;
} else {
return FindMyTypeSamsung;
}
}
}

0 comments on commit ef338d1

Please sign in to comment.