-
I would appreciate any technical help: I have been attempting to generate a Toyota TPMS signal for a while off and on with varied success utilizing a Yardstick one and the rtl_433 source as a guide, specifically here https://github.com/merbanan/rtl_433/blob/master/src/devices/tpms_toyota.c I am able to recreate and get rtl_433 to recognize a transmission crafted using this file as a basis https://github.com/merbanan/rtl_433_tests/blob/master/tests/Toyota_TPMS/02/0d5aee3_g007_433.92M_250k.cu8 I believe my CRC8 is correct as well, as I am able to modify parts of the data packet and it is still recognized in rtl_433 (see below) However, I did not find this in the src to be entirely accurate: In the process of elimination I found this to work on some but not all ID's note the added "0" and the "11" at the end (instead of 3 bits) But even this does not make sense to me as analysis in URH yields the following: and yet there are various ID's that I cannot generate a valid signal for: I am looking for any help you can possibly give me because this is driving me up a wall. What am I missing? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
Just to cover all bases, here is how I am doing the CRC calc (incase I screwed something up) |
Beta Was this translation helpful? Give feedback.
-
The match But being DMC you have a choice of polarity at the beginning, and I suspect that due to the |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hmm inverted f01b2881 is really close but not quite there. If you look at the end, it should be Haven't yet tested against rtl_433, but this is discouraging |
Beta Was this translation helpful? Give feedback.
-
GUH I am an idiot. When doing the crc I was padding to the right (if needed). For f0d5aee3 that happened to work out since the CRC was 8bits. For f01b2881 it wasn't and didnt 🥴 . All id's I tried worked against rtl_433 with the following (no idea if it works on real hardware): fin = "010101010011110" + differential_manchester_encode(payload + crc_bits) + "11" Pad CRC on the left if needed |
Beta Was this translation helpful? Give feedback.
GUH I am an idiot.
When doing the crc I was padding to the right (if needed). For f0d5aee3 that happened to work out since the CRC was 8bits. For f01b2881 it wasn't and didnt 🥴 .
All id's I tried worked against rtl_433 with the following (no idea if it works on real hardware):
fin = "010101010011110" + differential_manchester_encode(payload + crc_bits) + "11"
then converting fin to bytes.
Pad CRC on the left if needed