On Monday 29 September 2008 19:51:09 [EMAIL PROTECTED] wrote: > > What kind of device is it? > > It's a non Lego related RFID reader (Skyetek) with a proprietary protocol. > > What happens if I override sendData() with something like: > port.i2cStart(address, 0, 0, buf, len, 1); > > Then the first partial transaction in i2c_start_transaction is omitted and > I get the wanted: start/dev addr(write)/aabbccdd/stop > > Right or not? Otherweise, what is the purpose of n_internal_address_bytes?
Have a play and see how far you get. It might also help to look at the I2C code in the low-level firmware to help figure through this. http://lejos.svn.sourceforge.net/viewvc/lejos/trunk/nxtvm/platform/nxt/i2c.c?view=log Your observations are correct. That is the purpose of n_internal_address_bytes Please report back how you get on and maybe submit a class for this device. -- Charles ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Lejos-discussion mailing list Lejos-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lejos-discussion