123
Dependencies: MQTTSN
MQTT_server_setting.h
- Committer:
- m_ahsan
- Date:
- 2019-08-06
- Revision:
- 15:8c473836feba
File content as of revision 15:8c473836feba:
#ifndef __MQTT_SERVER_SETTING_H__
#define __MQTT_SERVER_SETTING_H__
#define MQTT_MAX_PAYLOAD_SIZE 700
#define MQTT_CLIENT_ID "Sensor011"
//char *buf;
const char * ssid = "KICS-IOT-DHCP";
const char * seckey = "AAAFFFBBBC";
bool PUB_REG = false;
/* Buffer size for a receiving message. */
const int MESSAGE_BUFFER_SIZE = 512;
/* Buffer for a receiving message. */
char messageBuffer[MESSAGE_BUFFER_SIZE];
//const char *buffer = NULL;
const char* buf;
//char buf[MESSAGE_BUFFER_SIZE];
char *MQTT_SERVER_HOST_NAME = "192.168.0.114";
short MQTT_Atmpt = 0;
int PORT = 10000;
//char *MQTT_CLIENT_ID = "Sensor02";
char MQTT_TOPIC[40];
//const unsigned char* kpsa = "123";
//const unsigned char* kpsaID = "bridge";
#endif /* __MQTT_SERVER_SETTING_H__ */