rtl433  UNKNOWN
RTL-433 utility
hcs200.c File Reference

Microchip HCS200 KeeLoq Code Hopping Encoder based remotes. More...

Functions

static int hcs200_callback (r_device *decoder, bitbuffer_t *bitbuffer)
 Microchip HCS200 KeeLoq Code Hopping Encoder based remotes. More...
 

Variables

static char * output_fields []
 
r_device hcs200
 

Detailed Description

Microchip HCS200 KeeLoq Code Hopping Encoder based remotes.

Copyright (C) 2019, 667bdrm

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

◆ hcs200_callback()

static int hcs200_callback ( r_device decoder,
bitbuffer_t bitbuffer 
)
static

Microchip HCS200 KeeLoq Code Hopping Encoder based remotes.

66 bits transmitted, LSB first

| 0-31 | Encrypted Portion | 32-59 | Serial Number | 60-63 | Button Status | 64 | Battery Low | 65 | Fixed 1

Datasheet: DS40138C http://ww1.microchip.com/downloads/en/DeviceDoc/40138c.pdf

rtl_433 -R 0 -X 'n=name,m=OOK_PWM,s=370,l=772,r=14000,g=4000,t=152,y=0,preamble={12}0xfff'

References bitbuffer::bb, bitbuffer::bits_per_row, DATA_INT, data_make(), DATA_STRING, and decoder_output_data().

Variable Documentation

◆ hcs200

r_device hcs200
Initial value:
= {
.name = "Microchip HCS200 KeeLoq Hopping Encoder based remotes",
.modulation = OOK_PULSE_PWM,
.short_width = 370,
.long_width = 772,
.gap_limit = 4000,
.reset_limit = 14000,
.sync_width = 0,
.tolerance = 152,
.decode_fn = &hcs200_callback,
.disabled = 0,
.fields = output_fields,
}
Pulse Width Modulation with precise timing parameters.
Definition: r_device.h:13
static char * output_fields[]
Definition: hcs200.c:71
static int hcs200_callback(r_device *decoder, bitbuffer_t *bitbuffer)
Microchip HCS200 KeeLoq Code Hopping Encoder based remotes.
Definition: hcs200.c:29

◆ output_fields

char* output_fields[]
static
Initial value:
= {
"model",
"id",
"encrypted",
"button1",
"button2",
"button3",
"button4",
"misc",
"battery_ok",
NULL,
}