Jump to content

hogi

Members
  • Posts

    1
  • Joined

  • Last visited

hogi's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. hi, first i want to thank all developers of DSWifi for their excellent work. Keep it up! I use PAlib for programming on the Nintendo DS and since it unfortunately doesn't have a good GetHTTP() function, i am currently writing one myself. The basic structure exists and works. But i noticed some weird thing, which is the reason for this post. If I download files from servers like google.com, wikipedia... i only get a download speed of max. 3kb/s. First i thought my code was responsible, but then i tested it with a webserver program running on my PC (ip: 192.168.2.100) and i suddenly got download rates of about 80kb/s, with the same code! So: DS -> Internet: 3kb/s DS -> Local Network (only through my router): 80kb/s I thought this has something to do with timing (and possibly packet loss?), so i checked what PAlib does internally. It seems the DSWifi function Wifi_Timer(ms) is called every 50ms. I changed this to 10ms, which probably resulted in a very little increase of download speed in both local network and internet. But the difference between these two is still huge. Could someone please explain to me, what Wifi_Timer(ms) does exactly and what the best value for the interrupt period is. Also, what is "sgIP"? i came across this expression several times in the documentation. I would very appreciate it, if someone could help me fixing this "speed problem" greets, hogi
×
×
  • Create New...