Page 1 of 1
Direct DS->DS comms?
Posted: Sun Feb 01, 2009 7:06 pm
by Pete
Would I be right to guess that to communicate directly between two (or more) DS units I'll either need to have one of them pretend to be an Access Point in software or alternatively use the Wifi_*Raw* functions?
Or is there another way? All I've been able to pick up so far seems to deal with using an existing Access Point.
Would anyone happen to know of some existing homebrew sample code that does what I'm looking for (I don't care which approach it uses if it works)?
Re: Direct DS->DS comms?
Posted: Fri Mar 27, 2009 1:40 pm
by opearn
you should check out ds2ds, i think that its the only ds homebrew to support direct ds2ds communication.
http://kram.dev-fr.org/
i don't think the source is available but you could try contacting the creator.... (if you speak french! mwahaha, {i don't})
p.s this post might not help you, but at least its a reply
Re: Direct DS->DS comms?
Posted: Fri Mar 27, 2009 3:14 pm
by Pete
I can speak a little French
But I've since worked it out for myself. Works beautifully
Re: Direct DS->DS comms?
Posted: Sat Apr 04, 2009 11:38 pm
by opearn
wow. can you please release some code to show others [me] how to do direct ds to ds communication?
Re: Direct DS->DS comms?
Posted: Sun Apr 05, 2009 1:23 am
by Pete
removed: stop pointing people to this crap
Specifically page 2 for the code.
Re: Direct DS->DS comms?
Posted: Sun Apr 05, 2009 9:53 am
by opearn
thank you.
perhaps you could get it working with standard libraries?
eg main.cpp
Code: Select all
#include <nds.h>
int ds2ds(u16 datalen, u16 rate, u16 * data) {
//code edited so it works
}
void Handler(int packetID, int readlength){}
int main{//cbs}
int main
Re: Direct DS->DS comms?
Posted: Sun Apr 05, 2009 1:41 pm
by Pete
Maybe, but I'm too lazy to bother working out what would need to be included into my project to do it
This way works, building the Wifi library is trivial, and maybe one day someone will do it properly and I won't need my hack.
Re: Direct DS->DS comms?
Posted: Wed Aug 25, 2010 4:46 pm
by ShotgunNinja
Wow, please let me know when this is improved. Thanks!