Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #24327

Re: ASCII Protocol implementations in FORTH

From "Paul E. Bennett" <Paul_E.Bennett@topmail.co.uk>
Newsgroups comp.lang.forth
Subject Re: ASCII Protocol implementations in FORTH
Followup-To comp.lang.forth
Date 2013-07-09 21:33 +0100
Organization Hidecs Consultancy
Message-ID <b43ajfFbo5pU1@mid.individual.net> (permalink)
References <9ed50be0-eda5-4513-b5e2-47eeac561c88@googlegroups.com>

Followups directed to: comp.lang.forth

Show all headers | View raw


attoampere@gmail.com wrote:

> hello everybody!
> 
> i want to implement the following*) ASCII protocol in FORTH and have no
> idea on how to accomplish that. can anyone point me to FORTH sources,
> books and articles on how to implement 'simple' ASCII protocols like this
> one?
> 
> 
> thank you so much for pointing me to the literature which gets the job
> done, the simpler the better. i am not interested in protocols in general,
> which includes the different mathematical apparati for verifying them.
> please no.. just simple links for simple minded persons like me.
>
> TIA
> kind regards,
> atto
> 
> the whole complexitiy of the error detection mechanism is basically this:

I don't know of a Forth text specifically on this topic and the 
specification detail thus far would need a little more consideration than 
you have stated thus far.

You need to establish the time-line between both systems to ensure that each 
end of the link will not lock-up waiting for the other end to send a 
specific pattern. That means accepting all communication packages (good and 
bad) and then assessing the validity and meaning of the package once 
received.

You didn't make any mention of check-sums or other error detection in your 
included specification, although it is obvious (from the document you 
reference) that you are expected to use some form of communication package 
integrity checking. Such checksum checking needs to be accomplished on the 
whole of a received package and performed before transmitting a package.

This link, from IBM, might be useful to you.
<http://pic.dhe.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=%2Fcom.ibm.ims11.doc.ccg%2Fims_ccg_part_isc.htm> 

Incidently, I have noted that the manufacturers of the device has stated it 
is not considered as a medical device so I'll refrain from adding the 
cautions about Safety Critical Systems and Software.
 
-- 
********************************************************************
Paul E. Bennett...............<email://Paul_E.Bennett@topmail.co.uk>
Forth based HIDECS Consultancy
Mob: +44 (0)7811-639972
Tel: +44 (0)1235-510979
Going Forth Safely ..... EBA. www.electric-boat-association.org.uk..
********************************************************************

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

ASCII Protocol implementations in FORTH attoampere@gmail.com - 2013-07-09 07:19 -0700
  Re: ASCII Protocol implementations in FORTH "Paul E. Bennett" <Paul_E.Bennett@topmail.co.uk> - 2013-07-09 21:33 +0100
    CRC was Re: ASCII Protocol implementations in FORTH all2001@spambog.com (Wolfgang Allinger) - 2013-07-09 19:30 -0400
  Re: ASCII Protocol implementations in FORTH "Elizabeth D. Rather" <erather@forth.com> - 2013-07-09 12:05 -1000
  Re: ASCII Protocol implementations in FORTH Paul Rubin <no.email@nospam.invalid> - 2013-07-09 17:59 -0700
    Re: ASCII Protocol implementations in FORTH Paul Rubin <no.email@nospam.invalid> - 2013-07-09 21:03 -0700
      Re: ASCII Protocol implementations in FORTH "Elizabeth D. Rather" <erather@forth.com> - 2013-07-09 17:47 -1000
        Re: ASCII Protocol implementations in FORTH Paul Rubin <no.email@nospam.invalid> - 2013-07-10 00:09 -0700
          Re: ASCII Protocol implementations in FORTH Mark Wills <markrobertwills@yahoo.co.uk> - 2013-07-10 01:57 -0700
            Re: ASCII Protocol implementations in FORTH albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-07-10 12:00 +0000
          Re: ASCII Protocol implementations in FORTH "Elizabeth D. Rather" <erather@forth.com> - 2013-07-10 07:47 -1000
  Re: ASCII Protocol implementations in FORTH attoampere@gmail.com - 2013-07-10 03:22 -0700
    Re: ASCII Protocol implementations in FORTH Paul Rubin <no.email@nospam.invalid> - 2013-07-11 07:26 -0700
    Re: ASCII Protocol implementations in FORTH Elizabeth D Rather <erather@forth.com> - 2013-07-14 18:53 -1000
  Re: ASCII Protocol implementations in FORTH stephenXXX@mpeforth.com (Stephen Pelc) - 2013-07-10 11:58 +0000
    Re: ASCII Protocol implementations in FORTH "Elizabeth D. Rather" <erather@forth.com> - 2013-07-10 07:55 -1000
  Re: ASCII Protocol implementations in FORTH rickman <gnuarm@gmail.com> - 2013-07-14 23:30 -0400

csiph-web