Skip to content

Commit

Permalink
no PRMAC
Browse files Browse the repository at this point in the history
  • Loading branch information
DigiH committed Oct 22, 2024
1 parent 582eb75 commit 4f0010b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/devices/APPLEAIRPODS_json.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const char* _APPLEAIRPODS_json = "{\"brand\":\"Test\",\"model\":\"Test (Pro)\",\"model_id\":\"APPLEAIRPODS\",\"tag\":\"0b18\",\"condition\":[\"manufacturerdata\",\"=\",20,\"index\",0,\"4c00071901\"],\"properties\":{\"test\":{\"decoder\":[\"static_value\",\"Test Pods\"]}}}";
const char* _APPLEAIRPODS_json = "{\"brand\":\"Test\",\"model\":\"Test (Pro)\",\"model_id\":\"APPLEAIRPODS\",\"tag\":\"0b08\",\"condition\":[\"manufacturerdata\",\"=\",20,\"index\",0,\"4c00071901\"],\"properties\":{\"test\":{\"decoder\":[\"static_value\",\"Test Pods\"]}}}";
/*R""""(
{
"brand":"Test",
"model":"Test (Pro)",
"model_id":"APPLEAIRPODS",
"tag":"0b18",
"tag":"0b08",
"condition":["manufacturerdata","=", 20, "index", 0, "4c00071901"],
"properties":{
"test":{
Expand Down
2 changes: 1 addition & 1 deletion tests/BLE/test_ble.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ const char* expected_mfg[] = {
"{\"brand\":\"Onset\",\"model\":\"Hobo Water Level Sensor\",\"model_id\":\"HOBOMX2001\",\"type\":\"UNIQ\",\"lvl_cm\":8.46760273,\"lvl_in\":3.333701862}",
"{\"brand\":\"Onset\",\"model\":\"Hobo Water Level Sensor\",\"model_id\":\"HOBOMX2001\",\"type\":\"UNIQ\",\"lvl_cm\":9.514185786,\"lvl_in\":3.745742436}",
"{\"brand\":\"SwitchBot\",\"model\":\"Outdoor Meter\",\"model_id\":\"W340001X\",\"type\":\"THB\",\"tempc\":25.5,\"tempf\":77.9,\"hum\":50,\"mac\":\"AA:BB:CC:DD:EE:FF\"}",
"{\"brand\":\"Test\",\"model\":\"Test (Pro)\",\"model_id\":\"APPLEAIRPODS\",\"type\":\"BODY\",\"track\":true,\"prmac\":true,\"test\":\"Test Pods\"}",
"{\"brand\":\"Test\",\"model\":\"Test (Pro)\",\"model_id\":\"APPLEAIRPODS\",\"type\":\"BODY\",\"track\":true,\"test\":\"Test Pods\"}",
};

const char* expected_name_uuid_mfgsvcdata[] = {
Expand Down

0 comments on commit 4f0010b

Please sign in to comment.