documentation for the network module?

Discussion related to "under the hood" OpenMV topics.
Capstan
Posts: 21
Joined: Tue Nov 12, 2019 11:04 am

documentation for the network module?

Postby Capstan » Mon Dec 09, 2019 11:25 am

I've got a WiFi shield and I see the connect example code for it. That code works here for me, I can connect to local WiFi.

But I am not seeing documentation for the OpenMV implementation of the network module. Is that online somewhere?

import network
wlan = network.WINC()
help(wlan)

A lot of methods and attributes get printed, and it appears to be different from the API for the ESP32.
Capstan
Posts: 21
Joined: Tue Nov 12, 2019 11:04 am

Re: documentation for the network module?

Postby Capstan » Mon Dec 09, 2019 11:42 am

Got it, thanks!
Capstan
Posts: 21
Joined: Tue Nov 12, 2019 11:04 am

Re: documentation for the network module?

Postby Capstan » Mon Dec 09, 2019 12:25 pm

In the docs...

WINC.wait_for_sta(timeout)

What is the unit of time for 'timeout'? Seconds, milliseconds?
User avatar
iabdalkader
Posts: 1085
Joined: Sun May 24, 2015 3:53 pm

Re: documentation for the network module?

Postby iabdalkader » Mon Dec 09, 2019 12:32 pm

Capstan wrote:
Mon Dec 09, 2019 12:25 pm
In the docs...

WINC.wait_for_sta(timeout)

What is the unit of time for 'timeout'? Seconds, milliseconds?
milliseconds

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 9 guests