Search found 7 matches
- Sun Apr 23, 2017 2:13 pm
- Forum: WiPy and CC3200 boards
- Topic: Wipy 1 using WEP?
- Replies: 0
- Views: 2451
Wipy 1 using WEP?
trying to connect a Wipy 1 to a WEP secured router, the following code appears to follow the docs, but does not work. (works fine with WPA) any idea what's going on? from network Import WLAN import time wlan=WLAN() wlan.mode(WLAN.STA) while not wlan.isconnected(): wlan.connect('SSID HERE',auth=(WLAN...
- Mon Mar 27, 2017 9:38 am
- Forum: General Discussion and Questions
- Topic: Connecting to unsecured WiFi
- Replies: 1
- Views: 2489
Re: Connecting to unsecured WiFi
I figured it out! though the solution is so simple its a bit embarrassing to admit the mistake... auth is an optional argument in the WLAN.connect method, and apparently passing it a tuple causes problems when dealing with unsecured networks. So, for clarity, the method call to connect to an unsecur...
- Mon Mar 27, 2017 9:03 am
- Forum: General Discussion and Questions
- Topic: Connecting to unsecured WiFi
- Replies: 1
- Views: 2489
Connecting to unsecured WiFi
I am attempting to connect to an unsecured WiFi network in station mode, and cannot make it work. Everything works fine with WPA secured networks. The docs list None as as acceptable value for the security field in the auth tuple, suggesting that it should be possible. However, the docs do not speci...
- Sun Nov 06, 2016 2:37 pm
- Forum: WiPy and CC3200 boards
- Topic: Problem binding socket for captive portal
- Replies: 1
- Views: 3538
Problem binding socket for captive portal
I've got a WiPy serving html over http just fine on port 80 in AP mode. However, I'm also trying to set up a captive portal so that any dns request within the WiPy's broadcasted network is redirected to the configuration page. When I go to bind the socket to port 53, the execution just hangs forever...
- Sun Nov 06, 2016 2:33 pm
- Forum: WiPy and CC3200 boards
- Topic: Simple Interrupt Problem
- Replies: 6
- Views: 9022
Re: Simple Interrupt Problem
@pythoncoder thanks for the tip! @dhylands Thanks for taking a look I was running the exception buffer in the above code, I expected it to raise an exception within the main program, but now I see how that could be problematic. all the docs page says about catching the exception is "Debugging is sim...
- Sat Nov 05, 2016 10:23 am
- Forum: WiPy and CC3200 boards
- Topic: Simple Interrupt Problem
- Replies: 6
- Views: 9022
Re: Simple Interrupt Problem
FYI, in case anyone else runs into this. One of the devs over on the Pycom forum straightened this out for me. when a pin interrupt is triggered and it calls its callback, it passes the pin object as an argument to the callback function. Apparently, the fact that this happens inside an interrupt pre...
- Sun Oct 30, 2016 1:35 pm
- Forum: WiPy and CC3200 boards
- Topic: Simple Interrupt Problem
- Replies: 6
- Views: 9022
Simple Interrupt Problem
I was working on a significantly more complex programs and having some problems that I traced back to the fact that the interrupt wasn't firing. I've written a new, extremely simple program just to prove to myself that I can make interrupts work, and its not going so well. it uses the user button on...