rtl433  UNKNOWN
RTL-433 utility
tpms_jansite.c File Reference

Jansite FSK 7 byte Manchester encoded checksummed TPMS data. More...

Functions

static int tpms_jansite_decode (r_device *decoder, bitbuffer_t *bitbuffer, unsigned row, unsigned bitpos)
 
static int tpms_jansite_callback (r_device *decoder, bitbuffer_t *bitbuffer)
 

Variables

static const unsigned char preamble_pattern [3] = {0xaa, 0xaa, 0xa9}
 Jansite Solar TPMS (Internal/External) Model TY02S Working Temperature:-40 °C to 125 °C Working Frequency: 433.92MHz+-38KHz Tire monitoring range value: 0kPa-350kPa+-7kPa. More...
 
static char * output_fields []
 
r_device tpms_jansite
 

Detailed Description

Jansite FSK 7 byte Manchester encoded checksummed TPMS data.

Copyright (C) 2019 Andreas Spiess and Christian W. Zuckschwerdt zany@.nosp@m.triq.nosp@m..net

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Function Documentation

◆ tpms_jansite_callback()

static int tpms_jansite_callback ( r_device decoder,
bitbuffer_t bitbuffer 
)
static

◆ tpms_jansite_decode()

static int tpms_jansite_decode ( r_device decoder,
bitbuffer_t bitbuffer,
unsigned  row,
unsigned  bitpos 
)
static

Variable Documentation

◆ output_fields

char* output_fields[]
static
Initial value:
= {
"model",
"type",
"id",
"flags",
"pressure_kPa",
"temperature_C",
"code",
NULL,
}

◆ preamble_pattern

const unsigned char preamble_pattern[3] = {0xaa, 0xaa, 0xa9}
static

Jansite Solar TPMS (Internal/External) Model TY02S Working Temperature:-40 °C to 125 °C Working Frequency: 433.92MHz+-38KHz Tire monitoring range value: 0kPa-350kPa+-7kPa.

Data layout (nibbles):

II II II IS PP TT CC
  • I: 28 bit ID
  • S: 4 bit Status (deflation alarm, battery low etc)
  • P: 8 bit Pressure (best guess quarter PSI, i.e. ~0.58 kPa)
  • T: 8 bit Temperature (deg. C offset by 50)
  • C: 8 bit Checksum
  • The preamble is 0xaa..aa9 (or 0x55..556 depending on polarity)

Referenced by tpms_jansite_callback().

◆ tpms_jansite

r_device tpms_jansite
Initial value:
= {
.name = "Jansite TPMS Model TY02S",
.modulation = FSK_PULSE_PCM,
.short_width = 52,
.long_width = 52,
.reset_limit = 150,
.decode_fn = &tpms_jansite_callback,
.disabled = 1,
.fields = output_fields,
}
static int tpms_jansite_callback(r_device *decoder, bitbuffer_t *bitbuffer)
Definition: tpms_jansite.c:79
static char * output_fields[]
Definition: tpms_jansite.c:95
FSK, Pulse Code Modulation.
Definition: r_device.h:19