edited bash exampl

master
cheetah 4 years ago
parent 8d90060ca2
commit 7a06b578de

@ -36,8 +36,8 @@ is_msg_resp() {
ENDPOINT="http://127.0.0.1:3000"
#echo "Test" | send_page "$ENDPOINT" "duplex" "birdyslim" "pocsag=133701D" "test=123"
#msgid=$(echo "Test" | send_page "$ENDPOINT" "duplex" "birdyslim" "pocsag=133701D" "test=123")
msgid="Bznka"
msgid=$(echo "Test" | send_page "$ENDPOINT" "duplex" "birdyslim" "pocsag=133701D" "test=123")
#msgid="Bznka"
msg_status "$ENDPOINT" "$msgid"
@ -46,4 +46,4 @@ if is_msg_recv "$ENDPOINT" "$msgid"; then
fi
if is_msg_read "$ENDPOINT" "$msgid"; then
echo "message is read"
fi
fi

Loading…
Cancel
Save