Direct DS->DS comms?

Post Reply
Pete
Posts: 18
Joined: Wed Jan 28, 2009 9:12 pm

Direct DS->DS comms?

Post by Pete » Sun Feb 01, 2009 7:06 pm

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)?

opearn
Posts: 23
Joined: Tue Feb 17, 2009 11:29 am

Re: Direct DS->DS comms?

Post by opearn » Fri Mar 27, 2009 1:40 pm

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 ;)

Pete
Posts: 18
Joined: Wed Jan 28, 2009 9:12 pm

Re: Direct DS->DS comms?

Post by Pete » Fri Mar 27, 2009 3:14 pm

I can speak a little French :|

But I've since worked it out for myself. Works beautifully :twisted:

opearn
Posts: 23
Joined: Tue Feb 17, 2009 11:29 am

Re: Direct DS->DS comms?

Post by opearn » Sat Apr 04, 2009 11:38 pm

wow. can you please release some code to show others [me] how to do direct ds to ds communication?

Pete
Posts: 18
Joined: Wed Jan 28, 2009 9:12 pm

Re: Direct DS->DS comms?

Post by Pete » Sun Apr 05, 2009 1:23 am

removed: stop pointing people to this crap

Specifically page 2 for the code.

opearn
Posts: 23
Joined: Tue Feb 17, 2009 11:29 am

Re: Direct DS->DS comms?

Post by opearn » Sun Apr 05, 2009 9:53 am

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

Pete
Posts: 18
Joined: Wed Jan 28, 2009 9:12 pm

Re: Direct DS->DS comms?

Post by Pete » Sun Apr 05, 2009 1:41 pm

Maybe, but I'm too lazy to bother working out what would need to be included into my project to do it :lol:

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.

ShotgunNinja
Posts: 34
Joined: Tue May 11, 2010 2:29 am

Re: Direct DS->DS comms?

Post by ShotgunNinja » Wed Aug 25, 2010 4:46 pm

Wow, please let me know when this is improved. Thanks!

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests