C++ & OpenVINO

This commit is contained in:
2024-08-24 15:24:01 +03:00
parent 4e84f550d4
commit 8a04448f63
13 changed files with 296 additions and 232 deletions

View File

@ -6,16 +6,10 @@ def connect(essid='ESP', clients=3) -> bool:
print('Starting AP: {0}...'.format(essid))
ap = network.WLAN(network.AP_IF)
ap.active(True)
ap.config(essid=essid)
ap.config(max_clients=clients)
ap.config(essid=essid, max_clients=clients)
time.sleep(3)
while ap.active() == False:
pass
if ap.isconnected():
print('AP "{0}" started'.format(essid))
return True
else:
print('Starting AP failed!')
return False
print('AP "{0}" started'.format(essid))
return True