Removed old interfaces and replaced them with the new ones.

Signed-off-by: Serban Waltter <serban.waltter@rinftech.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Serban Waltter
2018-09-27 17:33:40 +03:00
committed by Mihai Tudor Panu
parent b6e53f7da8
commit 34bb12933d
139 changed files with 396 additions and 832 deletions

View File

@ -2,4 +2,4 @@ set (libname "t6713")
set (libdescription "I2C/UART High Accuracy CO2 Sensor")
set (module_src ${libname}.cxx)
set (module_hpp ${libname}.hpp)
upm_module_init(mraa interfaces)
upm_module_init(mraa)

View File

@ -24,7 +24,6 @@
#include "mraa/i2c.hpp"
#include "interfaces/iCO2Sensor.hpp"
namespace upm {
/**
@ -54,6 +53,8 @@ namespace upm {
* @snippet t6713-co2-sensor.cxx Interesting
*/
#define UPM_THROW(msg) throw std::runtime_error(std::string(__FUNCTION__) + ": " + (msg))
namespace t6713_co2
{
/* COMMAND VALUES */
@ -104,7 +105,7 @@ namespace t6713_co2
}FUNCTION_CODES;
}//namespace t6713_co2
class T6713 : public ICO2Sensor {
class T6713 {
public:
/**
* Instantiates a T6713 object

View File

@ -4,8 +4,6 @@
#ifdef SWIGJAVA
%include "arrays_java.i";
%include "../java_buffer.i"
%typemap(javaimports) SWIGTYPE %{import upm_interfaces.*;%}
%import "../interfaces/javaupm_iCO2Sensor.i"
JAVA_JNI_LOADLIBRARY(javaupm_t6713)
#endif