aboutsummaryrefslogtreecommitdiffstats
path: root/src/pocsag/main.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2024-04-28 17:47:55 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2024-04-28 17:47:55 +0200
commit1f55ad659bce9b925c4ba42cb7d71b80bd93a322 (patch)
treeee0b3c4de0cc7d175e8c0a6565df3ff9722e9ab2 /src/pocsag/main.c
parenta6bf66ee83d768019f69c930ac831b3a4a1fb94a (diff)
POCSAG: Allow all 128 ASCII characters to be transmitted using pointed brackets
Diffstat (limited to 'src/pocsag/main.c')
-rw-r--r--src/pocsag/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pocsag/main.c b/src/pocsag/main.c
index 9db82f0..1cc48f6 100644
--- a/src/pocsag/main.c
+++ b/src/pocsag/main.c
@@ -94,6 +94,14 @@ void print_help(const char *arg0)
printf("File: %s\n", MSG_SEND);
printf(" Write \"<ric>,0,message\" to it to send a numerical message.\n");
printf(" Write \"<ric>,3,message\" to it to send an alphanumerical message.\n");
+ printf(" alphanumeric messages may contain any character except LF and CR.\n");
+ printf(" Any control character can be sent by using pointed brackets:\n");
+ printf(" '<NUL>' '<SOH>' '<STX>' '<ETX>' '<EOT>' '<ENQ>' '<ACK>' '<BEL>'\n");
+ printf(" '<BS>' '<HT>' '<LF>' '<VT>' '<FF>' '<CR>' '<SO>' '<SI>'\n");
+ printf(" '<DLE> '<DC1>' '<DC2' '<DC3>' '<DC4>' '<NAK>' '<SYN>' '<ETB>'\n");
+ printf(" '<CAN>' '<EM>' '<SUB>' '<ESC>' '<FS>' '<GS>' '<RS>' '<US>'\n");
+ printf(" '<DEL> Example: Hello,<LF><CR>World!'\n");
+
printf("File: %s\n", MSG_RECEIVED);
printf(" Read from it to see received messages.\n");
main_mobile_print_station_id();