#ifndef __CONFIG_H__
#define __CONFIG_H__

/*------------ Project Settings ------------*/

#define BROKER_IP        "192.168.50.215"
#define BROKER_NAME      "mqtt.local"

#ifdef CONFIG_MQTT_LIB_TLS /* MQTT over TLS */
#define BROKER_PORT      8883
#else /* MQTT over TCP */
#define BROKER_PORT      1883
#endif

#define CLIENT_ID        "nrf5340-w5500"
#define SUB_TOPIC        "test/topic"
#define SUB_QOS          MQTT_QOS_1_AT_LEAST_ONCE


#define APP_CONNECT_TIMEOUT_MS	2000    // Timeout for connect
#define APP_SLEEP_MSECS		500         // Sleep time between retries

#define APP_CONNECT_TRIES	10          // Number of tries to connect

#define APP_MQTT_BUFFER_SIZE 128        // MQTT buffer size

/* Set the following to 1 to enable the Hospital topic format */
#define APP_HOSPITAL_TOPIC	0

/* These are the parameters for the HOSPITAL topic format */
#if APP_HOSPITAL_TOPIC
#define HOSPITAL_DEVTYPE	"scanner"
#define HOSPITAL_DEVID		"roomID001"
#define HOSPITAL_EVENT		"status"
#define HOSPITAL_FORMAT		"json"
#endif

#endif /* __CONFIG_H__ END*/