mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +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,39 +1,39 @@
|
||||
{
|
||||
"Library": "ht9170",
|
||||
"Description": "API for the HT9170 DTMF Decoder",
|
||||
"Sensor Class":
|
||||
{
|
||||
"HT9170":
|
||||
{
|
||||
"Name": "Dual Tone Multi Frequency (DTMF) Decoder",
|
||||
"Description": "This driver was developed using the DTMF (Dual-Tone Multi-Frequency) Shield by Seeed Studio*. It can decode DTMF signals presented at its audio input. It does not generate DTMF signals.",
|
||||
"Aliases": ["ht9170"],
|
||||
"Categories": ["telephony"],
|
||||
"Connections": ["gpio"],
|
||||
"Project Type": ["telephone", "prototyping"],
|
||||
"Manufacturers": ["seeed"],
|
||||
"Kits": [],
|
||||
"Image": "ht9170.jpg",
|
||||
"Examples":
|
||||
{
|
||||
"Java": [],
|
||||
"Python": ["ht9170.py"],
|
||||
"Node.js": ["ht9170.js"],
|
||||
"C++": ["ht9170.cxx"],
|
||||
"C": []
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "V", "typ": 5},
|
||||
"Operating Current": {"unit": "mA", "typ": 3}
|
||||
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["https://www.seeedstudio.com/DTMFDual-Tone-Multi-Frequency-Shield-p-1839.html"],
|
||||
"Datasheets": ["http://www.holtek.com/pdf/comm/9170v111.pdf"],
|
||||
"Schematics": ["http://www.dossant.com/projects/wp-content/uploads/2013/01/dtmf_mod3_schematic.pdf"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"Library": "ht9170",
|
||||
"Description": "API for the HT9170 DTMF Decoder",
|
||||
"Sensor Class":
|
||||
{
|
||||
"HT9170":
|
||||
{
|
||||
"Name": "Dual Tone Multi Frequency (DTMF) Decoder",
|
||||
"Description": "This driver was developed using the DTMF (Dual-Tone Multi-Frequency) Shield by Seeed Studio*. It can decode DTMF signals presented at its audio input. It does not generate DTMF signals.",
|
||||
"Aliases": ["ht9170"],
|
||||
"Categories": ["telephony"],
|
||||
"Connections": ["gpio"],
|
||||
"Project Type": ["telephone", "prototyping"],
|
||||
"Manufacturers": ["seeed"],
|
||||
"Kits": [],
|
||||
"Image": "ht9170.jpg",
|
||||
"Examples":
|
||||
{
|
||||
"Java": [],
|
||||
"Python": ["ht9170.py"],
|
||||
"Node.js": ["ht9170.js"],
|
||||
"C++": ["ht9170.cxx"],
|
||||
"C": []
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "V", "typ": 5},
|
||||
"Operating Current": {"unit": "mA", "typ": 3}
|
||||
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["https://www.seeedstudio.com/DTMFDual-Tone-Multi-Frequency-Shield-p-1839.html"],
|
||||
"Datasheets": ["http://www.holtek.com/pdf/comm/9170v111.pdf"],
|
||||
"Schematics": ["http://www.dossant.com/projects/wp-content/uploads/2013/01/dtmf_mod3_schematic.pdf"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user