Is it possible to read or write raw bytes to a i2c device using this library?
I'm trying to interface with the SL030 RFID module, and it has an atypical command structure.
Instead of the usual sequence of slave address, ack, command register, ack, data(n)*ack, stop for a write, this module wants slave address, ack, length, ack, command, ack, data(n)*ack, stop
Tracing a writeBytes all the way to the ioctl structure, it seems that it's assuming a command register will always be the first byte. Anything else in there that I've overlooked?
Is it possible to read or write raw bytes to a i2c device using this library?
I'm trying to interface with the SL030 RFID module, and it has an atypical command structure.
Instead of the usual sequence of
slave address, ack, command register, ack, data(n)*ack, stop
for a write, this module wantsslave address, ack, length, ack, command, ack, data(n)*ack, stop
Tracing a writeBytes all the way to the ioctl structure, it seems that it's assuming a command register will always be the first byte. Anything else in there that I've overlooked?