This is a CLI management tool for MicroPython-based embedded systems.
Project description
This is a CLI management tool for MicroPython-based XNode.
Help
xnode
or
xnode --help
Find serial port
xnode scan
Option Rules
- Options and values can have spaces or omit spaces.
- Options and values can be inserted with the = character.
<option><value>
<option> <value>
<option>=<value>
Initialize XNode file system (Only xnode type b)
xnode -s<com_port_name> init
or
xnode --sport<com_port_name> init
<com_port_name> is the port number found by scan.
Check list of XNode file systems
xnode -s<com_port_name> ls
xnode -s<com_port_name> ls /flash/lib/xnode/pop
Put PC file or directroy into XNode
xnode -s<com_port_name> put my.py /flash/main.py
my.py is the name of the script written on the PC, main.py is the name to be installed on XNode
Automatically runs /flash/main.py if it exists when XNode starts
Get XNode file to PC
xnode -s<com_port_name> get /flash/main.py main.py
Delete XNode file or directory
xnode -s<com_port_name> rm /flash/main.py
Executes the PC's MicroPython script by sequentially passing it to the XNode
xnode -s<com_port_name> run app.py
Wait for serial output until the script finishes
To force quit in running state, press Ctrl+c
Additional Options
- -in (or default): Does not display the pressed key in the terminal window (Echo off)
- -i: Display the pressed key in the terminal window (Echo on)
- -n: Does not wait for serial output, so it appears as if the program has terminated on the PC side.
- Script continues to run on XNode
- Used to check data output serially from XNode with other tools (PuTTY, smon, etc.)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xnode-1.3.0.tar.gz.
File metadata
- Download URL: xnode-1.3.0.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
322b52ba9b4cf4c8b20db2ee093626be9146c69d8dad1db81527d148cf5d0cd2
|
|
| MD5 |
8070a517f9599cbe1f259bc87397c89c
|
|
| BLAKE2b-256 |
1d0d5b503fb1a042d14cf592102c4904ba310c689e12200153f0e4f2eab3d74d
|
File details
Details for the file xnode-1.3.0-py3-none-any.whl.
File metadata
- Download URL: xnode-1.3.0-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d955bcc4d72c36b71596cc6271842360c061b5399017d4bb4886efe6a0ffc3c
|
|
| MD5 |
559762c41f72f00f5511e11b27a3cad0
|
|
| BLAKE2b-256 |
e1adea520129b45b4db480f46115f4e01ba47dfb3a42e59ae21b007c40f243bc
|