
thoduv
-
Posts
29 -
Joined
-
Last visited
Content Type
Profiles
Events
Forums
Blogs
Downloads
Posts posted by thoduv
-
-
Problem:
Connected OK but can't send/receive data!
Probable Causes:
* WEP could be incorrectly configured.
* IP address may be manually incorrectly configured.
* Router may be incompatible!
And what about this error, but happening randomly ? (seeing it works everytime with WFC games)
Router i'm using: Netgear DG384G
With packet captures, i'm able to see that it doesn't send anything (not even ARP).
It happens even with WEP disabled.
-
Okay, I get it works, but it seems to be a very weird bug in Dswifi : it works if SGIP_DEBUG is undefined in sgIP_Config.h (compiled by sgstair as "Release" version). When SGIP_DEBUG is defined, so debug functions are enabled (and even if the log function do nothing), I can't get it work...
-
Hi !
I tried to send an HTTP request to an HTTP server and to receive the answer. But it doesn't work...
Here is a packet capture where the request and the server answer can be seen : http://thoduv.drunkencoders.com/tmp/dswifi_http_test.pcap
I won't show my code beacause it's too ugly, but I've tested it (exactly the same code) on my PC and it works.
Using another protocol like Msn Messenger, this code works on DS (I manage to send a command to MSN server and receive the answer).
I'm using a Netgear DG834G router/access point, which works fine with Nintendo WFC games.
I did a lot of tries and searches but I definitively don't unterstand why it's not working (seeing it can be done : wifi_lib_test did it with TCP Connect test).
Thanks !
-Thoduv;
-
I've post some precisions on the project who is no longer called Dsmsn : http://thoduv.free.fr/p (with english translation for people hating french)
-
As you can see, there are no wifi stuff in the program now. It's only an early developpement version... I'm intensively coding and waiting for TCP !
-
I'm the "french dude" in question : it's not dead, have a look here : http://thoduv.free.fr/p (or here for a very bad translation : http://babelfish.altavista.com/babelfish/t...oduv.free.fr/p)
-
Wow, that sounds really great ! I hope you manage to send the data
-
Wow, I can't help you but it's a great project ! I hope you get it work !
-
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...
-
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...
-
DNS client working
Do you write your own DNS client or do you get a newer version of Dswifi ?
-
I've also tried... and I've also found that global_connectAP is always 0 : never updated in the lib.
You must keep the AP "id" of the connected AP and get infos with Wifi_GetAP...
-
I've implemented a simple TFTP-server that I'm going to use for a project later. TFTP works by sending one DATA packet, wait for ACK, send next DATA, and so on. This means only one packet is in the queue at any time and therefore the protocol is very sensitive to latency.
I've only gotten about 5 kb/s transfer rates. I've discovered that the bottleneck is the communication between the ARM7 and the ARM9 processors. The ARM9 polls for new packages every 50 ms, when the Wifi_Timer_50ms() function is called. That means new packages are recieved 10 times every second. Since TFTP sends 512 bytes in every package you only get a transfer rate of 10 * 512 ~ 5 kb/s.
This leads me to two questions:
1. Why is it using polled communications between the processors when the IPC interrupts could be used?
2. Why is the IP stack implemented on the ARM9 processor and not ARM7? It would be much more efficient if I could implement the TFTP-server in ARM7... The socket functions could be made available on both processors using IPC for ease of use.
And another question:
3. In wifi_lib_test TIMER3_DATA is set to -13106. Doesn't that give an interrupt every 100 ms instead of 50 ms?
PS. using wifi_lib 0.2b
2. I was also wondering why...
It will be faster, no ? Can't the ARM7 CPU be used more than it is actually ?
And another question:
4. Do you progress on the projet sgstair ?
-
Yeah, but some news from the projet would be welcome... Only to show the project's not dead...
-
is this supposed to work with udp_test? it does nothing when i try it with my code and neither with this yet the official one works fine.
You would probably have to change the internal IP and port. Since I'm protected by WEP here, I recompiled the source with the IP to send to as my outside line, forwarded port 8888, and stole a neighbor's wifi to test, and it seems to work fine. Make sure you aren't mismatching ports somewhere...
WEP's working ?
-
When will you release your lib with TCP support ? You known that UDP isn't used at all on the internet...
The first reals internet apps will come when you will release DNS and TCP. Many devs and users are waiting for this first "useful" release for long times, and it doesn't arrive !..
-
12 days without an update ! Have you progressed ?
-
At present the app is limited to the rtl2500 chipset based cards, specificly the ones that firefly's driver works with. The code for the tunnel app itself is designed to be mostly portable though, so only minimal effort will be required to port it to a new system if a driver exists.
As such, yes, the driver is going to be the limiting factor for linux... but depending on how much free time I have, I may attempt to do the driver thing in linux as well.
-Stephen
Wow !
I hope you will have free time !
-
Glad you all appreciate my work
I've considered releasing the UDP/IP stack first, but really TCP/IP isn't too far away - my attention has just been directed elsewhere lately.
We'll see if I can beat the odds and get all my other stuff done, and still release the wifi lib before MK:DS
that'd be a real win-win situation.
-Stephen
Oh ! It's a great news !
I've also started a project that will use your lib !
-
Ha haven't all understant in your last news... Is the project paused ? Will it be late ? About 1 week, 2 week, or undermined ?
(Sorry but I've a bad english...)
-
My computer is always on so that's not an issue. Would the ds be able to connect through a laptops wireless nic card thingy(forget what it's called). Would be cool if it did.
It does with sgstair's stack (sgIp) or Online games like Mariokart. But it doesn't with Ds NIFI (wmb) or DS Tunneling (that is being made by sgstair).
-
Do you have progress on the TCP/IP protcol ?
-
Does someone test it ? I'm hoping it will work ! If so : great job Loopy !
-
This "little good driver" doesn't exist at all for the moment, and there are no projects of. The only driver is for PCI card with Ralink RT2560 and its author Firefly don't absolutely want to release his source code...
(He said that nobody knows how to use this code.)
v0.3 Wifi Lib Connection Troubleshooting Guide
in DS Hacks [/ds]
Posted
Network packet capture (using ethereal). I'll try to do a wireless one, but I'm not sure of what kind of software to use...