mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-28 15:12:19 +03:00
new Ble ver, 2 parts
This commit is contained in:
25
lib/decoder/src/devices/MS_CDP_json.h
Normal file
25
lib/decoder/src/devices/MS_CDP_json.h
Normal file
@@ -0,0 +1,25 @@
|
||||
const char* _MS_CDP_json = "{\"brand\":\"GENERIC\",\"model\":\"MS-CDP\",\"model_id\":\"MS-CDP\",\"tag\":\"fe\",\"condition\":[\"manufacturerdata\",\"index\",0,\"060001\"],\"properties\":{\"device\":{\"decoder\":[\"static_value\",\"Microsoft advertising beacon\"]}}}";
|
||||
/*R""""(
|
||||
{
|
||||
"brand":"GENERIC",
|
||||
"model":"MS-CDP",
|
||||
"model_id":"MS-CDP",
|
||||
"tag":"fe",
|
||||
"condition":["manufacturerdata", "index", 0, "060001"],
|
||||
"properties":{
|
||||
"device":{
|
||||
"decoder":["static_value", "Microsoft advertising beacon"]
|
||||
}
|
||||
}
|
||||
})"""";*/
|
||||
|
||||
const char* _MS_CDP_json_props = "{\"properties\":{\"device\":{\"unit\":\"string\",\"name\":\"device type\"}}}";
|
||||
/*R""""(
|
||||
{
|
||||
"properties":{
|
||||
"device":{
|
||||
"unit":"string",
|
||||
"name":"device type"
|
||||
}
|
||||
}
|
||||
})"""";*/
|
||||
Reference in New Issue
Block a user