rpitx icon indicating copy to clipboard operation
rpitx copied to clipboard

POCSAG New Line problem

Open 13HN1904 opened this issue 2 years ago • 5 comments

I want to continue writing the text in a new line, i.e. a line break, what do I have to do to make it work? \n and < CR > don't work with my s.Quad X35MKV

sudo echo -e "$ric: ABCDE \n FGAHJ " | sudo ./pocsag -f $frq -b 3 -t 4 sudo echo -e "$ric: ABCDE < CR > FGAHJ " | sudo ./pocsag -f $frq -b 3 -t 4

13HN1904 avatar Mar 16 '22 19:03 13HN1904

pocsag uses 7-bit encoding, image and pager encoding can be different from device to device. You may try to form a message with all possible symbols in 7 bits and send it to pager, all at once or by pieces, and find out if you specific device has line break or not. Motorola pagers (pictured) don't have any, for example.

VasylSamoilov avatar May 16 '22 16:05 VasylSamoilov

Hello, friend, how can this software send Chinese to the Advisor pager?

foreverlegend773633494 avatar Jun 28 '22 10:06 foreverlegend773633494

POCSAG don't have a concept of code page. Just send ASCII characters and see what happens.

VasylSamoilov avatar Jun 28 '22 12:06 VasylSamoilov

Thank you for your reply. I tried to send ASCII characters, but Chinese characters are displayed on the pager. Whatever I send will not be what I want, SO I will first try to change the pager to English mode for testing.

foreverlegend773633494 avatar Jun 28 '22 12:06 foreverlegend773633494

that is correct. you can't have multiple character set at once - you need to choose will it be english or chinese. what character sets are available depends on pager rom. you need to create you own character map from chinese to ascii.

VasylSamoilov avatar Jun 28 '22 12:06 VasylSamoilov