The CLI (Command Line Interface) is the official way to control your Chameleon.
It requires at least Python 3.9 version.
There are multiple ways to install the CLI, depending on your OS.
Windows users have the choice of 4 options:
Using ProxSpace to build the CLI is the easiest and most comfortable way to get started.
-
Download ProxSpace from the official GitHub
-
Download 7zip to extract the archive
-
Install 7zip by double clicking the Installer and clicking
Install
-
Right-click on the downloaded archive and select
7zip -> Unpack to "ProxSpace"
-
Open a terminal in the proxspace folder. If you are on a new Windows install, you should be able to just right-click and select
Open in Terminal
. If that option is not visible and the ProxSpace folder is still in your downloads folder, presswin+r
and typepowershell
followed by enter. In Powershell now typecd ~/Downloads/ProxSpace
-
Run the command
.\runme64.bat
. After successful completion, you should be dropped to thepm3 ~ $
shell. -
Clone the Repository by typing
git clone https://github.com/RfidResearchGroup/ChameleonUltra.git
-
Now go into the newly created folder with
cd ChameleonUltra/software/src
-
Prepare for package installation with
pacman-key --init; pacman-key --populate; pacman -S msys2-keyring --noconfirm; pacman-key --refresh
-
Proceed by installing Ninja with
pacman -S ninja --noconfirm
-
Build the required config by running
cmake .
-
And the binaries with
cmake --build .
-
Copy the binaries by running
cp -r ~/ChameleonUltra/software/bin/* ~/ChameleonUltra/software/script/
-
Go into the script folder with
cd ~/ChameleonUltra/software/script/
-
Install python requirements with
pip install -r requirements.txt
-
Finally run the CLI with
python chameleon_cli_main.py
To use after installing, just do the following:
-
Run
runme64.bat
-
Go into the script folder with
cd ~/ChameleonUltra/software/script/
-
Run the CLI with
python chameleon_cli_main.py
Coming Soon
Coming Soon
Building natively is a bit more advanced and not recommended for beginners
-
Download and install Visual Studio Community
-
On the workload selection screen, choose the
Desktop development with C++
workload. ClickDownload and Install
-
Download and install git. When asked, add to your path
-
Download and install cmake. Again, when asked, add to your path
-
Download and install python. When asked, add to your path (small checkbox in the bottom left)
-
Choose a suitable location and open a terminal. Clone the repository with
git clone https://github.com/RfidResearchGroup/ChameleonUltra.git
-
Change into the binaries folder with
cd ChameleonUltra/software/src
-
Build the required config by running
cmake .
-
And the binaries with
cmake --build .
-
Copy the binaries by running
cp -r ../bin/Debug/* ../script/
-
Go into the script folder with
cd ../script/
-
Create a python virtual environment with
python -m venv venv
-
Activate it by running
.\venv\Scripts\Activate.ps1
-
Install python requirements with
pip install -r requirements.txt
-
Finally run the CLI with
python chameleon_cli_main.py
To run again after installing, just do the following:
-
Activate venv by running
.\venv\Scripts\Activate.ps1
-
Run the CLI with
python chameleon_cli_main.py
Coming Soon
Coming Soon
When in the CLI, plug in your Chameleon and connect with hw connect
. If autodetection fails, get the Serial Port used by your Chameleon and run hw connect -p COM11
(Replace COM11
with your serial port, on Linux it may be /dev/ttyACM0
)
- Change slot: hw slot change -s [1-8]
More examples coming soon
In ()
is the argument description, []
are possible entries for that argument (eg [1-8]
)
Command | Arguments | Description |
---|---|---|
hw factory_reset |
--i-know-what-im-doing (Make sure you really want to wipe your Chameleon) |
Returns the Chameleon to factory settings |