upm/src/ehr/ehr.json
Noel Eck c54d6de054 JAVA: Unified Java Example names
Unified all Java examples to *match* <LIBRARY>[_otherstuf]_Example.java.
Note, a handful of the examples have a pseudo-random string for the
first component (see FlexSensor_Example.java, ideally this would be
Flex_Example.java).

This commit allows for quick development on a single sensor library
since a -DMODULE_LIST=mysensorlib now works with Java examples
(previously Java examples would fail generation when using
MODULE_LIST).

    * Renamed examples
    * Updated class names
    * Updated library descriptor .json files
    * Updated sample mapping file

TODO: Make this work like the C/C++ examples - grab the target library
name from the filename and grab all dependencies from that target
library.  Fix the handful of example names which don't conform.

Signed-off-by: Noel Eck <noel.eck@intel.com>
2018-02-27 15:28:48 -08:00

41 lines
1.4 KiB
JSON

{
"Library": "ehr",
"Description": "API for the Ear-clip Heart Rate Sensor",
"Sensor Class":
{
"EHR":
{
"Name": "Ear-clip Heart Rate Sensor",
"Description": "UPM module for the ear-clip heart rate sensor. It is used to measure your heart rate.",
"Aliases": ["ehr"],
"Categories": ["heartrate"],
"Connections": ["gpio"],
"Project Type": ["medical", "wearables", "prototyping"],
"Manufacturers": ["seeed"],
"Kits": [],
"Image": "ehr.jpg",
"Examples":
{
"Java": ["EHR_Example.java"],
"Python": ["ehr.py"],
"Node.js": ["ehr.js"],
"C++": ["ehr.cxx"],
"C": []
},
"Specifications":
{
"Operating Voltage": {"unit": "V", "low": 3, "high": 5},
"Operating Current": {"unit": "mA", "typ": 6.5},
"Measurement Range": {"unit": "bpm", "min": 30}
},
"Urls" :
{
"Product Pages": ["https://www.seeedstudio.com/Grove-Ear-clip-Heart-Rate-Sensor-p-1116.html"],
"Datasheets": ["http://wiki.seeedstudio.com/wiki/Grove_-_Heart_rate_ear_clip_kit"],
"Schematics": []
}
}
}
}