Open ouleiqi opened 6 years ago
I changed this on ubuntu: /----------- Select Platform ---------/
#define LINUX //#define MBED
/--------- Select byte order ----------/
//#define CPU_BIGENDIANN
/-------- Select Network -------------/ //#define NETWORK_XBEE
/--- XBee Buffer Flow Control --/
//#define XBEE_FLOWCTL_CRTSCTS
but
lsw@leiqi:~/MQTT-SN/Client# ./Build/TomyClient -i ClientID -g 225.1.1.1 -p 1883 -c -t WillTopic -m WillMessage -k 300 Client start argument error
You need to include '-u: [client portNo] (UDP)' argument for client port
I changed this on ubuntu: /----------- Select Platform ---------/
ifndef ARDUINO
endif
/--------- Select byte order ----------/
define CPU_LITTLEENDIANN
//#define CPU_BIGENDIANN
/-------- Select Network -------------/ //#define NETWORK_XBEE
define NETWORK_UDP <<<<-------------------uncomment this
/--- XBee Buffer Flow Control --/
ifdef NETWORK_XBEE
endif
but
lsw@leiqi:~/MQTT-SN/Client# ./Build/TomyClient -i ClientID -g 225.1.1.1 -p 1883 -c -t WillTopic -m WillMessage -k 300 Client start argument error