mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-05-27 13:19:22 +03:00
new Ble ver, 2 parts
This commit is contained in:
33
lib/decoder/src/devices/GAEN_json.h
Normal file
33
lib/decoder/src/devices/GAEN_json.h
Normal file
@@ -0,0 +1,33 @@
|
||||
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"
|
||||
}
|
||||
}
|
||||
})"""";*/
|
||||
Reference in New Issue
Block a user