Communicate with the atPlatform using a Raspberry Pi Pico W.
Developed with MicroPython.
- Install the latest
firmware.uf2
onto your Pico W from atsign-foundation/micropython Releases , as this is patched to enable AES CTR, which is used by atSigns. - Fill all the fields of the
settings.json
file (ssid/passw of your Wi-Fi network and atSign). - Run
python3 build.py
to generate .mpy files - Download Thonny IDE and place all the files of the built directory onto the Pico W file system.
- Place your
.atKeys
file in the~/.atsign/keys/
directory (if the folder doesn't exist, create it manually) - Run
main.py
and select option3
in the REPL ("Get privateKey for @[yourAtSign]") - Re-launch the REPL (run
main.py
again) - Now you can select option
2
in the REPL to automatically get authenticated in your DESS - Enjoy! :)
(If you get an error when attempting to find the atServer or when trying to connect to it, run the REPL again)
- Compile micropython with coverage enabled (to get AES CTR) and place the binary somewhere on the PATH (e.g. ~/.local/bin/)
micropython main.py