Skip to content

Instantly share code, notes, and snippets.

@muink
Last active August 30, 2025 05:47
Show Gist options
  • Select an option

  • Save muink/ba0415f18e33e5e5e42eb03c64ca47c5 to your computer and use it in GitHub Desktop.

Select an option

Save muink/ba0415f18e33e5e5e42eb03c64ca47c5 to your computer and use it in GitHub Desktop.
SM-DP to QRCode
#!/bin/sh
# SM-DP+ Address*
ADDRESS='dp-plus-par07-01.oasis-smartsim.com'
# Activation Code*
TOKEN='FV1BB-CA7N1-R1ECQ-65IGF'
# Confimation Code
CCODE=''
# IMEI
IMEI=''
echo "URI is: LPA:1\$${ADDRESS}\$${TOKEN}${CCODE:+\$$CCODE}${IMEI:+\$$IMEI} . It can be encoded into a QR code."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment