kopia lustrzana https://github.com/PiInTheSky/lora-gateway
Update sondehub.c
Changing internal_temp to temp and temp to ext_temperature in order to match up with the tags used at https://grafana.v2.sondehub.org/pull/73/head
rodzic
3cd13f1d2f
commit
37d5b5ab7d
|
@ -205,11 +205,11 @@ void ExtractFields(char *Telemetry, char *ExtractedFields)
|
|||
break;
|
||||
|
||||
case 'A':
|
||||
sprintf(Value, "\"internal_temp\":%s,", token);
|
||||
sprintf(Value, "\"temp\":%s,", token);
|
||||
break;
|
||||
|
||||
case 'B':
|
||||
sprintf(Value, "\"temp\":%s,", token);
|
||||
sprintf(Value, "\"ext_temperature\":%s,", token);
|
||||
break;
|
||||
|
||||
case 'C':
|
||||
|
|
Ładowanie…
Reference in New Issue