Skip to content

atsign-foundation/at_pico_w

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

The Atsign FoundationThe Atsign Foundation

OpenSSF Scorecard OpenSSF Best Practices

at_pico_w

Communicate with the atPlatform using a Raspberry Pi Pico W.

Developed with MicroPython.

Usage

Raspberry Pi Pico W

  • 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 option 3 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)

Micropython on Linux

  • Compile micropython with coverage enabled (to get AES CTR) and place the binary somewhere on the PATH (e.g. ~/.local/bin/)
  • micropython main.py

Libraries