Skip to content

Commit

Permalink
Apple iPhone/iPad extension
Browse files Browse the repository at this point in the history
  • Loading branch information
DigiH committed Jan 15, 2024
1 parent faed54b commit 1b7f6d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/devices/APPLEDEVICE_json.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const char* _APPLEDEVICE_json = "{\"brand\":\"Apple\",\"model\":\"Apple iPhone/iPad\",\"model_id\":\"APPLEDEVICE\",\"tag\":\"1018\",\"condition\":[\"manufacturerdata\",\">=\",8,\"index\",0,\"4c0010\"],\"properties\":{\"unlocked\":{\"condition\":[\"manufacturerdata\",9,\"b\"],\"decoder\":[\"static_value\",true]},\"_unlocked\":{\"condition\":[\"manufacturerdata\",9,\"!\",\"b\"],\"decoder\":[\"static_value\",false]}}}";
const char* _APPLEDEVICE_json = "{\"brand\":\"Apple\",\"model\":\"Apple iPhone/iPad\",\"model_id\":\"APPLEDEVICE\",\"tag\":\"1018\",\"condition\":[\"manufacturerdata\",\">=\",8,\"index\",0,\"4c0010\"],\"properties\":{\"unlocked\":{\"condition\":[\"manufacturerdata\",9,\"b\",\"|\",\"manufacturerdata\",9,\"7\",\"|\",\"manufacturerdata\",9,\"9\"],\"decoder\":[\"static_value\",true]},\"_unlocked\":{\"condition\":[\"manufacturerdata\",9,\"!\",\"b\",\"&\",\"manufacturerdata\",9,\"!\",\"7\",\"&\",\"manufacturerdata\",9,\"!\",\"9\"],\"decoder\":[\"static_value\",false]}}}";
/*R""""(
{
"brand":"Apple",
Expand All @@ -8,11 +8,11 @@ const char* _APPLEDEVICE_json = "{\"brand\":\"Apple\",\"model\":\"Apple iPhone/i
"condition":["manufacturerdata", ">=", 8, "index", 0, "4c0010"],
"properties":{
"unlocked":{
"condition":["manufacturerdata", 9, "b"],
"condition":["manufacturerdata", 9, "b", "|", "manufacturerdata", 9, "7", "|", "manufacturerdata", 9, "9"],
"decoder":["static_value", true]
},
"_unlocked":{
"condition":["manufacturerdata", 9, "!", "b"],
"condition":["manufacturerdata", 9, "!", "b", "&", "manufacturerdata", 9, "!", "7", "&", "manufacturerdata", 9, "!", "9"],
"decoder":["static_value", false]
}
}
Expand Down

0 comments on commit 1b7f6d9

Please sign in to comment.