WiFi connection hangs when using WFC

Discussion in 'NDS - Emulation and Homebrew' started by McHaggis, Aug 24, 2012.

Aug 24, 2012
  1. McHaggis
    OP

    Member McHaggis Fackin' Troller

    Joined:
    Oct 24, 2008
    Messages:
    1,656
    Country:
    United Kingdom
    I'm playing around with the dswifi examples and have hit a bit of a wall. If I stick Mario Kart in and connect to WFC, it connects fine and eventually finds me a partner to race. However, building with the following piece of code makes my app hang indefinitely:


    Code:
    if(!Wifi_InitDefault(WFC_CONNECT)) {
    iprintf("Failed to connect!\nMake sure your Nintendo WFC settings are correct.\n\n");
    } else {
    
    This appears to be a bug in dswifi, because Savsender also hangs. The WiFi led flashes, but nothing happens and no errors are shown. What's annoying is that it worked several times, yesterday, then stopped working. Every time I try MK, though, it connects perfectly.

    Anyone got any ideas?
     
  2. McHaggis
    OP

    Member McHaggis Fackin' Troller

    Joined:
    Oct 24, 2008
    Messages:
    1,656
    Country:
    United Kingdom
    Fixed, thanks to some fast help from the guys in #dswifi on irc.blitzed.org. I'd switched off SSID broadcasting on my SoftAP, apparently dswifi doesn't like this.
     

Share This Page