I attached a terminal to CUL with firmware 1.07 and listened on the 433 MHz
band with X09. I was able to receive data from a Betty remote control with
CC1100 tranceiver. What is the easiest way of decoding such CC1100 sequences
of r s t u g h back into the transmitted bytes? Could you please point me at
the right C code in the firmware where this is done for already implemented
devices that I can use as an example? Can anyone recommend docs or
literature for the beginner that I am?
Ah yes, I will have to go the way into firmware development for
microcontrollers :-|
Objective (stage 1): establish a one way-communication Betty ---> CUL/PC (a
simple part for sending key strokes on air is already avalaible in the Betty
Boop firmware).
Regards,
Boris
one more beginner's question: what development tools do you use for
programming and testing the culfw?
Boris
I ordered a USF 1000 from ELV (for ultra-sound measurement of fill-level of my
cistern). USF 1000 uses a 868 MHz RF protocol so I might give it a try and
decode it.
Am Samstag, 7. März 2009 schrieb Rudolf Koenig:
> > What is the easiest way of decoding such CC1100 sequences
> > of r s t u g h back into the transmitted bytes?
>
> Use "tools/timer /dev/ttyACM0 > file.log" to analyze it. The first
> column will denote the Unix timestamps, the last the CUL timestamps
> (in usec).
> "r,s,t,u" denote rising edges (r+the internal state), and "f,g,h,i" is
> the falling edge. The CUL times are always relative to the last rising
> edge.
Could you please give some hints what the internal state means?
When I decode the constant stream of air traffic in my house with the aid of
tools/timer, I get sequences of r-g-r-g-r-g interdispersed with ? followed by
a hex byte (second else branch in timer.c) and plain characters (first else
branch). From the notion of X18 in the README it is not clear to me what the
latter two cases signify. Could you please explain?
Assuming the r-g-r-g-r-g sequences are something FS20/FHT-like (in the broader
sense), how can I translate it into byte sequences? The traffic currently
observed are FHT, EM, KS300 and HMS messages. So it should be possible to
practice a bit with the output of the known stuff before decoding the unknown
protocol. I tried to use the source code in culfw's transceiver.c but with no
initial hints about its principles it would take me ages to understand how it
is done.
Regards,
Boris
A.Plowman:
> Thanks for the interpretation of the data. I'm hoping that it is from an
> Oregon Scientific remote temperature sensor.
>
That sounds abut right.
> The bytes are sending in reverse order and they are coded in a
> Manchester-type manner.
Unfortunately, CUL doesn't do Manchester yet. Somebody needs to
implement that in the receiver. I've sketched an implementation
some time ago, but I have no way to test that, so somebody else
needs to do the work. :-P
--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | sm...@smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
v4sw7$Yhw6+8ln7ma7u7L!wl7DUi2e6t3TMWb8HAGen6g3a4s6Mr1p-3/-6 hackerkey.com
- -
This fortune is encrypted -- get your decoder rings ready!
Am Montag, 15. Juni 2009 schrieb TOSTi:
> UFS mit CUL aktuelle culfw:
...
> Also ganz normales FS20 im letzen Byte steckt die Entfernung.
> Housecode und ID hat sich bei mir nicht geändert (trotz mehrfacher
> Batterieausbauten)
great! This saves us a real lot of time.
Hopefully the postman will deliver my USF 1000 device by Saturday. Then I will
give it a try with FHZ1300 and/or CUL. I will check in what ways the
datagrams differ from those from Dirk's tests and those listed in the forum
posts Maz hinted us to. As I have some empty batteries by chance, I can
probably even find out how the battery-low signal is transferred. The FHEM
module will then easily be written!
Stay tuned!
Regards,
Boris
It's in the CUL cvs. You just need to edit the makefile to compile my
parser instead of the default one.
bye
MM
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?