From: Mike C. <mi...@gm...> - 2007-03-29 00:12:37
|
On 3/28/07, Jasen Jacobsen <ja...@gm...> wrote: > > > I think my next steps in development are: > 1) Mii transfer. I have Mike Cohen's code stuck in the framework, but > I need to modify DarwiinRemote to use it, and probably do some > clean-up/refactoring. Thanks. I've been experimenting with reading the entire 750 byte Mii data block, since you need it to calculate the CRC when writing a Mii. In that case, no more gotMii delegate method is needed and all I have to do for getMii is: - (void*)getMii:(int)slot { return mii_block_buf + MII_SLOT_OFFSET(slot); } I still haven't been able to get sending Miis to work. It looks like I need to wait for an acknowledge message after each write rather than simply writing 16 byte segments, which doesn't work. I'm not sure what the acknowledge message looks like for data writes. Has anyone attempted it? |