mirror of
https://github.com/eddyem/small_tel.git
synced 2026-03-22 09:41:00 +03:00
add serial/socket plugin example
This commit is contained in:
@@ -20,9 +20,13 @@
|
||||
|
||||
#include "weathlib.h"
|
||||
|
||||
// don't allow to set polling time more than 10 minutes
|
||||
#define MAX_POLLT (600)
|
||||
|
||||
int openplugins(char **paths, int N);
|
||||
void closeplugins();
|
||||
int get_plugin(sensordata_t *o, int N);
|
||||
int get_nplugins();
|
||||
int format_sensval(const val_t *v, char *buf, int buflen, int Np);
|
||||
int format_msrmttm(time_t t, char *buf, int buflen);
|
||||
int set_pollT(time_t t);
|
||||
|
||||
Reference in New Issue
Block a user