-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KKM K6P - THB Long Range Sensor Beacon KKM K9 - ACEL Pallet Tracking Beacon
- Loading branch information
Showing
7 changed files
with
163 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# KKM Long Range Beacon K6P | ||
|
||
|Model Id|[K6P](https://github.com/theengs/decoder/blob/development/src/devices/KKM_K6P_json.h)| | ||
|-|-| | ||
|Brand|KKM| | ||
|Model|Long Range K6P| | ||
|Short Description|Long Range Sensor Beacon| | ||
|Communication|BLE broadcast| | ||
|Frequency|2.4Ghz| | ||
|Power source|ER14505| | ||
|Exchanged data|temperature, humidity, voltage| | ||
|Encrypted|No| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# KKM Tracking Beacon K9 | ||
|
||
|Model Id|[K9](https://github.com/theengs/decoder/blob/development/src/devices/KKM_K9_json.h)| | ||
|-|-| | ||
|Brand|KKM| | ||
|Model|Tracking K9| | ||
|Short Description|Pallet Tracking Beacon| | ||
|Communication|BLE broadcast| | ||
|Frequency|2.4Ghz| | ||
|Power source|ER14505| | ||
|Exchanged data|temperature, humidity, voltage, acceleration x/y/z-axis (optional - without recognised as K6P)| | ||
|Encrypted|No| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
const char* _KKM_K6P_json = "{\"brand\":\"KKM\",\"model\":\"Long Range K6P\",\"model_id\":\"K6P\",\"tag\":\"01\",\"condition\":[\"servicedata\",\"=\",18,\"index\",0,\"210107\",\"&\",\"uuid\",\"index\",0,\"feaa\"],\"properties\":{\".cal\":{\"decoder\":[\"value_from_hex_data\",\"servicedata\",12,2,false,flase],\"post_proc\":[\"/\",100]},\"tempc\":{\"decoder\":[\"value_from_hex_data\",\"servicedata\",10,2,false,true],\"post_proc\":[\"+\",\".cal\"]},\"_.cal\":{\"decoder\":[\"value_from_hex_data\",\"servicedata\",12,2,false,false],\"post_proc\":[\"/\",100]},\"hum\":{\"decoder\":[\"value_from_hex_data\",\"servicedata\",14,2,false,false],\"post_proc\":[\"+\",\".cal\"]},\"volt\":{\"decoder\":[\"value_from_hex_data\",\"servicedata\",6,4,false,false],\"post_proc\":[\"/\",1000]}}}"; | ||
/*R""""( | ||
{ | ||
"brand":"KKM", | ||
"model":"Long Range K6P", | ||
"model_id":"K6P", | ||
"tag":"01", | ||
"condition":["servicedata", "=", 18, "index", 0, "210107", "&", "uuid", "index", 0, "feaa"], | ||
"properties":{ | ||
".cal":{ | ||
"decoder":["value_from_hex_data", "servicedata", 12, 2, false, flase], | ||
"post_proc":["/", 100] | ||
}, | ||
"tempc":{ | ||
"decoder":["value_from_hex_data", "servicedata", 10, 2, false, true], | ||
"post_proc":["+", ".cal"] | ||
}, | ||
"_.cal":{ | ||
"decoder":["value_from_hex_data", "servicedata", 12, 2, false, false], | ||
"post_proc":["/", 100] | ||
}, | ||
"hum":{ | ||
"decoder":["value_from_hex_data", "servicedata", 14, 2, false, false], | ||
"post_proc":["+", ".cal"] | ||
}, | ||
"volt":{ | ||
"decoder":["value_from_hex_data", "servicedata", 6, 4, false, false], | ||
"post_proc":["/", 1000] | ||
} | ||
} | ||
})"""";*/ | ||
|
||
const char* _KKM_K6P_json_props = "{\"properties\":{\"tempc\":{\"unit\":\"°C\",\"name\":\"temperature\"},\"hum\":{\"unit\":\"%\",\"name\":\"humidity\"},\"volt\":{\"unit\":\"V\",\"name\":\"voltage\"}}}"; | ||
/*R""""( | ||
{ | ||
"properties":{ | ||
"tempc":{ | ||
"unit":"°C", | ||
"name":"temperature" | ||
}, | ||
"hum":{ | ||
"unit":"%", | ||
"name":"humidity" | ||
}, | ||
"volt":{ | ||
"unit":"V", | ||
"name":"voltage" | ||
} | ||
} | ||
})"""";*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
const char* _KKM_K9_json = "{\"brand\":\"KKM\",\"model\":\"Tracking K9\",\"model_id\":\"K9\",\"tag\":\"0708\",\"condition\":[\"servicedata\",\"=\",30,\"index\",0,\"21010f\",\"&\",\"uuid\",\"index\",0,\"feaa\"],\"properties\":{\".cal\":{\"decoder\":[\"value_from_hex_data\",\"servicedata\",12,2,false,flase],\"post_proc\":[\"/\",100]},\"tempc\":{\"decoder\":[\"value_from_hex_data\",\"servicedata\",10,2,false,true],\"post_proc\":[\"+\",\".cal\"]},\"_.cal\":{\"decoder\":[\"value_from_hex_data\",\"servicedata\",12,2,false,false],\"post_proc\":[\"/\",100]},\"hum\":{\"decoder\":[\"value_from_hex_data\",\"servicedata\",14,2,false,false],\"post_proc\":[\"+\",\".cal\"]},\"volt\":{\"decoder\":[\"value_from_hex_data\",\"servicedata\",6,4,false,false],\"post_proc\":[\"/\",1000]},\"accx\":{\"condition\":[\"servicedata\",0,\"21010f\"],\"decoder\":[\"value_from_hex_data\",\"servicedata\",18,4,false,true]},\"accy\":{\"condition\":[\"servicedata\",0,\"21010f\"],\"decoder\":[\"value_from_hex_data\",\"servicedata\",22,4,false,true]},\"accz\":{\"condition\":[\"servicedata\",0,\"21010f\"],\"decoder\":[\"value_from_hex_data\",\"servicedata\",26,4,false,true]}}}"; | ||
/*R""""( | ||
{ | ||
"brand":"KKM", | ||
"model":"Tracking K9", | ||
"model_id":"K9", | ||
"tag":"0708", | ||
"condition":["servicedata", "=", 30, "index", 0, "21010f", "&", "uuid", "index", 0, "feaa"], | ||
"properties":{ | ||
".cal":{ | ||
"decoder":["value_from_hex_data", "servicedata", 12, 2, false, flase], | ||
"post_proc":["/", 100] | ||
}, | ||
"tempc":{ | ||
"decoder":["value_from_hex_data", "servicedata", 10, 2, false, true], | ||
"post_proc":["+", ".cal"] | ||
}, | ||
"_.cal":{ | ||
"decoder":["value_from_hex_data", "servicedata", 12, 2, false, false], | ||
"post_proc":["/", 100] | ||
}, | ||
"hum":{ | ||
"decoder":["value_from_hex_data", "servicedata", 14, 2, false, false], | ||
"post_proc":["+", ".cal"] | ||
}, | ||
"volt":{ | ||
"decoder":["value_from_hex_data", "servicedata", 6, 4, false, false], | ||
"post_proc":["/", 1000] | ||
}, | ||
"accx":{ | ||
"condition":["servicedata", 0, "21010f"], | ||
"decoder":["value_from_hex_data", "servicedata", 18, 4, false, true] | ||
}, | ||
"accy":{ | ||
"condition":["servicedata", 0, "21010f"], | ||
"decoder":["value_from_hex_data", "servicedata", 22, 4, false, true] | ||
}, | ||
"accz":{ | ||
"condition":["servicedata", 0, "21010f"], | ||
"decoder":["value_from_hex_data", "servicedata", 26, 4, false, true] | ||
} | ||
} | ||
})"""";*/ | ||
|
||
const char* _KKM_K9_json_props = "{\"properties\":{\"tempc\":{\"unit\":\"°C\",\"name\":\"temperature\"},\"hum\":{\"unit\":\"%\",\"name\":\"humidity\"},\"volt\":{\"unit\":\"V\",\"name\":\"voltage\"},\"accx\":{\"unit\":\"m/s²\",\"name\":\"acceleration x\"},\"accy\":{\"unit\":\"m/s²\",\"name\":\"acceleration y\"},\"accz\":{\"unit\":\"m/s²\",\"name\":\"acceleration z\"}}}"; | ||
/*R""""( | ||
{ | ||
"properties":{ | ||
"tempc":{ | ||
"unit":"°C", | ||
"name":"temperature" | ||
}, | ||
"hum":{ | ||
"unit":"%", | ||
"name":"humidity" | ||
}, | ||
"volt":{ | ||
"unit":"V", | ||
"name":"voltage" | ||
}, | ||
"accx":{ | ||
"unit":"m/s²", | ||
"name":"acceleration x" | ||
}, | ||
"accy":{ | ||
"unit":"m/s²", | ||
"name":"acceleration y" | ||
}, | ||
"accz":{ | ||
"unit":"m/s²", | ||
"name":"acceleration z" | ||
} | ||
} | ||
})"""";*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters