mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-15 16:36:52 +01:00
Merge pull request #48 from ty4tw/gateway
BugFix: Issue #47 'START_BYTE' was not declared
This commit is contained in:
@@ -25,7 +25,7 @@ namespace MQTTSNGW
|
|||||||
/*=================================
|
/*=================================
|
||||||
* Starting prompt
|
* Starting prompt
|
||||||
==================================*/
|
==================================*/
|
||||||
#define GATEWAY_VERSION " * Version: 0.9.6"
|
#define GATEWAY_VERSION " * Version: 0.9.7"
|
||||||
|
|
||||||
#define PAHO_COPYRIGHT0 " * MQTT-SN Transparent Gateway"
|
#define PAHO_COPYRIGHT0 " * MQTT-SN Transparent Gateway"
|
||||||
#define PAHO_COPYRIGHT1 " * Part of Project Paho in Eclipse"
|
#define PAHO_COPYRIGHT1 " * Part of Project Paho in Eclipse"
|
||||||
|
|||||||
@@ -40,9 +40,10 @@ namespace MQTTSNGW
|
|||||||
|
|
||||||
#define XMIT_STATUS_TIME_OVER 5000
|
#define XMIT_STATUS_TIME_OVER 5000
|
||||||
|
|
||||||
#define ESCAPE 0x7d
|
#define START_BYTE 0x7e
|
||||||
#define XON 0x11
|
#define ESCAPE 0x7d
|
||||||
#define XOFF 0x13
|
#define XON 0x11
|
||||||
|
#define XOFF 0x13
|
||||||
|
|
||||||
/*===========================================
|
/*===========================================
|
||||||
Class SerialPort
|
Class SerialPort
|
||||||
|
|||||||
Reference in New Issue
Block a user