knight0fdragon
-
Posts
26 -
Joined
-
Last visited
Content Type
Profiles
Events
Forums
Blogs
Downloads
Posts posted by knight0fdragon
-
-
This should be resolved if you just swap the positions on your list, or?
resolving it is not the problem,
I am just suggesting a feature that would be nice to see in the lib..... maybe Ill do it and submit it to CVS
-
This is kind of hard to explain so I will try to create a scenario for better understanding
Lets say in my WFC i have 2 spots saves
spot 1 has linksys
spot 2 has SoftAP
now I am out on the road
I would like to connect to SoftAP using Autoconnect
BUT
in the area I am in, someone has an SSID of linksys, and I can not connect to this router
so the wifi then fails to connect, and thus I can not do any networking.
What I am asking, is that if the DS fails to connect to spot 1 because of this issue, that instead of dieing, try to check out spot 2, then spot 3
right now what i did was just change the SSID in my settings
-
Yes, I got the questiopn right !
Blubb was tested with two NDS's, both in the SAME network (one AP, both NDS's connected to it, communicating with each other)
KnightOfDragon, did you use different ports on each NDS ? (that's very important, if you are on the same network !)
the problem lies with my router, for some reason it wont even let the DS chat with itself
as for your port thing, I dont know what the hell you do, nor do I want to. My method works just fine and I only declare the port to send, the router creates the recv
-
Has anyone ever succesfully connected 2 DS's to the same AP and tried using the wifi test to communicate???
I have no clue on what I am doing wrong
I can chat from DS1 to PC and vice versa
I can chat from DS2 to PC and vice versa
BUT
I can 't chat from DS1 to DS2 and vice versa
I am on a Versalink router also btw
-
i dont know if anyone is experiencing this, but when I FAT_fopen(..."r") then close it, then FAT_fopen(..."w") dualis seems to crash when i want to write to the file
on the DS, i believe that it just freezes on the DS, but that may just be because its having the issues with the writing to begin with,
just something that should be looked into perhaps ??? thanks for ur time
fixed ds bug, seems like an emu issue
what the code looks like....
#include <nds.h> #include "../../general/command.h" #include <nds/arm9/console.h> //basic print funcionality #include <stdio.h> #include <stdlib.h> #include <gbfs.h> // filesystem functions #include "gba_nds_fat/gba_nds_fat.h" FAT_FILE *fps; int main(void) { //irqs are nice lcdMainOnBottom(); FAT_InitFiles(); fps = FAT_fopen("a.txt","r"); FAT_fclose(fps); fps = FAT_fopen("a.txt","w"); int wasWritten = FAT_fwrite("0",1, 1, fps); FAT_fclose(fps); }
-
depending on the prize i may enter, i have a few Wifi apps made and a few more that could be turned into wifi apps, also some ideas too
-
-
well, i think this can only help ds emulation provided that the makers of dualis or ideas or something use the code
this is probably too late but did u use file recovery software to see if some of the database is still availbale??
-
d i wondered if anyone knows wheather this is a problem with the DS and Homeportal or with the DSwifi lib and Homeportal...
Have you tested with official NDS software like mario kart or AC, if you are able to connect then you know its not a DS issue
-
i know how you feel sgstairs, dont let comments like these discourage you, do what u seem fit to make this project work, because its the only way its going to get done, Id rather you doing something u love doing the way u love doing it then any other way, gives us a better quality product in the end. I too would like to see a new version, just like the rest of the communiry, but we are finding ways to deal with it till that day comes, so best of luck to ya
-
select() is a function that check if there is data that can be read on a socket, but it's not implemented in sgstair's lib.
But why don't using non-blocking sockets ? It isn't a problem on a non-OS system like the DS...
if i had TCP i wouldnt mind, but UDP unfortunalty drops data, so there is a less of a chance that i would get it if it were non blocked, plus im keeping networking out of the game loop because its just neater and more versitile when dealing with tons of functions
-
You can do small thing in Vblank interrupt (like animations). I don't think it's in the lib, but you can also use select().
I also remember someone on Gbadev has implemented a king of threading...
the one on GBADEV does not work as of yet, that i know of, and if i interrupt, it gets locked inside.
what is this select()? have any documentation or an example i can use?
-
is there some kind of way to do simple threading??
the only thing that i can do right now is set up a timer and have a nonblocking recv, but i would like it to be blicked when the next lib comes out and have my program wait for it while it is also doing other things
-
Im trying to show a wifi bar on my screen, so I figure i have to use the data from RSSI, now is there a command or something to show the updates of the RSSI, I tried global_connectAP.rssi*100/0xD0 but that is not keeping my RSSI up to date, and I cant find anywhere in the lib to get the RSSI so Im thinking im overlooking something here
-
i need wifime, because i want to flash my brothers and my friends DS and they have FW4 and i only a pk1
i thought that wifime didnt work on the newer firmwares....? well cant u upgrade the passkey by building a jtag cable?
-
Ever heard of www.bottledlight.com/ds/ ?
no sir, but now its added to my favorates
-
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=15
Bafio
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
-
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=15
Bafio
lol wow i wish i knew that existed, would of saved me a lot of time from doing multiple firmware dumps to find it
-
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));
-
Correct, this version doesn't support blocking mode (all sockets are non-blocking) - next version will start sockets in blocking mode and allow you to turn it off (with ioctl)
-Stephen
ok thanks for all the info, since i made a networking class for his stuff, I will just wait till the next version of the lib, and update the classes, i can still use what i got, - the server portion as of now
-
About the server. Port a server application to DSLinux. It should work then.
no thats ok, I would like a server and client in 1 package, thus 1 ROM, so that I could take my games online and play friends from round da world
-
yea that is what I am using now, I just thought that I was missing something here, but I guess not. Ok then thanks a lot, I just need some answer on the server, perhaps thats not gonna happen till the next installment of the lib
-
i want blocking, not non blocking. I do not use that code you said, but for some reason, recvfrom is not waiting for data like its suppose to
as for the second question, has anyone placed the DS into server mode??? I ask this because it is like my PC does not recognize the IP when i access it
-
WHAT??????????
what dont u understand?????
i want to use sync sockets not async, but for some reason it seems its async by default
and i like to use the DS as a server, so that other DS's could communicate via wifi but the function gethostbyaddr will not recognize the IP on the DS, itll act as if the IP doesnt exist
Error
in DS Emulators [/pc/ds]
Posted
go into dualis.ini and change the GPU line to look like this
[GPU]
# OpenGL, D3D, GDI
Renderer=GDI