I would like to repeat a packet 3 times using raw format and tdtool, but fail to find the proper raw string..
How should the R prefix be used to achieve the desired 3-repeat? (Running tdtool on Linux)
'S88jj8jjjj+' | tdtool --raw -
'R2S88jj8jjjj+' | tdtool --raw -
will not work, it will (as expected) repeat 50 times..
Thanks,
Göran
How to enter low numbers to tdtool?
Moderator: Telldus
-
- Site Admin
- Posts: 2243
- Joined: Fri Mar 17, 2023 9:45 am
- Location: Lund
- Contact:
Re: How to enter low numbers to tdtool?
Raw expects binary data. You must use ascii 2 as parameter to R.
Example:
Example:
Code: Select all
$ echo -e "R\x02S$k$k$k$k+" | tdtool --raw -
Micke Prag
Software
Telldus Technologies
Software
Telldus Technologies
-
- Posts: 25
- Joined: Fri Mar 17, 2023 9:45 am
-
- Posts: 25
- Joined: Fri Mar 17, 2023 9:45 am
Re: How to enter low numbers to tdtool?
Another related question:
Is it possible to send longer pulses than 255*10 = 2555 us?
The device I am trying to communicate with expects a rather long leading/trailing pulse (ca 20 ms), how is that achieved using the raw protocol?
Is it possible to send longer pulses than 255*10 = 2555 us?
The device I am trying to communicate with expects a rather long leading/trailing pulse (ca 20 ms), how is that achieved using the raw protocol?
-
- Site Admin
- Posts: 2243
- Joined: Fri Mar 17, 2023 9:45 am
- Location: Lund
- Contact:
Re: How to enter low numbers to tdtool?
Which batch is your TellStick from?
B11 or later can use ascii 1 as a "zero pulse".
Example:
This should combine 0xFF and 0xFF to one 0x01FE pulse.
What protocol are you trying to decode?
B11 or later can use ascii 1 as a "zero pulse".
Example:
Code: Select all
$ echo -e "S\xFF\x01\xFF+" | tdtool --raw -
What protocol are you trying to decode?
Micke Prag
Software
Telldus Technologies
Software
Telldus Technologies
-
- Posts: 25
- Joined: Fri Mar 17, 2023 9:45 am
Re: How to enter low numbers to tdtool?
Not sure - but it's the one with external antenna. Bought ca 3 months ago.micke.prag wrote:Which batch is your TellStick from?
Nice! Will give it a try, should be easy enough to see if it works using the logic analyzermicke.prag wrote:B11 or later can use ascii 1 as a "zero pulse".
Example:This should combine 0xFF and 0xFF to one 0x01FE pulse.Code: Select all
$ echo -e "S\xFF\x01\xFF+" | tdtool --raw -
Jung's 433 MHz wireless switches, dimmers etc.micke.prag wrote:What protocol are you trying to decode?
I've taken the easy route and don't care about reverse engineering the protocol itself, instead I just capture the pulse trains when sent from a remote
control. If I can re-create those pulse trains using a Tellstick that will be enough.
But of course - would be nice to reverse engineer the actual protocol too... just don't have the time to do it.