knight0fdragon
Feb 14 2006, 01:32 AM
Ok I have found the locations of the DS WIFI IP in the firmware, perhaps we can use this when grabbing AP info for setup. I wrote, but for those wondering:
wifi data starts at
Slot 1:
0x3FA40
Slot 2:
0x3FB40
Slot 3:
0x3FC40
IP Address located at
Slot 1:
0x3FAC0
Slot 2:
0x3FBC0
Slot 3:
0x3FCC0
struct WFCArea
{
char APName[32];
char Unknown1[32];
char WEPKey[32];
char Unknown2[32];
char IP[4];
char Gateway[4];
char DNS1[4];
char DNS2[4];
};
E.g.
WFCArea WFCbuffer;
readFirmware(0x3FA40,WFCbuffer,sizeof(WFCArea));
bafio
Feb 14 2006, 09:53 AM
QUOTE (knight0fdragon @ Feb 14 2006, 02:32 AM)
Ok I have found the locations of the DS WIFI IP in the firmware, perhaps we can use this when grabbing AP info for setup. I wrote, but for those wondering:
...
Hi! I already made some code to read them in a struct, you can see here:
http://forum.gbadev.org/viewtopic.php?t=82...er=asc&start=15Bafio
knight0fdragon
Feb 14 2006, 02:38 PM
QUOTE (bafio @ Feb 14 2006, 04:53 AM)
QUOTE (knight0fdragon @ Feb 14 2006, 02:32 AM)
Ok I have found the locations of the DS WIFI IP in the firmware, perhaps we can use this when grabbing AP info for setup. I wrote, but for those wondering:
...
Hi! I already made some code to read them in a struct, you can see here:
http://forum.gbadev.org/viewtopic.php?t=82...er=asc&start=15Bafio
lol wow i wish i knew that existed, would of saved me a lot of time from doing multiple firmware dumps to find it
El_Hobito
Feb 16 2006, 03:14 PM
QUOTE (knight0fdragon @ Feb 14 2006, 03:38 PM)
QUOTE (bafio @ Feb 14 2006, 04:53 AM)
QUOTE (knight0fdragon @ Feb 14 2006, 02:32 AM)
Ok I have found the locations of the DS WIFI IP in the firmware, perhaps we can use this when grabbing AP info for setup. I wrote, but for those wondering:
...
Hi! I already made some code to read them in a struct, you can see here:
http://forum.gbadev.org/viewtopic.php?t=82...er=asc&start=15Bafio
lol wow i wish i knew that existed, would of saved me a lot of time from doing multiple firmware dumps to find it
This has been well documented for some time so you should really have done a search first.
knight0fdragon
Feb 17 2006, 02:39 AM
QUOTE (El_Hobito @ Feb 16 2006, 10:14 AM)
QUOTE (knight0fdragon @ Feb 14 2006, 03:38 PM)
QUOTE (bafio @ Feb 14 2006, 04:53 AM)
QUOTE (knight0fdragon @ Feb 14 2006, 02:32 AM)
Ok I have found the locations of the DS WIFI IP in the firmware, perhaps we can use this when grabbing AP info for setup. I wrote, but for those wondering:
...
Hi! I already made some code to read them in a struct, you can see here:
http://forum.gbadev.org/viewtopic.php?t=82...er=asc&start=15Bafio
lol wow i wish i knew that existed, would of saved me a lot of time from doing multiple firmware dumps to find it
This has been well documented for some time so you should really have done a search first.
searchin the firmware for 192.168.1.1 is a lot faster then searching a crap load of web pages and forum pages
MaHe
Feb 18 2006, 10:43 AM
Ever heard of www.bottledlight.com/ds/ ?
knight0fdragon
Feb 18 2006, 03:18 PM
QUOTE (MaHe @ Feb 18 2006, 05:43 AM)
Ever heard of www.bottledlight.com/ds/ ?

no sir, but now its added to my favorates