-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
XOSS X2 heart rate sensor chest strap
- Loading branch information
Showing
5 changed files
with
51 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 @@ | ||
# XOSS X2 Heart Rate Sensor | ||
|
||
|Model Id|[XOSSX2](https://github.com/theengs/decoder/blob/development/src/devices/XOSSX2_json.h)| | ||
|-|-| | ||
|Brand|XOSS| | ||
|Model|X2 Heart Rate Sensor| | ||
|Short Description|Chest strap heart rate sensor| | ||
|Communication|BLE broadcast| | ||
|Frequency|2.4Ghz| | ||
|Power Source|CR2032| | ||
|Exchanged Data|heart rate, battery| | ||
|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 |
---|---|---|
|
@@ -123,6 +123,7 @@ class TheengsDecoder { | |
AMPHIRO, | ||
ORALB_BT, | ||
PH10, | ||
XOSSX2, | ||
TPTH, | ||
MOPEKA, | ||
T201, | ||
|
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,33 @@ | ||
const char* _XOSSX2_json = "{\"brand\":\"XOSS\",\"model\":\"X2 Heart Rate Sensor\",\"model_id\":\"XOSSX2\",\"tag\":\"0b01\",\"condition\":[\"manufacturerdata\",\"=\",12,\"index\",0,\"04ff\"],\"properties\":{\"bpm\":{\"decoder\":[\"value_from_hex_data\",\"manufacturerdata\",10,2,false,false]},\"batt\":{\"decoder\":[\"value_from_hex_data\",\"manufacturerdata\",6,2,false,false],\"post_proc\":[\"&\",127]}}}"; | ||
/*R""""( | ||
{ | ||
"brand":"XOSS", | ||
"model":"X2 Heart Rate Sensor", | ||
"model_id":"XOSSX2", | ||
"tag":"0b01", | ||
"condition":["manufacturerdata", "=", 12, "index", 0, "04ff"], | ||
"properties":{ | ||
"bpm":{ | ||
"decoder":["value_from_hex_data", "manufacturerdata", 10, 2, false, false] | ||
}, | ||
"batt":{ | ||
"decoder":["value_from_hex_data", "manufacturerdata", 6, 2, false, false], | ||
"post_proc":["&", 127] | ||
} | ||
} | ||
})"""";*/ | ||
|
||
const char* _XOSSX2_json_props = "{\"properties\":{\"bpm\":{\"unit\":\"bpm\",\"name\":\"heart rate\"},\"batt\":{\"unit\":\"%\",\"name\":\"battery\"}}}"; | ||
/*R""""( | ||
{ | ||
"properties":{ | ||
"bpm":{ | ||
"unit":"bpm", | ||
"name":"heart rate" | ||
}, | ||
"batt":{ | ||
"unit":"%", | ||
"name":"battery" | ||
} | ||
} | ||
})"""";*/ |
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