mirror of
https://github.com/merbanan/rtl_433.git
synced 2026-04-23 02:57:07 -04:00
54 lines
1.1 KiB
C
54 lines
1.1 KiB
C
#ifndef INCLUDE_RTL_433_DEVICES_H_
|
|
#define INCLUDE_RTL_433_DEVICES_H_
|
|
|
|
#include "bitbuffer.h"
|
|
|
|
#define DEVICES \
|
|
DECL(silvercrest) \
|
|
DECL(rubicson) \
|
|
DECL(prologue) \
|
|
DECL(waveman) \
|
|
DECL(steffen) \
|
|
DECL(elv_em1000) \
|
|
DECL(elv_ws2000) \
|
|
DECL(lacrossetx) \
|
|
DECL(acurite5n1) \
|
|
DECL(acurite_rain_gauge) \
|
|
DECL(acurite_th) \
|
|
DECL(oregon_scientific) \
|
|
DECL(mebus433) \
|
|
DECL(intertechno) \
|
|
DECL(newkaku) \
|
|
DECL(alectov1) \
|
|
DECL(cardin) \
|
|
DECL(fineoffset_WH2) \
|
|
DECL(nexus) \
|
|
DECL(ambient_weather) \
|
|
DECL(calibeur_RF104) \
|
|
DECL(X10_RF) \
|
|
DECL(DSC) \
|
|
DECL(brennstuhl_rcs_2044) \
|
|
DECL(gt_wt_02) \
|
|
DECL(danfoss_CFR) \
|
|
DECL(ec3k) \
|
|
DECL(valeo) \
|
|
DECL(chuango)
|
|
|
|
|
|
typedef struct {
|
|
char name[256];
|
|
unsigned int modulation;
|
|
unsigned int short_limit;
|
|
unsigned int long_limit;
|
|
unsigned int reset_limit;
|
|
int (*json_callback)(bitbuffer_t *bitbuffer);
|
|
unsigned int disabled;
|
|
unsigned long demod_arg; // Decoder specific optional argument (may be pointer to struct)
|
|
} r_device;
|
|
|
|
#define DECL(name) extern r_device name;
|
|
DEVICES
|
|
#undef DECL
|
|
|
|
#endif /* INCLUDE_RTL_433_DEVICES_H_ */
|