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 Misc > WiFi Lib 0.3 is here!

#80702 - MaHe - Mon Apr 24, 2006 10:38 pm

http://blog.akkit.org/2006/04/24/at-long-last-the-wifi-lib-release/

Quote:
Version 0.3 is out at last!
A huge number of improvements and features have been added since the last version, making this finally a library you can *do something* with.
An abbreviated list of improvements goes like this: WEP, DHCP, TCP, ICMP, DNS, WFC data, but all those are just the major points, there?s a lot of work that?s been done under the surface and the internals will run much more smoothly too.

_________________
[ Crimson and Black Nintendo DS Lite | CycloDS Evolution | EZ-Flash 3-in-1 | 1 GB Transcend microSD ]

#80703 - shaz - Mon Apr 24, 2006 10:41 pm

all I can say is!... YES!!!!
_________________
It's so easy to be wise. Just think of something stupid, then dont do it.

#80706 - lambi1982 - Mon Apr 24, 2006 11:18 pm

COOL, huh huh.....huh...gr...h.u.h.h.u..h.u...
_________________
Who, Me?

#80707 - Darkflame - Mon Apr 24, 2006 11:21 pm

fantasticogical :)

#80710 - quadomatic - Tue Apr 25, 2006 12:03 am

SWEET! Web browser here we come

#80711 - Dwedit - Tue Apr 25, 2006 12:16 am

Samba client anytime soon?
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#80714 - thundrestrike - Tue Apr 25, 2006 1:03 am

quadomatic wrote:
SWEET! Web browser here we come


You mean someone can make a homebrew web-browser with this? WITH graphics? sweet! that'd be nice!

Bronto- from stephens weblog wrote:
Thanks man! Now I can finish my nds e-mail client :)


Now thats something to look foward to!

Tob- from stephens weblog wrote:
There?s a LOT of really cool DS apps coming now!


Sounds like this release is really something!
_________________
popcorn

#80717 - tepples - Tue Apr 25, 2006 1:23 am

A web browser is an HTTP client plus a CSS layout engine plus an HTML parser plus an HTML default stylesheet.

So before we make a web browser, we need to make a simple HTTP client. Then if somebody builds a .nds loader around the HTTP client, we may not need Ralink cards and WMB anymore, as we can just use Apache HTTP Server.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#80723 - Madrigal - Tue Apr 25, 2006 2:26 am

At long last. This is awesome. There are sooooo many apps that have been waiting on this release.

#80724 - sgstair - Tue Apr 25, 2006 2:32 am

tepples: of course a HTTP client is about as difficult to write as a hello world app ;) I dare say we will be seeing a lot of interesting junk soon :D

-Stephen
_________________
http://blog.akkit.org/ - http://www.akkit.org/dswifi/

#80729 - tepples - Tue Apr 25, 2006 3:01 am

sgstair wrote:
tepples: of course a HTTP client is about as difficult to write as a hello world app ;)

Even one supporting HTTP/1.1 chunked mode?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#80730 - sgstair - Tue Apr 25, 2006 3:08 am

yes ;) chunked is actually a piece of cake... I've seen more complex hello world apps, beleive me (and if you still don't I suppose I'll be forced to write one :P)

-Stephen
_________________
http://blog.akkit.org/ - http://www.akkit.org/dswifi/

#80732 - vb_master - Tue Apr 25, 2006 3:10 am

Can't wait for the DS VNC's to support this!
_________________
Back.

#80750 - HyperHacker - Tue Apr 25, 2006 5:47 am

Kickass. Finally I won't have to turn WEP off to use cool DS apps.

#80755 - Darkflame - Tue Apr 25, 2006 7:00 am

HyperHacker wrote:
Kickass. Finally I won't have to turn WEP off to use cool DS apps.


Yes, I just know the neighbors are stealing my bandwidth
*eyes twitch*

#80757 - chishm - Tue Apr 25, 2006 7:20 am

Darkflame wrote:
HyperHacker wrote:
Kickass. Finally I won't have to turn WEP off to use cool DS apps.


Yes, I just know the neighbors are stealing my bandwidth
*eyes twitch*

You know, if they aren't too smart, you could try going onto their network while they're connected to yours. Maybe look for a shared printer and send them little messages...
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com

#80764 - Mrshlee - Tue Apr 25, 2006 9:29 am

chishm wrote:
Darkflame wrote:
HyperHacker wrote:
Kickass. Finally I won't have to turn WEP off to use cool DS apps.


Yes, I just know the neighbors are stealing my bandwidth
*eyes twitch*

You know, if they aren't too smart, you could try going onto their network while they're connected to yours. Maybe look for a shared printer and send them little messages...

Nothing like goatse to brighten up someones day.
_________________
MrShlee.com
Projects
Dev-Scene
MyTechpedia

#80765 - MaHe - Tue Apr 25, 2006 9:36 am

chishm wrote:
Darkflame wrote:
HyperHacker wrote:
Kickass. Finally I won't have to turn WEP off to use cool DS apps.


Yes, I just know the neighbors are stealing my bandwidth
*eyes twitch*

You know, if they aren't too smart, you could try going onto their network while they're connected to yours. Maybe look for a shared printer and send them little messages...


There's an easier solution - just filter their MAC addresses. Though a printer message may be funny.
_________________
[ Crimson and Black Nintendo DS Lite | CycloDS Evolution | EZ-Flash 3-in-1 | 1 GB Transcend microSD ]

