[aprssig] Tracking and Stacking - NICE PUN!
Steve Noskowicz
noskosteve at yahoo.com
Thu Sep 20 21:15:54 EDT 2007
Andrew,
This is called "Packed BCD"...so perhaps "Tracking
'n Packing". (:-)
Among other uses, this is precisely how the Icom
CI-V (computer control) commands represent frequency
data. Icom, however, packs the nibbles into bytes most
significant nibble first (on the left; also called
"big-endian") and then stacks the bytes least
significant byte first (also called "little-endian).
I call this "mixed-endian". It is like the difference
between Intel and Morotola address storage methods.
You'll get to decide how you do both.
73, Steve, K9DCI
--- Andrew Rich <vk4tec at people.net.au> wrote:
> I made a simple tracker and realised I was sending
> full asii characters.
>
> I now realise that I can stack more into a packet if
> I use 4 bit stuffing.
>
> The character "4" and The chracter "7"
>
> Ascii code for 4 - 0011 0100
>
> Ascii code for 7 - 0011 0111
>
> But if you look closely, all you ever want to do is
> go from 0 - 9
>
> 0000 - 1111 (0 to 15 in binary)
>
> So you could go from
>
> 00110100 (4) 00110111 (7) to 0100 (4) 0111 (7) and
> get two digits in one
> byte
>
>
>
>
>
>
>
>
>
>
----------------------------------------------------------------------------
> Andrew Rich VK4TEC
> vk4tec at people.net.au
> http://www.tech-software.net
>
>
>
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.5.485 / Virus Database: 269.13.16/1004 -
> Release Date: 12/09/2007
> 5:22 PM
> > _______________________________________________
> aprssig mailing list
> aprssig at lists.tapr.org
>
https://lists.tapr.org/cgi-bin/mailman/listinfo/aprssig
>
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469
More information about the aprssig
mailing list