Skip to content

Instantly share code, notes, and snippets.

@km4ack
Created Mar 13, 2019
Embed
What would you like to do?
Send text message with JS8Call
#!/usr/bin/env bash
#original script written by Jerry, K7AZJ
#modded by KM4ACK 20190212
###################################################
# Start Original Script #
###################################################
#if [ "$#" == "0" ]; then
# echo "usage: js8sendsms phone_number message"
# echo " example: js8sendsms 1112223456 hello"
# exit 0
#fi
#phone=$1
#shift
#msg="$*"
###################################################
# End Original Script #
###################################################
# Mods below by KM4ACK #
###################################################
echo What is the phone number to text?
read phone
echo What do you want the text to say?
read msg
value="\"@ALLCALL APRS::SMSGTE :@${phone} ${msg}\""
echo sending $value
printf '{"params": {}, "type": "TX.SET_TEXT", "value": %s}\n' "${value}" | nc -l -u -w 10 2237
echo
echo
echo
echo Your message is ready to send
echo Go to JS8Call and press the send button
@abraxasneo
Copy link

Is it possible to send a message this way without having to press SEND in js8call ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment