Noel Eck
a3a1fdc81b
Wunused-variable: Fixed all unused variables in src
...
This commit addresses all warnings emitted from -Wunused-variable
in the C++ src.
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-11-02 21:44:27 -07:00
Noel Eck
b5a33f6ee3
cmake: Cleanup of src CMakeLists.txt description field
...
Removed 'upm' string, capitalized first character, added descriptions
where necessary.
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-10-20 16:19:59 -07:00
Noel Eck
922e0cc26b
cpp_headers: Renamed C++ headers from .h -> .hpp
...
To make room for UPM C and C++ sensor code to coexist, all UPM
C++ headers have been renamed from h -> hpp. This commit contains
updates to documentation, includes, cmake collateral, examples, and
swig interface files.
* Renamed all cxx/cpp header files which contain the string
'copyright intel' from .h -> .hpp (if not already hpp).
* Replaced all references to .h with .hpp in documentation,
source files, cmake collateral, example code, and swig interface
files.
* Replaced cmake variable module_h with module_hpp.
* Intentionally left upm.h since this file currently does not
contain code (documentation only).
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-04-28 14:00:54 -07:00
Zion Orent
66aaa97955
swig: rename funcs that caused overload errors in python for hmtrp, wt5001
...
Signed-off-by: Zion Orent <zorent@ics.com>
Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-12-21 16:47:57 -08:00
Zion Orent
387b2b86b0
swig: ensure that all uint*_t passed in have the correct type.
...
Otherwise, we generate an exception. This should fix Issue #172 :
https://github.com/intel-iot-devkit/upm/issues/172
Signed-off-by: Zion Orent <zorent@ics.com>
Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-12-21 16:36:31 -08:00
Noel Eck
e003a11723
cmake: added doxygen doc content to python sensor modules
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-12-21 16:20:15 -08:00
Stefan Andritoiu
4de9734f0a
hmtrp: Added functions that throw exceptions when failing to read from sensors, and added java exception handling.
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-11-24 14:36:29 -08:00
Stefan Andritoiu
dddba3e8a4
java: Added auto load library code in upm SWIG interfaces
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-11-24 14:36:17 -08:00
Jon Trulson
fb779ecd6a
hmtrp: throw exception(s) on fatal errors
...
Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-09-17 17:08:44 -07:00
Petre Eftime
2cab79b4c2
java: Changed size_t and unsigned int to int in array declarations. Renamed buf to buffer where necesarry. Moved most Java array typemaps to java_buffer.i. Fixed some String buffers.
...
Signed-off-by: Petre Eftime <petre.p.eftime@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
Conflicts:
src/upm.i
2015-09-15 17:01:39 -07:00
Stefan Andritoiu
7e2ae96c1f
Added Java support and bindings
...
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-08-13 16:25:54 -07:00
VadimPopov
04edb9be04
docs: more header files edited
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-08-12 12:21:16 -07:00
Brendan Le Foll
d6ce082274
uart: result of mraa_uart_get_dev_path is a const
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-06-02 09:52:24 -07:00
Mihai Tudor Panu
8614cb322a
docs: removed C++ references from documentation to make API language agnostic
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-06-01 15:46:18 -07:00
sisinty sasmita patra
a742459248
images: added more images and modified respective header files
...
Signed-off-by: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-05-26 16:12:33 -07:00
Zion Orent
7b0dce0992
hmtrp: python example for hmtrp Serial RF radio
...
Signed-off-by: Zion Orent <zorent@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-04-17 11:48:30 -07:00
Mihai Tudor Panu
6428f43599
hmtrp: updated header with tags
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-04-13 12:04:54 -07:00
Jon Trulson
780500ac0a
hmtrp: Add proper @defgroup documentation tag
...
Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com>
2015-02-25 09:12:16 -08:00
John Van Drasek
fab4c26238
hmtrp: Initial implementation
...
This was tested on the Grove Serial RF Pro.
Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Zion Orent <zorent@ics.com>
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com>
2015-02-25 09:11:54 -08:00