Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python bindings compatible with 'smbus' module #27

Open
mefistotelis opened this issue Mar 13, 2021 · 1 comment
Open

Python bindings compatible with 'smbus' module #27

mefistotelis opened this issue Mar 13, 2021 · 1 comment

Comments

@mefistotelis
Copy link

There are two major smbus modules for Python, already:

But these are using Linux kernel i2c modules, so are not multi-platform, and I don't think there's a way to use them over USB.

I think it might be useful to create Python bindings for smbusb as well, preferably keeping the interface used by existing modules.

(Just wanted to start a discussion on that, feel free to comment.)

@mefistotelis
Copy link
Author

The libsmbusb interface contains only smbus messages, it doesn't allow general I2C messages.
It would require FW modifications to add I2C messaging.

Though a version without I2C features seem to e doable right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant