MQTTGateway on version 1.5
-
I tried to compile the MQTTGateway with the embedded codebender on the website, but it gives a compile error. Ran the code with all libraries updated to 1.5 on arduino gives the following error. Anyone else able to verify this but to see if I missed something?
In file included from MQTTGateway.ino:87:
C:\Program Files (x86)\Arduino\libraries\MySensors/MySensor.h:158: error: expected type-specifier before 'MyHwDriver'
C:\Program Files (x86)\Arduino\libraries\MySensors/MySensor.h:158: error: default argument for parameter of type 'MyHw&' has type 'int'
C:\Program Files (x86)\Arduino\libraries\MySensors/MySensor.h:158: error: expected ',' before 'MyHwDriver'
MQTTGateway:130: error: 'MyHwATMega328' does not name a type
MQTTGateway:133: error: 'hw' was not declared in this scope
MQTTGateway.ino: In function 'char* getType(char*, const char**)':
MQTTGateway.ino:272: warning: suggest parentheses around assignment used as truth value
MQTTGateway.ino: In function 'void processMQTTMessage(char*, uint8_t)':
MQTTGateway.ino:351: warning: comparison with string literal results in unspecified behaviourThanks for the help!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login