2015-02-06 09:35:48 -05:00
|
|
|
// qstrs specific to this port
|
|
|
|
Q(__name__)
|
|
|
|
Q(help)
|
|
|
|
Q(pyb)
|
|
|
|
Q(info)
|
|
|
|
Q(hard_reset)
|
|
|
|
Q(stop)
|
|
|
|
Q(standby)
|
|
|
|
Q(main)
|
|
|
|
Q(sync)
|
|
|
|
Q(gc)
|
|
|
|
Q(rng)
|
|
|
|
Q(delay)
|
|
|
|
Q(time)
|
|
|
|
Q(open)
|
|
|
|
Q(on)
|
|
|
|
Q(off)
|
|
|
|
Q(toggle)
|
|
|
|
Q(write)
|
|
|
|
Q(read)
|
|
|
|
Q(readall)
|
|
|
|
Q(readline)
|
|
|
|
Q(input)
|
|
|
|
Q(os)
|
|
|
|
Q(mac)
|
|
|
|
Q(freq)
|
|
|
|
Q(repl_info)
|
|
|
|
Q(wfi)
|
|
|
|
Q(disable_irq)
|
|
|
|
Q(enable_irq)
|
|
|
|
Q(millis)
|
|
|
|
Q(micros)
|
|
|
|
Q(elapsed_millis)
|
|
|
|
Q(elapsed_micros)
|
|
|
|
Q(udelay)
|
|
|
|
Q(flush)
|
2015-02-25 05:08:51 -05:00
|
|
|
Q(FileIO)
|
|
|
|
Q(mkdisk)
|
|
|
|
Q(enable_wdt)
|
|
|
|
Q(kick_wdt)
|
2015-02-06 09:35:48 -05:00
|
|
|
// Entries for sys.path
|
|
|
|
Q(/SFLASH)
|
|
|
|
Q(/SFLASH/LIB)
|
|
|
|
Q(/SD)
|
|
|
|
Q(/SD/LIB)
|
|
|
|
|
|
|
|
// for module weak links
|
|
|
|
Q(re)
|
|
|
|
Q(json)
|
|
|
|
Q(heapq)
|
|
|
|
|
|
|
|
// for os module
|
|
|
|
Q(uos)
|
|
|
|
Q(os)
|
|
|
|
Q(/)
|
|
|
|
Q(SFLASH)
|
|
|
|
Q(SD)
|
|
|
|
Q(chdir)
|
|
|
|
Q(getcwd)
|
|
|
|
Q(listdir)
|
|
|
|
Q(mkdir)
|
|
|
|
Q(remove)
|
|
|
|
Q(rmdir)
|
|
|
|
Q(unlink)
|
|
|
|
Q(sep)
|
|
|
|
Q(stat)
|
|
|
|
Q(urandom)
|
|
|
|
|
|
|
|
// for file class
|
|
|
|
Q(seek)
|
|
|
|
Q(tell)
|
|
|
|
|
2015-02-09 13:38:02 -05:00
|
|
|
// for Pin class
|
|
|
|
Q(Pin)
|
2015-02-06 09:35:48 -05:00
|
|
|
Q(init)
|
|
|
|
Q(value)
|
|
|
|
Q(low)
|
|
|
|
Q(high)
|
|
|
|
Q(name)
|
|
|
|
Q(port)
|
|
|
|
Q(pin)
|
|
|
|
Q(cpu)
|
|
|
|
Q(mode)
|
|
|
|
Q(pull)
|
|
|
|
Q(index)
|
|
|
|
Q(strength)
|
|
|
|
Q(af)
|
|
|
|
Q(IN)
|
|
|
|
Q(OUT)
|
|
|
|
Q(STD)
|
|
|
|
Q(STD_PU)
|
|
|
|
Q(STD_PD)
|
|
|
|
Q(OD)
|
|
|
|
Q(OD_PU)
|
|
|
|
Q(OD_PD)
|
|
|
|
Q(S2MA)
|
|
|
|
Q(S4MA)
|
|
|
|
Q(S6MA)
|
|
|
|
|
|
|
|
// for ExtInt class
|
|
|
|
Q(ExtInt)
|
|
|
|
Q(pin)
|
|
|
|
Q(mode)
|
|
|
|
Q(pull)
|
|
|
|
Q(callback)
|
|
|
|
Q(enable)
|
|
|
|
Q(disable)
|
|
|
|
Q(swint)
|
|
|
|
Q(IRQ_RISING)
|
|
|
|
Q(IRQ_FALLING)
|
|
|
|
Q(IRQ_RISING_FALLING)
|
|
|
|
Q(IRQ_LOW_LEVEL)
|
|
|
|
Q(IRQ_HIGH_LEVEL)
|
|
|
|
|
|
|
|
// for UART class
|
|
|
|
Q(UART)
|
|
|
|
Q(baudrate)
|
|
|
|
Q(bits)
|
|
|
|
Q(stop)
|
|
|
|
Q(parity)
|
|
|
|
Q(init)
|
|
|
|
Q(deinit)
|
|
|
|
Q(all)
|
|
|
|
Q(writechar)
|
|
|
|
Q(readchar)
|
|
|
|
Q(readinto)
|
|
|
|
Q(read_buf_len)
|
|
|
|
Q(timeout)
|
|
|
|
Q(timeout_char)
|
|
|
|
Q(repl_uart)
|
|
|
|
Q(flow)
|
|
|
|
Q(FLOW_NONE)
|
|
|
|
Q(FLOW_TX)
|
|
|
|
Q(FLOW_RX)
|
|
|
|
Q(FLOW_TXRX)
|
|
|
|
|
2015-02-10 07:11:27 -05:00
|
|
|
// for I2C class
|
|
|
|
Q(I2C)
|
|
|
|
Q(mode)
|
|
|
|
Q(addr)
|
|
|
|
Q(baudrate)
|
|
|
|
Q(data)
|
|
|
|
Q(memaddr)
|
|
|
|
Q(addr_size)
|
|
|
|
Q(timeout)
|
|
|
|
Q(init)
|
|
|
|
Q(deinit)
|
|
|
|
Q(is_ready)
|
|
|
|
Q(scan)
|
|
|
|
Q(send)
|
|
|
|
Q(recv)
|
|
|
|
Q(mem_read)
|
|
|
|
Q(mem_write)
|
|
|
|
Q(MASTER)
|
|
|
|
Q(SLAVE)
|
|
|
|
|
2015-02-19 15:03:21 -05:00
|
|
|
// for ADC class
|
|
|
|
Q(ADC)
|
|
|
|
Q(read)
|
|
|
|
Q(enable)
|
|
|
|
Q(disable)
|
|
|
|
|
2015-02-21 08:10:33 -05:00
|
|
|
// for SD class
|
|
|
|
Q(SD)
|
|
|
|
Q(enable)
|
|
|
|
Q(disable)
|
|
|
|
|
2015-02-06 09:35:48 -05:00
|
|
|
// for RTC class
|
|
|
|
Q(RTC)
|
|
|
|
Q(datetime)
|
|
|
|
|
|
|
|
// for time class
|
|
|
|
Q(utime)
|
|
|
|
Q(localtime)
|
|
|
|
Q(mktime)
|
|
|
|
Q(sleep)
|
|
|
|
Q(time)
|
|
|
|
|
|
|
|
// for select class
|
|
|
|
Q(select)
|
|
|
|
Q(uselect)
|
|
|
|
Q(register)
|
|
|
|
Q(unregister)
|
|
|
|
Q(modify)
|
|
|
|
Q(poll)
|
|
|
|
|
|
|
|
// for socket class
|
|
|
|
Q(socket)
|
|
|
|
Q(usocket)
|
|
|
|
Q(getaddrinfo)
|
|
|
|
Q(family)
|
|
|
|
Q(type)
|
|
|
|
Q(send)
|
|
|
|
Q(sendto)
|
|
|
|
Q(recv)
|
|
|
|
Q(recvfrom)
|
|
|
|
Q(listen)
|
|
|
|
Q(accept)
|
|
|
|
Q(bind)
|
|
|
|
Q(settimeout)
|
|
|
|
Q(setblocking)
|
|
|
|
Q(setsockopt)
|
|
|
|
Q(close)
|
|
|
|
Q(protocol)
|
|
|
|
Q(AF_INET)
|
|
|
|
Q(AF_INET6)
|
|
|
|
Q(SOCK_STREAM)
|
|
|
|
Q(SOCK_DGRAM)
|
|
|
|
Q(SOCK_RAW)
|
|
|
|
Q(IPPROTO_TCP)
|
|
|
|
Q(IPPROTO_UDP)
|
|
|
|
Q(IPPROTO_RAW)
|
|
|
|
|
|
|
|
// for network class
|
|
|
|
Q(network)
|
|
|
|
Q(route)
|
|
|
|
|
2015-02-22 12:43:01 -05:00
|
|
|
// for WLAN class
|
2015-02-06 09:35:48 -05:00
|
|
|
Q(WLAN)
|
|
|
|
Q(key)
|
|
|
|
Q(security)
|
|
|
|
Q(ssid)
|
|
|
|
Q(bssid)
|
|
|
|
Q(scan)
|
|
|
|
Q(connect)
|
2015-02-23 05:22:15 -05:00
|
|
|
Q(isconnected)
|
2015-02-06 09:35:48 -05:00
|
|
|
Q(disconnect)
|
2015-02-23 05:22:15 -05:00
|
|
|
Q(getmode)
|
2015-02-06 09:35:48 -05:00
|
|
|
Q(channel)
|
2015-02-23 05:22:15 -05:00
|
|
|
Q(ifconfig)
|
2015-02-22 12:43:01 -05:00
|
|
|
Q(urn)
|
2015-02-23 05:22:15 -05:00
|
|
|
Q(setpm)
|
2015-02-22 12:43:01 -05:00
|
|
|
Q(start_servers)
|
|
|
|
Q(stop_servers)
|
2015-02-23 05:22:15 -05:00
|
|
|
Q(servers_enabled)
|
2015-02-22 12:43:01 -05:00
|
|
|
Q(servers_userpass)
|
2015-02-06 09:35:48 -05:00
|
|
|
Q(STA)
|
|
|
|
Q(AP)
|
|
|
|
Q(P2P)
|
|
|
|
Q(OPEN)
|
|
|
|
Q(WEP)
|
|
|
|
Q(WPA_WPA2)
|
|
|
|
Q(WPA_ENT)
|
|
|
|
Q(WPS_PBC)
|
|
|
|
Q(WPS_PIN)
|
|
|
|
Q(NORMAL_PM)
|
|
|
|
Q(LOW_LATENCY_PM)
|
|
|
|
Q(LOW_POWER_PM)
|
|
|
|
Q(ALWAYS_ON_PM)
|
|
|
|
Q(LONG_SLEEP_PM)
|