050634bbaf
Added iGyroscope interface
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:55:25 +03:00
5f9bebad14
Removed old interfaces and replaced them with the new ones.
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:55:25 +03:00
fae1da6c6f
Added bindings for iAcceleration sensors
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:55:25 +03:00
a411723e5c
Initial implementation of iAcceleration
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:55:25 +03:00
d431d1458e
Updated interfaces and sensors
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:55:25 +03:00
d3ff8cfbc7
Update interface documentation
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:55:25 +03:00
2acecb1e62
Removed commented code
...
Ran clang-format on modified files
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:55:25 +03:00
f870362923
Added bindings for iElectromagnet interface.
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:54:55 +03:00
b0df70ca03
Added getVolts() to iEMG interface and its sensors.
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:54:55 +03:00
4ad0bd2691
Added documentation to interfaces
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:54:55 +03:00
39515cb8ee
Modified all iDistance sensors to return float.
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:54:55 +03:00
9653ef27b8
Removed using namespaces from interface examples
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:54:55 +03:00
d4c68f5088
Updated Java CMake and examples to comply with the new interfaces.
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:54:55 +03:00
bee6374a1a
Updated CMake interface examples.
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:54:09 +03:00
802e95fc8c
Updated rule for ABP sensor.
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:54:09 +03:00
75dced21be
Added bindings for iMotion and iPressure sensors.
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:54:09 +03:00
0483ffcff4
Added bindings for iMoisture sensors.
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:54:09 +03:00
e489f6c180
Added bindings for iLight sensors.
...
Removed old interfaces C++ examples.
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:54:09 +03:00
555a0f9f82
dded bindings for iHumidity sensors.
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:54:09 +03:00
dac8250765
Added bindings for iHeartRate sensors.
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:54:09 +03:00
d6bbe8ec24
Added bindings for iHallEffect sensors.
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:54:09 +03:00
7353449b2b
Added bindings for iDistanceInterrupter sensors.
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:54:09 +03:00
852065f718
Added bindings for iDistance sensors.
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:54:09 +03:00
2ac7778d2d
Added new interfaces bindings
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:54:09 +03:00
71a7491702
Added modifications to cmake to create a separate lib for the new interfaces using SWIG.
...
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:54:09 +03:00
360306db8d
Added interface installing to cmake.
...
You can use it by setting IFACE_HDR with the names of the required interfaces or set module_iface in the sensor's CMakeLists.txt file.
Example files: src/abp/CMakeLists.txt src/lm35/CMakeLists.txt
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com >
2018-10-11 17:54:09 +03:00
2c238661ce
Added iElectromagnet interface
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@gmail.com >
2018-10-11 17:54:09 +03:00
5a5a034248
Added iGps interface
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@gmail.com >
2018-10-11 17:54:09 +03:00
024fd308fa
Added iWater interface
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@gmail.com >
2018-10-11 17:54:09 +03:00
ec58633ca5
Added iVDiv interface
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@gmail.com >
2018-10-11 17:54:09 +03:00
b2441100fa
Added interface iButton
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@gmail.com >
2018-10-11 17:54:09 +03:00
3dc21b1dc8
Added interface iRotaryAngle
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@gmail.com >
2018-10-11 17:54:09 +03:00
ab54cb7058
Added iProximity interface
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@gmail.com >
2018-10-11 17:54:09 +03:00
55b2787e08
Added interface iPH
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@gmail.com >
2018-10-11 17:54:09 +03:00
4e61a4027e
Added iOrp interface
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@gmail.com >
2018-10-11 17:54:09 +03:00
69464ae93b
Added interfaces iEC,iEmg,iClock,iHeartRate,iLineFinder
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@gmail.com >
2018-10-11 17:54:09 +03:00
e7820f2831
Added initial interfaces and some sensors implementing them
2018-10-11 17:54:09 +03:00
85608a9f61
led: Update LED init API
...
mraa_led_init API expects led number. So, replace it with
mraa_led_init_raw for initializing an LED based on label.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2018-09-28 22:45:57 -07:00
4927311a0c
upm: bump minimum MRAA required to 2.0
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2018-09-28 15:38:22 -07:00
b50b93272d
Add initial details of Fedora packages
...
Fedora now ships upm 1.7.0 for Fedora 28 and later so include these
details to enable easier consumption by Fedora mraa/upm.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2018-09-28 14:58:16 -07:00
ed4fe56ef8
Use IdleNotificationDeadline as deprecated IdleNotification has been removed
...
In v8 API 6.5 the long deprecated IdleNotification has been removed so we
need to use IdleNotificationDeadline as nodejs 10.x uses newer v8.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com >
Signed-off-by: Noel Eck <noel.eck@intel.com >
2018-09-09 11:26:28 -07:00
67b77b78aa
upm: version 1.7.0
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
v1.7.0
2018-09-06 08:00:22 -07:00
bc01f710ea
docs: remove images and references to obsolete IDEs
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2018-09-06 07:55:48 -07:00
1af38e060e
images: update Sparkfun license for images to CC BY 2.0
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2018-09-06 07:46:33 -07:00
62f84dcc47
mmap-gpio: remove deprecated mmapped gpio function calls
...
The memory mapped GPIO function calls have been deprecated and in turn removed from the UPM libraries. MRAA now provides the best/fastest GPIO access possible based on the selected platform/pin automatically.
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2018-09-04 07:53:16 -07:00
6ae7e9125b
examples: gcc8 fixes for -Werror=format-truncation
...
Fixes below issues:
tm1637.cxx:69:29: error: "%2d%02d" directive output may be truncated writing between 5 and 15 bytes into a destination of size 5 [-Werror=format-truncation=]
snprintf(myTime, 5, "%2d%02d", (hour + timezone + 24) % 24, min);
jhd1313m1.c:65:49: error: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Werror=format-truncation=]
snprintf(str, sizeof(str), "Hello World %d", ndx);
Signed-off-by: Sumit Garg <sumit.garg@linaro.org >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2018-09-04 07:27:53 -07:00
07a9af07fe
upm-c: remove uint8_t limit from pin/bus variables in structs
...
This removes unnecessary uint8 types from C driver structs that prevented some sensors from being initialized when connected to a MRAA subplatform.
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2018-09-04 06:32:12 -07:00
89e2ec870a
bh17xx: minor documentation and formatting updates, added rohm to vendor groups
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2018-08-10 10:24:50 -07:00
4935a16530
BH1749: Add library blocks to headers, JSON format, and change SWIG JAVA vector type
...
- Add library blocks to header files
- Removed unneccessay new lines in JSON file
- Change SWIG Java floatVector to uint16Vector
Signed-off-by: Assam Boudjelthia <assam.boudjelthia@fi.rohmeurope.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2018-08-09 12:03:40 -07:00
9ef90ccb81
bh1749: Add examples for all languages
...
* Examples for C/C++/Python/Java/JavaScript
* Add Java example to CMakeLists
Signed-off-by: Assam Boudjelthia <assam.boudjelthia@fi.rohmeurope.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2018-08-09 12:03:35 -07:00