main/config.c

Tue, 04 Apr 2023 20:57:49 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 04 Apr 2023 20:57:49 +0200
changeset 15
64028e178ff1
parent 12
bb72d448e282
permissions
-rw-r--r--

Splitted wifi and mqtt connect states to make the connections more robust. Protect the mqtt connection request against requests when a request is already done or in progress.


#include "config.h"

/*
 * Sensors parameters and defines
 */
bmp280_params_t         bmp280_params;
bmp280_t                bmp280_dev;

ina219_t		ina219_b_dev;
ina219_t		ina219_s_dev;

apds9930_t		apds9930_dev;

mercurial