#59533 - chrissieboy - Wed Nov 02, 2005 2:11 pm
Hi all!
I found this page : http://akkit.org/info/dswifi.htm
But there isn't a library yet i think?
I found in libnds a wifi.h in the arm 7 directory
But there's almost nothing in here :(
Then i saw this :
i think this is the hardware adres to put the wifi power on???
then i saw this in the main code :
so it turns the power on.
So i in my code i made this :
#define POWERCNT 0x0304
but i doesn't know if im doing it right?
In sound.h i saw they define like this :
#define POWERCNT (*(vuint16*)(0x0304))
is this the right way?
Im trying to find documents about how this define works but i really don't understand it, what does vuint16* means??
Can somebody explain me , because i want to try connecting with my computer.
Thanx for your help!
I found this page : http://akkit.org/info/dswifi.htm
But there isn't a library yet i think?
I found in libnds a wifi.h in the arm 7 directory
But there's almost nothing in here :(
Then i saw this :
Code: |
0x0304 - POWERCNT - ARM7 Power Control (R/W) Bit Description 0 Sound Power 1 Wifi Power 2-15 Unused Set a bit to '1' to enable power to that system, '0' to disable. |
i think this is the hardware adres to put the wifi power on???
then i saw this in the main code :
Code: |
POWERCNT |= 2; -- Enable power to the wifi system |
so it turns the power on.
So i in my code i made this :
#define POWERCNT 0x0304
but i doesn't know if im doing it right?
In sound.h i saw they define like this :
#define POWERCNT (*(vuint16*)(0x0304))
is this the right way?
Im trying to find documents about how this define works but i really don't understand it, what does vuint16* means??
Can somebody explain me , because i want to try connecting with my computer.
Thanx for your help!