[Potential Spoof] Re: i2c-dev wrapper
Vijay Khemka
vijaykhemka at fb.com
Wed Oct 2 07:36:49 AEST 2019
On 9/29/19, 6:01 PM, "openbmc on behalf of Tao Ren" <openbmc-bounces+vijaykhemka=fb.com at lists.ozlabs.org on behalf of taoren at fb.com> wrote:
On 9/27/19 4:54 AM, Brad Bishop wrote:
> Does anyone have a favorite i2c-dev API wrapper? Preferably but not necessarily in C++?
i2c-tools (below url) provides several easy-to-use APIs. Maybe you are looking for more APIs?
https://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git/tree/include/i2c/smbus.h
Brad, We are using them in entity manager https://github.com/openbmc/entity-manager/blob/master/src/FruDevice.cpp
Cheers,
Tao
More information about the openbmc
mailing list