maxantz Posted December 18, 2005 Posted December 18, 2005 How could you use wifi_lib_test.nds? Because I have a small html browser in text, and I want to add wifi. I know this lib only support udp. But I want to use this lib to transfer requested page from a computer to the nds, using udp. Thanks
bafio Posted December 18, 2005 Author Posted December 18, 2005 How could you use wifi_lib_test.nds? Because I have a small html browser in text, and I want to add wifi. I know this lib only support udp. But I want to use this lib to transfer requested page from a computer to the nds, using udp. Thanks<{POST_SNAPBACK}> Hi, sounds like a nice idea to me, it may be worth waiting for the TCP part to be complete... but well why not? The library is released by Sgstair, so as he says in the wifi page, you should email him to ask for the library.This is really a test app, and seems to have still many problems, but if it's fine with Sgstair, I have no problem in releasing the source code of what I did, it's not that much really, and mostly based on the test app he wrote. Take into account that working of UDP is not reliable, and there is a lot to implement yourself,like flow control, sessions with the client, error correction (missed or out of order packets) etc. that I am actually mostly not doing now Anyway, I'm curious, is the browser based on some other text based browser or did you start from new? Bafio
maxantz Posted December 18, 2005 Posted December 18, 2005 my own browser,it only displays text between BODY marks, and remove all other html-marks I know, it's a very awful method. But it was program to read a simple web page on a embedded device with web server. I know, I can do better. I will ask him for lib, and you for udp file transfer!
bafio Posted December 19, 2005 Author Posted December 19, 2005 Hi, There is a new version on the program in http://www.geocities.com/bafiollo/ Bafio Version 0.6 This update is using the new new 0.2a version of Sgstair library fixingsome issues with ARP requests.new features:* modified the transmission protocol, it's a little more resitant to errors (retransmissions)* transmissin seems to break less often* the destionation IP is saved in the config file, with the AP MAC address* You can set the transmission delay on the server. Lower mean faster transfers,more errors. Use a higher delay if you get transfer errors.* many small changes here and there, like better moving in the list of files,...* (discovered tifferent problems with atutomatic server detection, don't relay on that) NB. You need to use the new version of the server with the new NDS! Theprotocol has changed.
hankchill Posted December 31, 2005 Posted December 31, 2005 *****WARNING***** I tried this on my SuperCard CompactFlash and after running it, the DS froze, and then FORMATTED my CF card. USE IT AT YOUR OWN RISK! Or at least if you're going to try it, BACK UP your save games. --Hank
Alias-Zero Posted December 31, 2005 Posted December 31, 2005 *****WARNING***** I tried this on my SuperCard CompactFlash and after running it, the DS froze, and then FORMATTED my CF card. USE IT AT YOUR OWN RISK! Or at least if you're going to try it, BACK UP your save games. --Hank<{POST_SNAPBACK}> LOL
co2 Posted January 1, 2006 Posted January 1, 2006 *****WARNING***** I tried this on my SuperCard CompactFlash and after running it, the DS froze, and then FORMATTED my CF card. USE IT AT YOUR OWN RISK! Or at least if you're going to try it, BACK UP your save games. --Hank<{POST_SNAPBACK}> I had similar problems. I use it on a GBAMP. After downloading some games, I returned to MoonShell and saw that the client app (I just ran) and some games were removed. My music, pictures, dslinux and other stuff were still ok. I don't know if MoonShell or the wifi client is doing something wrong. co2 ps: Thanks to bafio and sgstair to make this application!
hankchill Posted January 2, 2006 Posted January 2, 2006 *****WARNING***** I tried this on my SuperCard CompactFlash and after running it, the DS froze, and then FORMATTED my CF card. USE IT AT YOUR OWN RISK! Or at least if you're going to try it, BACK UP your save games. --Hank<{POST_SNAPBACK}> LOL<{POST_SNAPBACK}> LOL? I don't see anyone laughing. If you've got nothing useful to say, then keep your posts to yourself. It's a waste of time.
bafio Posted January 2, 2006 Author Posted January 2, 2006 *****WARNING***** I tried this on my SuperCard CompactFlash and after running it, the DS froze, and then FORMATTED my CF card. USE IT AT YOUR OWN RISK! Or at least if you're going to try it, BACK UP your save games. --Hank<{POST_SNAPBACK}> Ops...Sorry abut that, there is not very much error control on the software, but I think I know what the bug may be... Next release in the next days (maybe a week) will hopefully fix that (it happened to me too once) and make the transfer much more reliable (using the new release of the lib.Bafio
El_Hobito Posted January 2, 2006 Posted January 2, 2006 *****WARNING***** I tried this on my SuperCard CompactFlash and after running it, the DS froze, and then FORMATTED my CF card. USE IT AT YOUR OWN RISK! Or at least if you're going to try it, BACK UP your save games. --Hank<{POST_SNAPBACK}> Ops...Sorry abut that, there is not very much error control on the software, but I think I know what the bug may be... Next release in the next days (maybe a week) will hopefully fix that (it happened to me too once) and make the transfer much more reliable (using the new release of the lib.Bafio<{POST_SNAPBACK}>well this is udp/ip! its really not designed for file transfer since its not for reliable data transfer. it may be better just to wait for tcp
bafio Posted January 3, 2006 Author Posted January 3, 2006 *****WARNING***** I tried this on my SuperCard CompactFlash and after running it, the DS froze, and then FORMATTED my CF card. USE IT AT YOUR OWN RISK! Or at least if you're going to try it, BACK UP your save games. --Hank<{POST_SNAPBACK}> Ops...Sorry abut that, there is not very much error control on the software, but I think I know what the bug may be... Next release in the next days (maybe a week) will hopefully fix that (it happened to me too once) and make the transfer much more reliable (using the new release of the lib.Bafio<{POST_SNAPBACK}>well this is udp/ip! its really not designed for file transfer since its not for reliable data transfer. it may be better just to wait for tcp<{POST_SNAPBACK}> Actually I meant the software itselt. UDP has nothing to do with formatting the CF. It is not a problem also to transfer files with UDP, as long as you implement some flow control and error detection. The real problem was not to be able to transmit back once started receiving the packets. The new release of the library fixes that, so this will make reliable transfers possible.Obviously TCP is easyer to use and will make it much easyer to implement a transfer, but I don't see it in the really near future. Bafio
bafio Posted January 4, 2006 Author Posted January 4, 2006 Hi! I just updated the program, this time it uses the latest SgStair library.The protocol now works with syncronization, it's a bit slower now but much safer. Changes: Version 0.7 Uses the new 0.2b release of the library. This fixes the send problem therewas before, so: * modified transmission protocol. Now it should be ok for file transfer even when there is packet loss! Remember to run also the new version of the server* Removed some debug info* hopefuly fixed some issues that could generate file loss on the CF in certain situations
bafio Posted January 5, 2006 Author Posted January 5, 2006 Hi!I compiled a version using your updated drivers, so it's based on version 0.7.As I said before, I did not test this, so **************************** I make no guarantees. **************************** IF you have a Supercard SD and want to try it, you can get it at: http://www.geocities.com/bafiollo/wifitransfer_07SCSD.zip Right now I want to make the file transfer faster, it's prettiy slowright now with version 0.7, then I'll release the code. Bafio
JaJa Posted January 6, 2006 Posted January 6, 2006 There was an update to the server (0.71) that fixes the problem where the window isn't shown on start up.http://www.geocities.com/bafiollo/
gingi Posted January 6, 2006 Posted January 6, 2006 Hi!I compiled a version using your updated drivers, so it's based on version 0.7.I registered just to thank you for this, this version worked perfectly on my SCSD The config file was saved and loaded perfectly and a test file i tried was copied to my sd card and i could boot it from the supercard menu.So thanks again
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now