diff --git a/MQTTSNGateway/GatewayTester/README.md b/MQTTSNGateway/GatewayTester/README.md index a0f4bad..06c11b9 100644 --- a/MQTTSNGateway/GatewayTester/README.md +++ b/MQTTSNGateway/GatewayTester/README.md @@ -57,7 +57,7 @@ TEST_LIST = {// e.g. TEST( Label, Test), ## step1. Define a sensor network **UDP** or **Bluetooth** is available as a sensor network. -Uncomment a line \#define UDP or BLE in LMqttsnClientApp.h file. +Uncomment a line \#define UDP or RFCOMM in LMqttsnClientApp.h file. ``` /*====================================== @@ -65,7 +65,7 @@ Uncomment a line \#define UDP or BLE in LMqttsnClientApp.h file. ======================================*/ //#define CLIENT_MODE #define UDP -//#define BLE +//#define RFCOMM ``` ## step2. Build diff --git a/MQTTSNGateway/src/linux/Threading.h b/MQTTSNGateway/src/linux/Threading.h index 92b9270..677e7ee 100644 --- a/MQTTSNGateway/src/linux/Threading.h +++ b/MQTTSNGateway/src/linux/Threading.h @@ -95,7 +95,7 @@ private: class RingBuffer { public: - RingBuffer(const char* keyDirctory = MQTTSNGW_KEY_DIRECTORY); + RingBuffer(const char* keyDirectory = MQTTSNGW_KEY_DIRECTORY); ~RingBuffer(); void put(char* buffer); int get(char* buffer, int bufferLength);