2015-02-06 09:35:48 -05:00
|
|
|
// qstrs specific to this port
|
|
|
|
Q(__name__)
|
|
|
|
Q(help)
|
|
|
|
Q(pyb)
|
|
|
|
Q(info)
|
2015-03-04 07:52:39 -05:00
|
|
|
Q(reset)
|
2015-02-06 09:35:48 -05:00
|
|
|
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(freq)
|
|
|
|
Q(repl_info)
|
|
|
|
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)
|
2015-02-26 09:29:47 -05:00
|
|
|
Q(enable)
|
|
|
|
Q(disable)
|
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)
|
2015-03-04 07:51:01 -05:00
|
|
|
Q(intenable)
|
|
|
|
Q(intdisable)
|
|
|
|
Q(intmode)
|
|
|
|
Q(swint)
|
2015-02-06 09:35:48 -05:00
|
|
|
Q(IN)
|
|
|
|
Q(OUT)
|
|
|
|
Q(STD)
|
|
|
|
Q(STD_PU)
|
|
|
|
Q(STD_PD)
|
|
|
|
Q(OD)
|
|
|
|
Q(OD_PU)
|
|
|
|
Q(OD_PD)
|
2015-03-04 07:51:01 -05:00
|
|
|
Q(INT_RISING)
|
|
|
|
Q(INT_FALLING)
|
|
|
|
Q(INT_RISING_FALLING)
|
|
|
|
Q(INT_LOW_LEVEL)
|
|
|
|
Q(INT_HIGH_LEVEL)
|
2015-02-06 09:35:48 -05:00
|
|
|
Q(S2MA)
|
|
|
|
Q(S4MA)
|
|
|
|
Q(S6MA)
|
|
|
|
|
|
|
|
// 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)
|
|
|
|
|
2015-02-19 15:03:21 -05:00
|
|
|
// for ADC class
|
|
|
|
Q(ADC)
|
|
|
|
Q(read)
|
|
|
|
|
2015-02-21 08:10:33 -05:00
|
|
|
// for SD class
|
|
|
|
Q(SD)
|
|
|
|
|
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)
|
|
|
|
Q(channel)
|
2015-02-23 05:22:15 -05:00
|
|
|
Q(ifconfig)
|
2015-02-22 12:43:01 -05:00
|
|
|
Q(urn)
|
|
|
|
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)
|
2015-02-26 09:29:47 -05:00
|
|
|
|
|
|
|
// for WDT class
|
|
|
|
Q(WDT)
|
|
|
|
Q(kick)
|
|
|
|
|
|
|
|
// for HeartBeat class
|
|
|
|
Q(HeartBeat)
|
|
|
|
|
2015-03-04 07:52:39 -05:00
|
|
|
// for callback class
|
|
|
|
Q(init)
|
|
|
|
Q(enable)
|
|
|
|
Q(disable)
|
|
|
|
Q(callback)
|
|
|
|
Q(handler)
|
|
|
|
Q(intmode)
|
|
|
|
Q(value)
|
|
|
|
Q(priority)
|
|
|
|
Q(wake)
|
|
|
|
|
|
|
|
// for Sleep class
|
|
|
|
Q(Sleep)
|
|
|
|
Q(idle)
|
|
|
|
Q(suspend)
|
|
|
|
Q(hibernate)
|
2015-03-14 04:59:47 -04:00
|
|
|
Q(reset_cause)
|
|
|
|
Q(wake_reason)
|
2015-03-12 11:14:55 -04:00
|
|
|
Q(ACTIVE)
|
2015-03-04 07:52:39 -05:00
|
|
|
Q(SUSPENDED)
|
|
|
|
Q(HIBERNATING)
|
2015-03-14 04:59:47 -04:00
|
|
|
Q(PWR_ON_RESET)
|
|
|
|
Q(HARD_RESET)
|
|
|
|
Q(WDT_RESET)
|
|
|
|
Q(HIB_RESET)
|
|
|
|
Q(SOFT_RESET)
|
|
|
|
Q(WLAN_WAKE)
|
|
|
|
Q(PIN_WAKE)
|
|
|
|
Q(RTC_WAKE)
|
|
|
|
|