Hi Matt,
Using without CRC byte is possible. I forsaw this.
Just do not define  "const bit spi_rf12b_use_CRC_ see description on
line 53 of  spi_RF12B.jal.
The other element (length op payload) or terminating zero (see command
T and R). Must be there
or you have to use the length in SLIP or TCP/IP package.
The FSK transmission mode of the RFM12b requires that the bytes are
send without pause (or you
get a underrun error) and if you do not stop receiving when the
transmitter stops, you get garbage
at the end of your message (zero's if you are lucky).

As far as I know, my protocol is an incomplete SLIP.
I did not finish SLIP because of 3 reasons:
a) Code filled already up my 16F73.
b) As state on the end of the .doc file: a RFM70 might be a beter
alternative and it has a protocol build in the modules.
c) The RFM12B.s did not have a turn-around time that is stable enough
for a project I discuss with Joep Suijs. The RFM70 might.

But if you want to implement SLIP pakages and forget about mine: The
basic routines you need are available and
if you do not use my packet functions, the compiler will remove these
functions as unreacheble code.

Henk


On 17 mrt, 12:57, mattschinkel <[email protected]> wrote:
> So, I read through your entire doc during my lunch break at work.
> Great work! I'm very impressed! Great idea's. Also, documentation like
> yours is the best thing you can do for any project.
>
> I have one observation, although I did not have time to look over your
> entire code so I don't know how it works yet.
>
> I see you made up your own protocol for talking back and forth between
> wireless devices. It would be nice if the protocol part of your code
> was separate from the device. Maybe it already is, as I said, I didn't
> read your code closely yet. Anyways, there are many reasons I say
> this:
>
> 1. I could use the RF12B device only, without the nice protocol you
> have written. Sometimes data transfers don't need crc, packets, etc.
> Or, I may just want to save resources.
> 2. I could use SLIP packets or TCP/IP over the RF12B device
> 3. I could use your protocol on some other RF device, or a unstable
> wire if I don't have a RF12B.
>
> Matt.
>
> On Mar 14, 12:04 pm, Henk van Broekhuyzen
>
>
>
> <[email protected]> wrote:
> > Hello all,
> > This is my first post to this jallib forum.
> > After being untroduced to PIC's and JAL via the book of Bert van Dam,
> > Joep Suijs directed me to the Jallib sites.
> > Because I benefit a lot of this, I am happy to contribute.
>
> > I have prepared a zip file (1.5 MB) with driver files and a test-
> > application that supports a lot of experiments. Hardware and doc of
> > the test application is discribed in an included  .doc file.
>
> > Joep mailed me once: "If you want to contribute, you can post it on
> > the forum, and someone will check it."
>
> > Only: I see no means to append that zip file to this post. Please mail
> > me how!.
>
> > Henk van Broekhuyzen.
>
> > p.s. Dutch readers may get to know me via my sitewww.henkzelf.nl
> > (long time not maintained, to busy with JAL)- Tekst uit oorspronkelijk 
> > bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to