mraa.c: Add new API to support I2C bus number query
authorYong Li <yong.b.li@intel.com>
Tue, 25 Aug 2015 07:04:38 +0000 (15:04 +0800)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Tue, 25 Aug 2015 10:36:14 +0000 (11:36 +0100)
commit02399b61f985224b9a1a690303e095af5d85575d
tree04b33f45ba11fe90c9d179bf5caffac269fc0228
parentaf533deffe2ba63dc83b6282fc0783e991c96f81
mraa.c: Add new API to support I2C bus number query

Add two new API to get the usable I2C bus count and related I2C adapter number

Signed-off-by: Yong Li <yong.b.li@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
api/mraa/common.h
examples/hellomraa.c
src/mraa.c