Add some missing csv field declarations

This commit is contained in:
Christian W. Zuckschwerdt
2018-11-20 13:38:18 +01:00
parent 4e16269734
commit de41a39336
8 changed files with 20 additions and 3 deletions

View File

@@ -70,4 +70,5 @@ r_device akhan_100F14 = {
.json_callback = &akhan_rke_callback,
.disabled = 0,
.demod_arg = 0,
.fields = output_fields,
};

View File

@@ -84,4 +84,5 @@ r_device blyss = {
.json_callback = &blyss_callback,
.disabled = 0,
.demod_arg = 0,
.fields = output_fields,
};

View File

@@ -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,
};

View File

@@ -97,4 +97,5 @@ r_device chuango = {
.json_callback = &chuango_callback,
.disabled = 0,
.demod_arg = 0,
.fields = output_fields,
};

View File

@@ -122,4 +122,5 @@ r_device esperanza_ews = {
.json_callback = &esperanza_ews_callback,
.disabled = 0,
.demod_arg = 0,
.fields = output_fields,
};

View File

@@ -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,
};

View File

@@ -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,
};

View File

@@ -77,4 +77,5 @@ r_device kerui = {
.json_callback = &kerui_callback,
.disabled = 0,
.demod_arg = 0,
.fields = output_fields,
};