chipKIT® Development Platform

Inspired by Arduino™

DNETck::beginScan not working

Created Wed, 24 Apr 2013 10:56:59 +0000 by jferreira


jferreira

Wed, 24 Apr 2013 10:56:59 +0000

Hello,

I am asking you for help 'cause I can't really understand this... I am just trying to upload the examples of DWIFIck libraries and I can't get any of them working. I don't get any error on MPIDE (mpide-0023-windows-20121013) but in the serial monitor I'm not getting what I should be getting...

In the case of DNETck::beginScan, the program runs well but when it reaches DNETck::beginScan() it gets blocked and nothing past that command gets done. So if run, for example, the wifiscan example the only thing that appears in my serial command is: " Start of Sketch WiFiScan 1.0 Digilent, Copyright 2012 "

I am using chipkit max32 + chipkit wifi shield. I installed the DNEct and DWIFIck libraries according to http://www.chipkit.org/forum/viewtopic.php?f=7&t=1152.

What am I doing wrong here?

Thanks, Joana


thepascalix

Tue, 30 Apr 2013 08:50:31 +0000

hi, excuse me, but in the DNETck library doesn't existe the static method beginScan(). This method is part of DWIFIcK (probably you have write wrong the method in post).

I have the same configuration, so i have the max32 and wifi shield and they work together. I'm try the example in the value, for example the scan of network and work well.

Do you have change something in the example code?


jferreira

Tue, 30 Apr 2013 12:54:43 +0000

My bad, i wrote it wrong in the post. The command is, indeed, DWIFIcK::beginScan();

Nevertheless, I didn't change anything in the examples code. I just opened the example and tried to run it...

Any ideas?


thepascalix

Tue, 30 Apr 2013 14:51:25 +0000

have you try, for example, the WifiTCPclient example? Also in this example you don't have any result (excluding the serial string)?

have you set the correct library for your shield?

it util to referrer to KeithV [url]http://www.chipkit.org/forum/viewtopic.php?f=18&t=2354[/url]


jferreira

Fri, 03 May 2013 11:11:07 +0000

I finally got this to work. I downloaded the libraries again and reinstalled them, and i runned the WifiScan example and it worked perfectly (: Maybe there has been an error the first time I did it...

Thanks anyway (: