From: meino.cramer@gmx.de
To: zsh-users@zsh.org
Subject: Doing NMEA command sequences with zsh ... ??!!
Date: Mon, 13 Oct 2014 17:58:06 +0200 [thread overview]
Message-ID: <20141013155806.GA3825@solfire> (raw)
Hi,
To my embedded system (which runs zsh on Gentoo Linux ;) ) I have
atteched an GPS receiver chip.
This chip spits out NMEA sentences to an UART and is capable of
receiving NMEA command seqyences.
An NMEA command sequence consist of
$<commandname><parameter,nextparameter,....><*><checksum>
The checksum is the binary XOR of all characters between '$' and '*'.
This checksum is given a an hexadecimal number.
Since it is an embedded system, I would prefer to calculate this
checksum with zsh only since it already runs if I am logged in.
Is that possible in any way?
Thank you very much in advance for any help!
Best regards,
mcc
next reply other threads:[~2014-10-13 16:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-13 15:58 meino.cramer [this message]
2014-10-13 17:27 ` Vasiliy Ivanov
2014-10-14 3:02 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141013155806.GA3825@solfire \
--to=meino.cramer@gmx.de \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).