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