Jump to content

El_Hobito

Members+
  • Posts

    31
  • Joined

  • Last visited

Posts posted by El_Hobito

  1. I'm sorry El Hobito, you just released this app and now I've already released another lib that changes a lot of things :)

     

    Good luck moving your app to the new lib though, it is a bit different :D

     

    -Stephen

    Yeah you bastard! heheh Nice one btw! i've been holding off development on it cos i didnt particulary want to make work arounds for the missing stuff! Im glad its out now, now theres no excuse!

     

    P.s. my make files were such a mess i could do with starting that part again anyway

  2. 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.

  3. Well, you must remember, if you're currently using anything related to DS wifi, you're right in the middle of the early adopters.  Early adopters for things like these especially don't get the luxury of having nice UIs and simple configuration.

     

    There is a light at the end of the tunnel though, the next wifi lib release will change a lot of things.  Wifi apps will likely no longer require configuration files at all, and almost everything will start to work automatically as the developers refine their code.

     

    So, if you're interested in a mainstream product at the moment, they just don't exist, but the next lib version will begin the chain of events that will result in a lot of complete, polished apps that will work without so much work in configuring and etc..

     

    So, just be patient for now, all this will be coming soon.

     

    -Stephen

     

    can't wait! im all set! (well by the time its ready anyhow)

  4. Haha, ok - well. I'm still around if you do have questions <_<

     

    -Stephen

    thanks i think i might have found a bug in the wifi since my progs crashing at the mo but i wont bother with it yet since i've yet to do any sort of investigation into the cause and as we all know its far from finished. i've been making a real idiot of myself recently! thats 3 times in row now i've post a question only to realise my mistake about 5mins later lol. You've probably got a point though i probably ought to have a read through my book just to refresh. For now though i'll get someone to independently verify this problem and try and get to the root of it (its probably my fault!) then i'll just leave the wifi part until the lib can mature a bit methinks, i'll c how it goes.

  5. i've done all that though i sent it to 192.168.2.101 (my comp ip) which is the destip on port 8888 but i get nothing.  hmmm i might try send it through the internet see where that gets me.

    i've tried everything i can think of but it wont work, i dont get it? i've basically have copied and pasted the original and this code but it wont work

    its says dest ip :192.168.2.101 (my comp)

    source 192.168.1.189 (ds)

    port : 8888

     

    but i get no response

    if(Stylus.Held) {

    if(Stylus.X>208 && (Stylus.Y>144)){

    strcpy(sendbuf,text);

     

    sain.sin_family=AF_INET;

    sain.sin_port=htons(portnum);

    sain.sin_addr.s_addr=destip;

    sendto(sock,"test",strlen("test"),0,(struct sockaddr *)&sain,sizeof(sain));

     

    }

     

    that pretty much a copy of sgstairs version but i've hardcoded a message in this case.(it was using a typed version b4)

    i noticed that yours says out and stevens says in which is odd but i swapped them and it made no difference.

     

    Please note that in general you cannot send data from a 192.168.1.* address to a 192.168.2.* without a gateway system configured for the connection between the two seperate networks (I'm willing to bet you don't have such in place)

    This isn't rocket science, but it really really helps to have a solid understanding of networking... if you do have further questions, I'm more open to talking on IRC - see #dswifi on EFnet - I'm usually around. (Forums are good for lengthy discussions about topics that most parties understand well, but are not as well suited for teaching, etc - IMO)

     

    -Stephen

    yes i realised that almost as soon as i posted it. Believe it or not i actually have a degree in internet engineering <_< so now i feel really dumb, i probably should have withdrawn that. You dont need to teach me about it but thanks anyway.

  6. i've done all that though i sent it to 192.168.2.101 (my comp ip) which is the destip on port 8888 but i get nothing.  hmmm i might try send it through the internet see where that gets me.

    i've tried everything i can think of but it wont work, i dont get it? i've basically have copied and pasted the original and this code but it wont work

    its says dest ip :192.168.2.101 (my comp)

    source 192.168.1.189 (ds)

    port : 8888

     

    but i get no response

    if(Stylus.Held) {

    if(Stylus.X>208 && (Stylus.Y>144)){

    strcpy(sendbuf,text);

     

    sain.sin_family=AF_INET;

    sain.sin_port=htons(portnum);

    sain.sin_addr.s_addr=destip;

    sendto(sock,"test",strlen("test"),0,(struct sockaddr *)&sain,sizeof(sain));

     

    }

     

    that pretty much a copy of sgstairs version but i've hardcoded a message in this case.(it was using a typed version b4)

    i noticed that yours says out and stevens says in which is odd but i swapped them and it made no difference.

  7. i making my own chat program, but i've just starting having only just got it compiling and got PA_lib going hopefully tomorrow it might get interesting but i am v v rusty on c(my knowledge has been corrupted by java!) so dont expect anything

  8. 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 !..

    actually udp is used quite a bit on the internet for streaming applications that do not require bit perfect transmission at the fastest possible speed.

     

    edit. oh and thanks for the reply!

  9. *****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

     

    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

    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

  10. JaJa:

    Yeah, I'd seen the post but am anxious to go for the Australian firmware. I had enough fun getting the bugger to work with Ukonline with the UK firware! Just have to wait i guess.

    i would imagine using the austrailian firmware would be illegal due to the router then operating using austrailian rf frequencies.

  11. Yes, the library is being developed and improved alongside the test app.  The whole purpose for the test app is to verify the library interface is complete, usable, and that it's behavior is correct.

     

    -Stephen

    if this app could give some more useful info on the signal strength then it could be such an amazing app for testing signal strength. its already pretty good at that mind you!

     

    p.s. thanks you the app since it keeps our curiosity occupied for a while!

×
×
  • Create New...