Skip to content

Instantly share code, notes, and snippets.

@xunker
Last active May 4, 2024 15:18
Show Gist options
  • Save xunker/936372d3c4bc60b07fcfed36a61c1acb to your computer and use it in GitHub Desktop.
Save xunker/936372d3c4bc60b07fcfed36a61c1acb to your computer and use it in GitHub Desktop.
Send text to POCSAG pager using rpitx
# Send a page to a POCSAG pager using rpitx (https://github.com/F5OEO/rpitx).
# Place this script in the root directory of the rpitx repo when you check it out.
#
# Requires the `fortune` program to be installed: `sudo apt-get install fortune`
#
# In default config, set to transmit to an Apollo AL-A25 pager.
CAPCODE="0268778A"
FREQUENCY=157740000
BAUD=512
FORTUNE=$(fortune | tr '\n' ' '); echo $FORTUNE; printf "$CAPCODE:$FORTUNE" | sudo ./pocsag -f $FREQUENCY -r $BAUD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment