esptest.network.nic module
- class esptest.network.nic.WiFiNic(iface)[source]
Bases:
Nic- Parameters:
iface (str)
- iw_set_type(if_type)[source]
Set interface type: managed, monitor, etc…
- Parameters:
if_type (str)
- Return type:
None
- set_channel(channel, bw='')[source]
Start wifi nic channel, bw can be
[NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz]
- static set_country_code(country_code='')[source]
Need set country before get full supported channels
- Parameters:
country_code (str)
- Return type:
None
- static iw_reg_get()[source]
Print out the kernel’s current regulatory domain information.
- Return type: