You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
545 B
22 lines
545 B
/*
|
|
* challenge_communication.h
|
|
*
|
|
* Created on: 05.12.2022
|
|
* Author: jonas
|
|
*/
|
|
|
|
#ifndef MAIN_CHALLENGE_COM_H_
|
|
#define MAIN_CHALLENGE_COM_H_
|
|
|
|
#include "mqtt_client.h"
|
|
|
|
/*! \brief parser for mqtt events */
|
|
void Challenge_Com_ParseMqtt(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data);
|
|
|
|
/*! \brief subscribes to all relevant topics */
|
|
void Challenge_Com_SubscribeToAllTopics(void);
|
|
|
|
/*! \brief publish the battery voltage */
|
|
void Challenge_Com_PublishBatteryVoltage(void);
|
|
|
|
#endif /* MAIN_CHALLENGE_COM_H_ */
|
|
|