mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 17:31:13 +03:00
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>
This commit is contained in:
@ -1,32 +1,32 @@
|
||||
{
|
||||
"Library": "htu21d",
|
||||
"Description": "API for the HTU21D Temperature & Humidity Sensor",
|
||||
"Sensor Class":
|
||||
{
|
||||
"HTU21D":
|
||||
{
|
||||
"Name": "Digital Relative Humidity Sensor with Temperature",
|
||||
"Description": "HTU21D by Measurement Specialties is a digital humidity sensor with temperature output. RH reports between 0 and 100%, and the temperature range is -40 to +125 degC. Note: getCompRH is the preferred function below (passing true to cause a measurement cycle). If actual values used for the compensated ready are necessary, use the getHumidity(false) and getTemperature(false) functions following the getCompRH call. Also note the sensor should not perform more than a couple of measurements per second to limit the heating of the sensor.",
|
||||
"Aliases": ["htu21d"],
|
||||
"Categories": ["temperature", "humidity"],
|
||||
"Connections": ["i2c"],
|
||||
"Project Type": ["environmental", "prototyping"],
|
||||
"Manufacturers": ["seeed", "adafruit", "sparkfun"],
|
||||
"Kits": [],
|
||||
"Examples":
|
||||
{
|
||||
"Java": ["HTU21DSample.java"],
|
||||
"Python": ["htu21d.py"],
|
||||
"Node.js": ["htu21d.js"],
|
||||
"C++": ["htu21d.cxx"],
|
||||
"C": []
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": [],
|
||||
"Datasheets": [],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"Library": "htu21d",
|
||||
"Description": "API for the HTU21D Temperature & Humidity Sensor",
|
||||
"Sensor Class":
|
||||
{
|
||||
"HTU21D":
|
||||
{
|
||||
"Name": "Digital Relative Humidity Sensor with Temperature",
|
||||
"Description": "HTU21D by Measurement Specialties is a digital humidity sensor with temperature output. RH reports between 0 and 100%, and the temperature range is -40 to +125 degC. Note: getCompRH is the preferred function below (passing true to cause a measurement cycle). If actual values used for the compensated ready are necessary, use the getHumidity(false) and getTemperature(false) functions following the getCompRH call. Also note the sensor should not perform more than a couple of measurements per second to limit the heating of the sensor.",
|
||||
"Aliases": ["htu21d"],
|
||||
"Categories": ["temperature", "humidity"],
|
||||
"Connections": ["i2c"],
|
||||
"Project Type": ["environmental", "prototyping"],
|
||||
"Manufacturers": ["seeed", "adafruit", "sparkfun"],
|
||||
"Kits": [],
|
||||
"Examples":
|
||||
{
|
||||
"Java": ["HTU21D_Example.java"],
|
||||
"Python": ["htu21d.py"],
|
||||
"Node.js": ["htu21d.js"],
|
||||
"C++": ["htu21d.cxx"],
|
||||
"C": []
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": [],
|
||||
"Datasheets": [],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user