zsh-users
 help / color / mirror / code / Atom feed
* Doing NMEA command sequences with zsh ... ??!!
@ 2014-10-13 15:58 meino.cramer
  2014-10-13 17:27 ` Vasiliy Ivanov
  0 siblings, 1 reply; 3+ messages in thread
From: meino.cramer @ 2014-10-13 15:58 UTC (permalink / raw)
  To: zsh-users

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-14  3:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-13 15:58 Doing NMEA command sequences with zsh ... ??!! meino.cramer
2014-10-13 17:27 ` Vasiliy Ivanov
2014-10-14  3:02   ` Bart Schaefer

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).