Communicate with the atPlatform using a Raspberry Pi Pico W.
Developed with MicroPython.
- Install the latest
firmware.uf2onto 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.jsonfile (ssid/passw of your Wi-Fi network and atSign). - Run
python3 build.pyto generate .mpy files - Download Thonny IDE and place all the files of the built directory onto the Pico W file system.
- Place your
.atKeysfile in the~/.atsign/keys/directory (if the folder doesn't exist, create it manually) - Run
main.pyand select option3in the REPL ("Get privateKey for @[yourAtSign]") - Re-launch the REPL (run
main.pyagain) - Now you can select option
2in 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