Files
IoTManager/lib/decoder/src/devices/GAEN_json.h
2023-11-15 21:54:02 +03:00

34 lines
1.1 KiB
C

const char* _GAEN_json = "{\"brand\":\"GENERIC\",\"model\":\"GAEN\",\"model_id\":\"GAEN\",\"tag\":\"fe\",\"condition\":[\"uuid\",\"index\",0,\"fd6f\"],\"properties\":{\"rpi\":{\"decoder\":[\"string_from_hex_data\",\"servicedata\",0,32]},\"aem\":{\"decoder\":[\"string_from_hex_data\",\"servicedata\",32,8]}}}";
/*R""""(
{
"brand":"GENERIC",
"model":"GAEN",
"model_id":"GAEN",
"tag":"fe",
"condition":["uuid", "index", 0, "fd6f"],
"properties":{
"rpi":{
"decoder":["string_from_hex_data", "servicedata", 0, 32]
},
"aem":{
"decoder":["string_from_hex_data", "servicedata", 32, 8]
}
}
})"""";*/
const char* _GAEN_json_props = "{\"properties\":{\"rpi\":{\"unit\":\"hex\",\"name\":\"rolling proximity identifier\"},\"aem\":{\"unit\":\"hex\",\"name\":\"associated encrypted metadata\"}}}";
/*R""""(
{
"properties":{
"rpi":{
"unit":"hex",
"name":"rolling proximity identifier"
},
"aem":{
"unit":"hex",
"name":"associated encrypted metadata"
}
}
})"""";*/