gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Setting up WFC from homebrew applications

#135339 - melw - Sun Jul 22, 2007 2:44 pm

Before proceeding any further, I wanted to make sure there's no existing solutions I could use. In other words: Does anyone have currently source / lib for searching and setting wireless network connection up, that would be easy to include into a project? I.e. finding a router, configurating WEP passwords etc. and saving connection settings to firmware.

I'm aware of El Hobito's WiFi Setup, but 1) that's for PALib only and 2) I couldn't even find a source code for that anymore (links both from this forum and El Hobitos's blog have been expired).

Follow-up question: Does anybody else here need such a thing? And if so, would you prefer as tiny and simple source code without any GUI or extra gimmicks, or rather something graphically polished, similar to what commercial WiFi games have for setting up network?

#135340 - Lick - Sun Jul 22, 2007 2:59 pm

I had a try at it, but I just didn't really feel that it was needed so I just froze the project. Later on, I deleted the project files. ;)

Anyway, it would be a nice thing to have. Especially if you could write up a manager that let's you "swap" profiles. Virtual profiles (not the 3 on the DS) and place them in the 3 slots.

While you're at it, please implement rebootlib (reset to device-bootmenu) and Locator (find application directory with libfat).

Good luck.
_________________
http://licklick.wordpress.com

#135347 - spinal_cord - Sun Jul 22, 2007 4:51 pm

I think most people want such a thing, but not really need it, as all wifi commercial games have the ability to set the connection.

It would be a great thing to have, a standard lib so anyone with wifi homebrew can just call the wifi setup then return to their code without trouble.

I would love to add such a thing to DiagnoSe, but I don't have the acknowledge.
_________________
I'm not a boring person, it's just that boring things keep happening to me.
Homepage

#135385 - dantheman - Mon Jul 23, 2007 1:30 am

I've never used it myself, but didn't the FWNITRO firmware allow such a thing?

#135434 - melw - Mon Jul 23, 2007 10:01 am

Lick wrote:
Anyway, it would be a nice thing to have. Especially if you could write up a manager that let's you "swap" profiles. Virtual profiles (not the 3 on the DS) and place them in the 3 slots.


Hmm, yes - not a bad idea. Have to think about this as well.

Lick wrote:
While you're at it, please implement rebootlib (reset to device-bootmenu) and Locator (find application directory with libfat).


If I get this done, it's better to be as simple as possible - although a standalone WFC settings program makes some sense, I rather would like to see the settings be part of any homebrew application that just uses WiFi.

spinal_cord wrote:
I think most people want such a thing, but not really need it, as all wifi commercial games have the ability to set the connection.


Yes - but there are situations when you forget to have a commercial game inserted, are on the road and can't connect to an AP because the homebrew ones rely on ready settings.

danteman wrote:
I've never used it myself, but didn't the FWNITRO firmware allow such a thing?


Indeed it does. Thanks for the pointer.

Well, this is something that I intend to implement for Dicewars DS, but there's tons of other things to finish with the game first - so don't hold your breath quite yet.