acassis commented on issue #994:
URL: https://github.com/apache/nuttx-apps/issues/994#issuecomment-2232032333
@linguini1 whoa... actually looking the code I see now that there is an
option that just send a single msg:
```
else
{
/* no register index "-r" has been specified so
* we do a pure read (no write of index)
*/
msg[0].frequency = i2ctool->freq;
msg[0].addr = i2ctool->addr;
msg[0].flags = I2C_M_READ;
msg[0].buffer = buf;
msg[0].length = nbytes;
ret = i2cdev_transfer(fd, msg, 1);
}
```
I missed that option: could you try passing the "-r" parameter during the
scan?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]