I’m using an 8-relay card. I can not use the Cayenne with the Arduino UNO and the w5100 Ethernet card.
during installation, the following errors are returned.
I n file included from C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient I’m sorry.h:21:0,
from C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernet.h:25,
from C:\Users\YEE\Documents\Arduino\sketch_mar07c\sketch_mar07c.ino:14:
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient I'm sorry.h: in member function 'void Cayenneardinomqtclient::connect()':
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient I'm sorry.h:58:63: warning: earthquake conversion from string constant to 'char' [-Wwrite-strings]
if (!Networkconnect(&_network, CAYENNE_DOMAIN, CAYENNE_PORT))) {
^
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneMQTTClient\CayenneMQTTClient I'm sorry.C: in function 'Cayennemqtpublishdatainint':
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneMQTTClient\CayenneMQTTClient I'm sorry.c:135:2: warning: implicit declaration of function 'itoa' [- Wimplicit-function-declaration]
itoa(value, str, 10);
^
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneMQTTClient\CayenneMQTTClient I'm sorry.C: in function 'Cayennemqtpublishdatauint':
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneMQTTClient\CayenneMQTTClient I'm sorry.C:158:2: warning: implicit declaration of function 'utoa' [- Wimplicit-function-declaration]
utoa(value, str, 10);
^
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneMQTTClient\CayenneMQTTClient I'm sorry.C: in function 'Cayennemqtpublishdatalong':
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneMQTTClient\CayenneMQTTClient I'm sorry.c:181:2: warning: implicit declaration of function 'ltoa' [- Wimplicit-function-declaration]
ltoa(value, str, 10);
^
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneMQTTClient\CayenneMQTTClient I'm sorry.C: in function 'Cayennemqtpublishdataulong':
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneMQTTClient\CayenneMQTTClient I'm sorry.c:204:2: warning: implicit declaration of function 'ultoa' [- Wimplicit-function-declaration]
ultoa(value, str, 10);
^
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneMQTTClient\CayenneMQTTClient I'm sorry.C: in function'Cayennemqtpublishdatadouble':
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneMQTTClient\CayenneMQTTClient I'm sorry.c:227:2: warning: implicit declaration of function 'dtostrf' [-Wimplicit-function-declaration]
dtostrf(value, 5, 3, str);
^
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneUtils\CayenneDataArray I'm sorry.a: In function 'Cayennedataarrayaddin':
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneUtils\CayenneDataArray I'm sorry.c:87:2: warning: implicit declaration of function 'itoa' [- Wimplicit-function-declaration]
itoa(value, str, 10);
^
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneUtils\CayenneDataArray I'm sorry.C: in function 'Cayennedataarrayaddint':
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneUtils\CayenneDataArray I'm sorry.c:105:2: warning: implicit declaration of function 'utoa' [- Wimplicit-function-declaration]
utoa(value, str, 10);
^
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneUtils\CayenneDataArray I'm sorry.a: In function 'CayenneDataArrayAddLong':
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneUtils\CayenneDataArray I'm sorry.c:123:2: warning: implicit declaration of function 'ltoa' [- Wimplicit-function-declaration]
ltoa(value, str, 10);
^
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneUtils\CayenneDataArray I'm sorry.a: In function 'CayenneDataArrayAddULong':
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneUtils\CayenneDataArray I'm sorry.c:141:2: warning: implicit declaration of function 'ultoa' [- Wimplicit-function-declaration]
ultoa(value, str, 10);
^
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneUtils\CayenneDataArray I'm sorry.a: In function 'CayenneDataArrayAddDouble':
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneUtils\CayenneDataArray I'm sorry.c:159:2: warning: implicit declaration of function 'dtostrf' [-Wimplicit-function-declaration]
dtostrf(value, 5, 3, str);
^
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneUtils\CayenneUtils I'm sorry.C: in function 'buildSuffix':
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneUtils\CayenneUtils I'm sorry.C:88:15: warning: assignment discs 'const' qualifier from pointer target type
topicString = COMMAND_STRING;
^
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneUtils\CayenneUtils I'm sorry.c:91:15: warning: assignment discs 'const' qualifier from pointer target type
topicString = DATA_STRING;
^
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneUtils\CayenneUtils I'm sorry.c:94:15: warning: assignment discs 'const' qualifier from pointer target type
topicString = RESPONSE_STRING;
^
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneUtils\CayenneUtils I'm sorry.c:97:15: warning: assignment discs 'const' qualifier from pointer target type
topicString = SYS_MODEL_STRING;
^
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneUtils\CayenneUtils I'm sorry.C:100:15: warning: assignment discs 'const' qualifier from pointer target type
topicString = SYS_VERSION_STRING;
^
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneUtils\CayenneUtils I'm sorry.c:103:15: warning: assignment discs 'const' qualifier from pointer target type
topicString = SYS_CPU_MODEL_STRING;
^
C:\Users\YEE\Documents\Arduino\libraries\CayenneMQTT\src\CayenneUtils\CayenneUtils I'm sorry.c:106:15: warning: assignment discs 'const' qualifier from pointer target type
topicString = SYS_CPU_SPEED_STRING;
^