Renamed files from mug to mqtt_application

This commit is contained in:
RobinVdB8
2023-11-26 12:39:57 +01:00
parent 70b980dcfa
commit d88d35c6cf
3 changed files with 8 additions and 8 deletions

View File

@@ -1,15 +1,15 @@
/**
* @file mug.h
* @file mqtt_application.h
* header for mosquitto application of the groups assignment
* @author RobinVdB
*/
#ifndef INC_MUG_H_
#define INC_MUG_H_
#ifndef INC_MQTTA_H_
#define INC_MQTTA_H_
/**
* @brief Initialize MQTT application
*/
void mug_init(void);
#endif /* INC_MUG_H_ */
#endif /* INC_MQTTA_H_ */

View File

@@ -28,7 +28,7 @@
#include "log.h"
#include "llfs.h"
#include "lcd_api.h"
#include "mug.h"
#include <mqtt_application.h>
#include "tftp.h"
/* USER CODE END Includes */

View File

@@ -1,9 +1,10 @@
/**
* @file mug.c
* @file mqtt_application.c
* mosquitto application for group assignment
* @author RobinVdB
*/
#include <mqtt_application.h>
#include <string.h>
#include "httpd.h"
#include "lcd_api.h"
@@ -11,7 +12,6 @@
#include "lwip/ip_addr.h"
#include "mdns.h"
#include "mqtt.h"
#include "mug.h"
#define LOGGER_LEVEL_INFO
#include "log.h"
@@ -55,7 +55,7 @@ static uint16_t connection_attempt_counter;
static uint32_t color;
static uint32_t bgcolor;
static input_topic_t inpub_id;
static const char* TAG = "mug";
static const char* TAG = "MQTT";
/**
* @brief callback function for publishing data