how do I achieve i2c broadcasting using ioctl in Linux
I'd like to check how many i2c devices are on my i2c bus and what's their slave addresses.
I understand that I should use the broadcasting address 0x00. And those devices may return an ACK when they receive the broadcasting message. However, I dont know how to achieve that using ioctl() in Linux. Since according my understanding, ioctl() can only read byte from registers or write byte to registers, it does not have a designated function of recognizing the address that ACKs are sent from. Or is there another solution? Thanks |
Documentation/i2c/dev-interface may help.
|
How to detect which encoding Linux is using without locale untility
how can i delete this post?
|
All times are GMT -5. The time now is 12:38 AM. |