mirror of
https://github.com/merbanan/rtl_433.git
synced 2026-05-24 17:55:13 -04:00
Add some missing csv field declarations
This commit is contained in:
@@ -70,4 +70,5 @@ r_device akhan_100F14 = {
|
||||
.json_callback = &akhan_rke_callback,
|
||||
.disabled = 0,
|
||||
.demod_arg = 0,
|
||||
.fields = output_fields,
|
||||
};
|
||||
|
||||
@@ -84,4 +84,5 @@ r_device blyss = {
|
||||
.json_callback = &blyss_callback,
|
||||
.disabled = 0,
|
||||
.demod_arg = 0,
|
||||
.fields = output_fields,
|
||||
};
|
||||
|
||||
@@ -111,5 +111,6 @@ r_device calibeur_RF104 = {
|
||||
.tolerance = 0, // raw mode
|
||||
.json_callback = &calibeur_rf104_callback,
|
||||
.disabled = 0,
|
||||
.demod_arg = 0 // not used
|
||||
.demod_arg = 0, // not used
|
||||
.fields = output_fields,
|
||||
};
|
||||
|
||||
@@ -97,4 +97,5 @@ r_device chuango = {
|
||||
.json_callback = &chuango_callback,
|
||||
.disabled = 0,
|
||||
.demod_arg = 0,
|
||||
.fields = output_fields,
|
||||
};
|
||||
|
||||
@@ -122,4 +122,5 @@ r_device esperanza_ews = {
|
||||
.json_callback = &esperanza_ews_callback,
|
||||
.disabled = 0,
|
||||
.demod_arg = 0,
|
||||
.fields = output_fields,
|
||||
};
|
||||
|
||||
@@ -87,6 +87,15 @@ static int generic_remote_callback(bitbuffer_t *bitbuffer) {
|
||||
}
|
||||
|
||||
|
||||
static char *output_fields[] = {
|
||||
"time",
|
||||
"model"
|
||||
"id"
|
||||
"cmd",
|
||||
"tristate",
|
||||
NULL
|
||||
};
|
||||
|
||||
r_device generic_remote = {
|
||||
.name = "Generic Remote SC226x EV1527",
|
||||
.modulation = OOK_PULSE_PWM_PRECISE,
|
||||
@@ -98,4 +107,5 @@ r_device generic_remote = {
|
||||
.json_callback = &generic_remote_callback,
|
||||
.disabled = 0,
|
||||
.demod_arg = 0,
|
||||
.fields = output_fields,
|
||||
};
|
||||
|
||||
@@ -58,10 +58,10 @@ static int ht680_callback(bitbuffer_t *bitbuffer) {
|
||||
}
|
||||
|
||||
static char *output_fields[] = {
|
||||
"time",
|
||||
"model",
|
||||
"tristate",
|
||||
"address",
|
||||
"data",
|
||||
"button1",
|
||||
"button2",
|
||||
"button3",
|
||||
@@ -77,5 +77,6 @@ r_device ht680 = {
|
||||
.reset_limit = 13000,
|
||||
.json_callback = &ht680_callback,
|
||||
.disabled = 0,
|
||||
.demod_arg = 1
|
||||
.demod_arg = 1,
|
||||
.fields = output_fields,
|
||||
};
|
||||
|
||||
@@ -77,4 +77,5 @@ r_device kerui = {
|
||||
.json_callback = &kerui_callback,
|
||||
.disabled = 0,
|
||||
.demod_arg = 0,
|
||||
.fields = output_fields,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user