#80775 - kevinc - Tue Apr 25, 2006 2:03 pm

Strange, for some reason my DS fails to see any of the surrounding APs (I have about 6), the previous lib sees them all.

#80783 - Sappharad - Tue Apr 25, 2006 4:11 pm

Would there happen to be a simple example app for this anywhere?
Just something that connects to a router, and maybe send's and receives a packet, then stops?

The actual library doesn't look like it would be too difficult to use, but I've got no idea how to properly include it in an ARM9 only app. Will the ARM7 stuff just magically be there if I link with the library? That is why a small example would be useful so I know how to alter my build settings.

#80784 - sgstair - Tue Apr 25, 2006 4:16 pm

Sappharad: yes; included in the examples backage is the full source of the wifi_lib_test app, *and* a minimal app that only connects to an access point. It doesn't send and receive data yet, but at that point it is merely a matter of knowing how to use berkley sockets, and there are plenty of tutorials for that.

-Stephen
_________________
http://blog.akkit.org/ - http://www.akkit.org/dswifi/

#80847 - The 9th Sage - Tue Apr 25, 2006 8:59 pm

HyperHacker wrote:
Kickass. Finally I won't have to turn WEP off to use cool DS apps.


I was just thinking that as well, though I doubt there's anyone around here who would connect to my WiFi.
_________________
Now with 20% More Old Man from Zelda 1 than ever before!

#80877 - Mr. Picklesworth - Tue Apr 25, 2006 11:43 pm

Does anyone know where I can get an nds of the example?

I somehow managed to screw up DevKitPro...

Either that, or do you know of any apps compiled with the new Wifi lib?
_________________
Thanks!
MKDS Friend Code: 511165-679586
MP:H Friend Code: 2105 2377 6896


Last edited by Mr. Picklesworth on Wed Apr 26, 2006 1:48 am; edited 1 time in total

#80881 - compacho - Wed Apr 26, 2006 12:07 am

Will this be useful to me since I notice a few wifi apps says it uses my NDS wifi settings in the firmware. All I have is a Nintendo wifi dongle and no other router settings. There are about a dozen wifi signals around my house, but I don't know their settings.

So, what I'm really asking (as a total wifi noob), will it be possible to walk next to some stranger's house, use their connection, and play a game?

I tried the example app, and it seems pretty kickass.

#81141 - ssj4android - Thu Apr 27, 2006 5:58 am

Alright, I tried the test app, and this doesn't seem to be working. It hangs on ASSOCSTATUS_AUTHENTICATING, then fails to connect. Tried using both firmware settings and manually. Using a Linksys card with SoftAP.
EDIT: I switched authentication from "shared" to "open", and now it works. What's the difference?

#81161 - dualscreenman - Thu Apr 27, 2006 1:40 pm

compacho wrote:
Will this be useful to me since I notice a few wifi apps says it uses my NDS wifi settings in the firmware. All I have is a Nintendo wifi dongle and no other router settings. There are about a dozen wifi signals around my house, but I don't know their settings.

So, what I'm really asking (as a total wifi noob), will it be possible to walk next to some stranger's house, use their connection, and play a game?

I tried the example app, and it seems pretty kickass.

See if you can use a Mario Kart game to grab the connection settings. Sure you can play, jsut make sure they have broadband or they get suspicious!
_________________
dualscreenman wrote:
What about Gaim DS? Gaim pretty much has support for all IM programs.
tepples wrote:
"Goshdammit, the DS is not a Gaim-boy! It's a third pillar!"

#81354 - ssj4android - Fri Apr 28, 2006 5:41 pm

Er...the authentication method appears to be a big problem. This library doesn't support shared authentication. So I'd have to use open authentication. But it appears the WiFi games don't support open authentication. At least, it's not working for me. Am I doing something wrong, or can't you use the DS for official games and homebrew using this library at the same WEP protected access point?

#81400 - compacho - Fri Apr 28, 2006 11:56 pm

I have the same problem. Gotta switch back and forth unfortunately.

#81402 - compacho - Fri Apr 28, 2006 11:59 pm

I wonder if we can expect support for the nintendo usb dongle soon. Hmmm...

#81763 - devmani - Mon May 01, 2006 10:33 pm

Wi-Fi lib 0.3 says "connected" even if you have wrong Nintendo WFC settings.
This happens when WEP is on. Isn?t this a serious problem?

#81777 - josath - Tue May 02, 2006 1:20 am

official wifi games work fine for me using wep & open authentication. I've played mario kart and ac:ww both. Also the wifi lib works with the same settings.

Here's a simple example I wrote which will look up a hostname via dns, connect to a HTTP server and send a request, then print the first bit of the reply. It's very basic, and no comments or anything, but it may help people trying to get up & running:
http://davr.org/ds2/wifi.zip

#82085 - ssj4android - Wed May 03, 2006 10:43 pm

josath wrote:
official wifi games work fine for me using wep & open authentication.


You sure? It doesn't for me, and I got a response from Nintendo saying open doesn't work. 64-bit or 128-bit? 64-bit open isn't working here.

#82086 - ficedula - Wed May 03, 2006 10:52 pm

I'm using a Linksys WAP54G AP; the setup says WEP Open authentication, and it works fine with both homebrew and AC:WW ... Shared authentication I know gives problems, but Open is fine at least on my router.

#82087 - ssj4android - Wed May 03, 2006 10:53 pm

I'm using a linksys card and SoftAP, and it doesn't work.