WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Reading Wiimote memory

 
Post new topic   Reply to topic    WiiLi.org Forum Index -> General Windows Wiimote
View previous topic :: View next topic  
Author Message
perkbrian



Joined: 15 Dec 2006
Posts: 10

Digg It
PostPosted: Wed Jan 31, 2007 10:35 pm    Post subject: Reading Wiimote memory

right, so i know that you need to send report 0x17 to tell the wiimote to send back its memory stuff, but what else to i need to send?

using C#...

this is what i have so far:

byte[] buf = new byte[2];
buf[0] = 0x17;
buf[1] = 0x00;
wiimote.Write(buf);

and it sends me nothing back....

from what i read in the wiki under the flash memory section of the wiimote, and under the calibration section (thats what im trying to get)...
Back to top
View user's profile Send private message
Cha0s
Site Admin


Joined: 17 Jan 2007
Posts: 493

Digg It
PostPosted: Wed Jan 31, 2007 11:16 pm    Post subject:

Read more carefully... you need to send the full payload, i.e. even if your address is only one byte, you need to send 4 bytes for address.
http://www.wiili.org/index.php/Wiimote#Reading_and_Writing
_________________
Cha0s
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> General Windows Wiimote All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group