<div dir="ltr">On Fri, Jan 6, 2017 at 9:41 AM, Robert Bruninga <span dir="ltr"><<a href="mailto:bruninga@usna.edu" target="_blank">bruninga@usna.edu</a>></span> <wbr>wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">No, if you are talking about APRS "messaging", the TOCALL is a 9 byte fixed<br>length field that can conatin alphanumeric in all 9 spots and mixed case.</blockquote><div class="gmail_extra"><br></div><div class="gmail_extra">Mixed case may be allowed, but APRS callsigns aren't case-sensitive. To quote Pete (<a href="http://aprs-is.net/Connecting.aspx" target="_blank">http://aprs-is.net/<wbr>Connecting.aspx</a>):</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="color:rgb(0,0,0);font-family:"times new roman";font-size:medium">RF and APRS-IS clients may convert lower or mixed case callsigns and SSIDs to upper case.</span></blockquote><div class="gmail_extra"><br></div><div class="gmail_extra">Lots of APRS code indiscriminately converts string to upper-case or makes case-insensitive comparisons, so you don't have to restrict user entry to only upper case, but you shouldn't make any case-sensitive comparisons, and I'd suggest you convert any user-entered callsigns to upper-case as soon as possible.</div><div class="gmail_extra"><br></div><div class="gmail_extra">The APRS 1.0.1 spec does specify that objects are case sensitive (which I'm not a fan of), but never made the same claim for callsigns.</div><div class="gmail_extra"><br></div><div class="gmail_extra">My own notes on APRS callsigns (not restricted to AX.25) are as follows (<a href="https://github.com/PhirePhly/aprs_notes/blob/master/callsigns.txt" target="_blank">https://github.com/PhirePhly/<wbr>aprs_notes/blob/master/<wbr>callsigns.txt</a>):</div><div class="gmail_extra"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Callsigns for APRS must:<br> * Consist of only upper case letters and numbers<br> * The base callsign (before the SSID) must be at least three characters long<br> * The base callsign must be no more than nine characters long<br> * The callsign in total must be no more than nine characters long<br> * Optionally include one hyphen with a 1-2 character alphanumeric SSID suffix<br> * The SSID may not start with '0'</blockquote><div class="gmail_extra"><br></div><div class="gmail_extra">In the context of messaging, this is space (0x20) padded to 9 bytes.</div><div class="gmail_extra"><br></div><div class="gmail_extra">On Fri, Jan 6, 2017 at 9:41 AM, Robert Bruninga <span dir="ltr"><<a href="mailto:bruninga@usna.edu" target="_blank">bruninga@usna.edu</a>></span> <wbr>wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="m_8366593474946129599gmail-">- In any other text, UTF-8 encoding should be used, and non-ASCII characters<br>are permissible.<br>- In the case of Unicode text, the length limitations in the APRS docs<br>should be interpreted as characters rather than bytes (e.g. the message<br>length specifically says ’67 characters’, not ’67 bytes’).<br><br></span>AGREE, it is the displayed characters that were the limit.</blockquote><div><br></div><div>This actually gets pretty sticky, as 67 UTF-8 characters don't necessarily even fit in an AX.25 packet (67 characters may be as long as 268 bytes). Starting with the 256 byte MTU for the information field, and subtracting the message addressing and third party encapsulation which would be needed for RF-gating, and I figure the hard limit for the contents of APRS messages is 197 bytes. (256 - 42 third party overhead - 11 APRS message destination - 6 message number) We've been doing some testing for this, and confirmed that both aprsc and javAPRSSrvr correctly handle APRS messages this long (with rather odd upper limits in the 400ish range)</div><div><br></div><div>My notes on the topic of packet size: <a href="https://github.com/PhirePhly/aprs_notes/blob/master/APRS_MTU.md" target="_blank">https://github.com/PhirePhly/<wbr>aprs_notes/blob/master/APRS_<wbr>MTU.md</a><br></div><div><br></div><div>So we're talking about trying to both enforce a 67 character and a 197 byte limit on message length. </div><div> </div></div><div><div class="m_8366593474946129599gmail_signature">--<br>Kenneth Finnegan, W6KWF<br><a href="http://blog.thelifeofkenneth.com/" target="_blank">http://blog.thelifeofkenneth.<wbr>com/</a></div></div>
<div class="gmail_quote"><br></div></div></div>