Je l’ai trouvé sur le lien que vous m’avez transmis dans votre 1er message.
Je viens d’essayer de compiler celui que vous m’avez transmis mais j’ai du modifier aussi
la ligne ‘’ incluse bibliothéque ‘’ et j’ai ce massage d’erreur
Arduino : 1.8.8 (Windows 7), Carte : “Arduino Ethernet”
sketchjanvier2019:2:1: error: stray '\303' in program
Cet exemple montre comment se connecter à Cayenne à l'aide d'un blindage Ethernet W5100 et envoyer / recevoir des exemples de données.
^
sketchjanvier2019:2:1: error: stray '\240' in program
sketchjanvier2019:2:1: error: stray '\303' in program
sketchjanvier2019:2:1: error: stray '\240' in program
C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:2:56: warning: character constant too long for its type
Cet exemple montre comment se connecter à Cayenne à l'aide d'un blindage Ethernet W5100 et envoyer / recevoir des exemples de données.
^
sketchjanvier2019:2:1: error: stray '\303' in program
Cet exemple montre comment se connecter à Cayenne à l'aide d'un blindage Ethernet W5100 et envoyer / recevoir des exemples de données.
^
sketchjanvier2019:2:1: error: stray '\251' in program
sketchjanvier2019:3:1: error: stray '\303' in program
La bibliothèque CayenneMQTT est nécessaire pour exécuter ce croquis. Si vous ne l'avez pas déjà fait, vous pouvez l'installer à partir du Arduino IDE Library Manager.
^
sketchjanvier2019:3:1: error: stray '\250' in program
sketchjanvier2019:3:1: error: stray '\303' in program
sketchjanvier2019:3:1: error: stray '\251' in program
sketchjanvier2019:3:1: error: stray '\303' in program
sketchjanvier2019:3:1: error: stray '\251' in program
C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:3:85: warning: character constant too long for its type
La bibliothèque CayenneMQTT est nécessaire pour exécuter ce croquis. Si vous ne l'avez pas déjà fait, vous pouvez l'installer à partir du Arduino IDE Library Manager.
^
sketchjanvier2019:3:1: error: stray '\303' in program
La bibliothèque CayenneMQTT est nécessaire pour exécuter ce croquis. Si vous ne l'avez pas déjà fait, vous pouvez l'installer à partir du Arduino IDE Library Manager.
^
sketchjanvier2019:3:1: error: stray '\240' in program
C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:5:33: warning: character constant too long for its type
1. Configurez les informations d'authentification de Cayenne pour correspondre aux informations d'authentification du tableau de bord.
^
sketchjanvier2019:6:1: error: stray '\303' in program
2. Compilez et téléchargez l'esquisse.
^
sketchjanvier2019:6:1: error: stray '\251' in program
sketchjanvier2019:6:1: error: stray '\303' in program
sketchjanvier2019:6:1: error: stray '\251' in program
C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:6:31: warning: missing terminating ' character
2. Compilez et téléchargez l'esquisse.
^
sketchjanvier2019:6:1: error: missing terminating ' character
2. Compilez et téléchargez l'esquisse.
^
sketchjanvier2019:7:1: error: stray '\303' in program
3. Un widget temporaire sera automatiquement généré dans le tableau de bord Cayenne. Pour rendre le widget permanent, cliquez sur le signe plus sur le widget.
^
sketchjanvier2019:7:1: error: stray '\251' in program
sketchjanvier2019:7:1: error: stray '\303' in program
sketchjanvier2019:7:1: error: stray '\251' in program
sketchjanvier2019:7:1: error: stray '\303' in program
sketchjanvier2019:7:1: error: stray '\251' in program
In file included from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:21:0,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:21,
from C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:12:
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:53:3: error: stray '\303' in program
CAYENNE_PRINT.print('[');
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:53:3: error: stray '\251' in program
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:54:3: error: stray '\303' in program
CAYENNE_PRINT.print(millis());
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:54:3: error: stray '\251' in program
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:55:3: error: stray '\303' in program
CAYENNE_PRINT.print(CAYENNE_FLASH("] "));
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:55:3: error: stray '\251' in program
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:62:5: error: stray '\303' in program
CAYENNE_PRINT.print(buffer);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:62:5: error: stray '\251' in program
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:67:6: error: stray '\303' in program
CAYENNE_PRINT.print(va_arg(args, char*));
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:67:6: error: stray '\251' in program
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:70:6: error: stray '\303' in program
CAYENNE_PRINT.print(va_arg(args, int));
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:70:6: error: stray '\251' in program
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:73:6: error: stray '\303' in program
CAYENNE_PRINT.print(va_arg(args, unsigned int));
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:73:6: error: stray '\251' in program
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:76:6: error: stray '\303' in program
CAYENNE_PRINT.print(va_arg(args, double));
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:76:6: error: stray '\251' in program
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:83:7: error: stray '\303' in program
CAYENNE_PRINT.print(va_arg(args, long), 16);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:83:7: error: stray '\251' in program
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:86:7: error: stray '\303' in program
CAYENNE_PRINT.print(va_arg(args, long));
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:86:7: error: stray '\251' in program
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:92:6: error: stray '\303' in program
CAYENNE_PRINT.print(va_arg(args, int), 16);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:92:6: error: stray '\251' in program
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:95:6: error: stray '\303' in program
CAYENNE_PRINT.print(next);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:95:6: error: stray '\251' in program
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:104:6: error: stray '\303' in program
CAYENNE_PRINT.print(buffer);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:104:6: error: stray '\251' in program
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:113:3: error: stray '\303' in program
CAYENNE_PRINT.println(buffer);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:113:3: error: stray '\251' in program
sketchjanvier2019:20:3: error: stray '\303' in program
En série. commencer ( 9600 );
^
sketchjanvier2019:20:3: error: stray '\251' in program
C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:21:28: warning: missing terminating ' character
Cayenne. commencer (nom d'utilisateur, mot de passe, ID client);
^
sketchjanvier2019:21:3: error: missing terminating ' character
Cayenne. commencer (nom d'utilisateur, mot de passe, ID client);
^
sketchjanvier2019:44:3: error: stray '\303' in program
CAYENNE_LOG ( " Canal% u, valeur% s " , requête. Canal , getValue. AsString ());
^
sketchjanvier2019:44:3: error: stray '\252' in program
sketchjanvier2019:1:1: error: expected unqualified-id before '/' token
/ *
^
In file included from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneUtils/CayenneDefines.h:74:0,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:29,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:21,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:21,
from C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:12:
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneUtils/CayenneTopics.h:41:3: error: 'CayenneTopic' does not name a type
} CayenneTopic;
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h: In function 'void log(const char*, ...)':
sketchjanvier2019:11:25: error: 'S' was not declared in this scope
# define CAYENNE_PRINT Série // Commentez-le pour désactiver les impressions et économiser de l'espace
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:53:3: note: in expansion of macro 'CAYENNE_PRINT'
CAYENNE_PRINT.print('[');
^
sketchjanvier2019:11:28: error: expected ';' before 'rie'
# define CAYENNE_PRINT Série // Commentez-le pour désactiver les impressions et économiser de l'espace
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:54:3: note: in expansion of macro 'CAYENNE_PRINT'
CAYENNE_PRINT.print(millis());
^
sketchjanvier2019:11:28: error: expected ';' before 'rie'
# define CAYENNE_PRINT Série // Commentez-le pour désactiver les impressions et économiser de l'espace
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:55:3: note: in expansion of macro 'CAYENNE_PRINT'
CAYENNE_PRINT.print(CAYENNE_FLASH("] "));
^
In file included from C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28:0,
from sketch\sketchjanvier2019.ino.cpp:1:
C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino/WString.h:38:74: error: expected primary-expression before ')' token
#define F(string_literal) (reinterpret_cast<const __FlashStringHelper *>(PSTR(string_literal)))
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneUtils/CayenneDefines.h:61:26: note: in expansion of macro 'F'
#define CAYENNE_FLASH(s) F(s)
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:55:23: note: in expansion of macro 'CAYENNE_FLASH'
CAYENNE_PRINT.print(CAYENNE_FLASH("] "));
^
sketchjanvier2019:11:28: error: expected ';' before 'rie'
# define CAYENNE_PRINT Série // Commentez-le pour désactiver les impressions et économiser de l'espace
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:62:5: note: in expansion of macro 'CAYENNE_PRINT'
CAYENNE_PRINT.print(buffer);
^
sketchjanvier2019:11:28: error: expected ';' before 'rie'
# define CAYENNE_PRINT Série // Commentez-le pour désactiver les impressions et économiser de l'espace
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:67:6: note: in expansion of macro 'CAYENNE_PRINT'
CAYENNE_PRINT.print(va_arg(args, char*));
^
sketchjanvier2019:11:28: error: expected ';' before 'rie'
# define CAYENNE_PRINT Série // Commentez-le pour désactiver les impressions et économiser de l'espace
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:70:6: note: in expansion of macro 'CAYENNE_PRINT'
CAYENNE_PRINT.print(va_arg(args, int));
^
sketchjanvier2019:11:28: error: expected ';' before 'rie'
# define CAYENNE_PRINT Série // Commentez-le pour désactiver les impressions et économiser de l'espace
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:73:6: note: in expansion of macro 'CAYENNE_PRINT'
CAYENNE_PRINT.print(va_arg(args, unsigned int));
^
sketchjanvier2019:11:28: error: expected ';' before 'rie'
# define CAYENNE_PRINT Série // Commentez-le pour désactiver les impressions et économiser de l'espace
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:76:6: note: in expansion of macro 'CAYENNE_PRINT'
CAYENNE_PRINT.print(va_arg(args, double));
^
sketchjanvier2019:11:28: error: expected ';' before 'rie'
# define CAYENNE_PRINT Série // Commentez-le pour désactiver les impressions et économiser de l'espace
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:83:7: note: in expansion of macro 'CAYENNE_PRINT'
CAYENNE_PRINT.print(va_arg(args, long), 16);
^
sketchjanvier2019:11:28: error: expected ';' before 'rie'
# define CAYENNE_PRINT Série // Commentez-le pour désactiver les impressions et économiser de l'espace
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:86:7: note: in expansion of macro 'CAYENNE_PRINT'
CAYENNE_PRINT.print(va_arg(args, long));
^
sketchjanvier2019:11:28: error: expected ';' before 'rie'
# define CAYENNE_PRINT Série // Commentez-le pour désactiver les impressions et économiser de l'espace
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:92:6: note: in expansion of macro 'CAYENNE_PRINT'
CAYENNE_PRINT.print(va_arg(args, int), 16);
^
sketchjanvier2019:11:28: error: expected ';' before 'rie'
# define CAYENNE_PRINT Série // Commentez-le pour désactiver les impressions et économiser de l'espace
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:95:6: note: in expansion of macro 'CAYENNE_PRINT'
CAYENNE_PRINT.print(next);
^
sketchjanvier2019:11:28: error: expected ';' before 'rie'
# define CAYENNE_PRINT Série // Commentez-le pour désactiver les impressions et économiser de l'espace
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:104:6: note: in expansion of macro 'CAYENNE_PRINT'
CAYENNE_PRINT.print(buffer);
^
sketchjanvier2019:11:28: error: expected ';' before 'rie'
# define CAYENNE_PRINT Série // Commentez-le pour désactiver les impressions et économiser de l'espace
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:113:3: note: in expansion of macro 'CAYENNE_PRINT'
CAYENNE_PRINT.println(buffer);
^
In file included from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTClient/CayenneMQTTClient.h:23:0,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMessage.h:32,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneHandlers.h:29,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:128,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:21,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:21,
from C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:12:
c:\users\s819041\documents\arduino\libraries\cayennemqtt\src\cayenneutils\cayenneutils.h: At global scope:
c:\users\s819041\documents\arduino\libraries\cayennemqtt\src\cayenneutils\cayenneutils.h:61:109: error: 'CayenneTopic' has not been declared
DLLExport int CayenneBuildTopic(char* topicName, size_t length, const char* username, const char* clientID, CayenneTopic topic, unsigned int channel);
^
c:\users\s819041\documents\arduino\libraries\cayennemqtt\src\cayenneutils\cayenneutils.h:94:33: error: 'CayenneTopic' was not declared in this scope
DLLExport int CayenneParseTopic(CayenneTopic* topic, unsigned int* channel, const char** clientID, const char* username, char* topicName, unsigned int length);
^
c:\users\s819041\documents\arduino\libraries\cayennemqtt\src\cayenneutils\cayenneutils.h:94:47: error: 'topic' was not declared in this scope
DLLExport int CayenneParseTopic(CayenneTopic* topic, unsigned int* channel, const char** clientID, const char* username, char* topicName, unsigned int length);
^
c:\users\s819041\documents\arduino\libraries\cayennemqtt\src\cayenneutils\cayenneutils.h:94:54: error: expected primary-expression before 'unsigned'
DLLExport int CayenneParseTopic(CayenneTopic* topic, unsigned int* channel, const char** clientID, const char* username, char* topicName, unsigned int length);
^
c:\users\s819041\documents\arduino\libraries\cayennemqtt\src\cayenneutils\cayenneutils.h:94:77: error: expected primary-expression before 'const'
DLLExport int CayenneParseTopic(CayenneTopic* topic, unsigned int* channel, const char** clientID, const char* username, char* topicName, unsigned int length);
^
c:\users\s819041\documents\arduino\libraries\cayennemqtt\src\cayenneutils\cayenneutils.h:94:100: error: expected primary-expression before 'const'
DLLExport int CayenneParseTopic(CayenneTopic* topic, unsigned int* channel, const char** clientID, const char* username, char* topicName, unsigned int length);
^
c:\users\s819041\documents\arduino\libraries\cayennemqtt\src\cayenneutils\cayenneutils.h:94:122: error: expected primary-expression before 'char'
DLLExport int CayenneParseTopic(CayenneTopic* topic, unsigned int* channel, const char** clientID, const char* username, char* topicName, unsigned int length);
^
c:\users\s819041\documents\arduino\libraries\cayennemqtt\src\cayenneutils\cayenneutils.h:94:139: error: expected primary-expression before 'unsigned'
DLLExport int CayenneParseTopic(CayenneTopic* topic, unsigned int* channel, const char** clientID, const char* username, char* topicName, unsigned int length);
^
c:\users\s819041\documents\arduino\libraries\cayennemqtt\src\cayenneutils\cayenneutils.h:94:158: warning: expression list treated as compound expression in initializer [-fpermissive]
DLLExport int CayenneParseTopic(CayenneTopic* topic, unsigned int* channel, const char** clientID, const char* username, char* topicName, unsigned int length);
^
c:\users\s819041\documents\arduino\libraries\cayennemqtt\src\cayenneutils\cayenneutils.h:106:117: error: 'CayenneTopic' has not been declared
DLLExport int CayenneParsePayload(CayenneValuePair* values, size_t* valuesSize, const char** type, const char** id, CayenneTopic topic, char* payload);
^
In file included from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMessage.h:32:0,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneHandlers.h:29,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:128,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:21,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:21,
from C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:12:
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTClient/CayenneMQTTClient.h:47:3: error: 'CayenneTopic' does not name a type
CayenneTopic topic; /**< The topic the message was received on. */
^
In file included from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMessage.h:32:0,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneHandlers.h:29,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:128,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:21,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:21,
from C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:12:
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTClient/CayenneMQTTClient.h:75:4: error: 'CayenneTopic' does not name a type
CayenneTopic topic; /**< Topic of the message to handle. */
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTClient/CayenneMQTTClient.h:112:88: error: 'CayenneTopic' has not been declared
DLLExport int CayenneMQTTPublishData(CayenneMQTTClient* client, const char* clientID, CayenneTopic topic, unsigned int channel, const char* type, const char* unit, const char* value);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTClient/CayenneMQTTClient.h:125:91: error: 'CayenneTopic' has not been declared
DLLExport int CayenneMQTTPublishDataInt(CayenneMQTTClient* client, const char* clientID, CayenneTopic topic, unsigned int channel, const char* type, const char* unit, int value);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTClient/CayenneMQTTClient.h:138:92: error: 'CayenneTopic' has not been declared
DLLExport int CayenneMQTTPublishDataUInt(CayenneMQTTClient* client, const char* clientID, CayenneTopic topic, unsigned int channel, const char* type, const char* unit, unsigned int value);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTClient/CayenneMQTTClient.h:151:92: error: 'CayenneTopic' has not been declared
DLLExport int CayenneMQTTPublishDataLong(CayenneMQTTClient* client, const char* clientID, CayenneTopic topic, unsigned int channel, const char* type, const char* unit, long value);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTClient/CayenneMQTTClient.h:164:93: error: 'CayenneTopic' has not been declared
DLLExport int CayenneMQTTPublishDataULong(CayenneMQTTClient* client, const char* clientID, CayenneTopic topic, unsigned int channel, const char* type, const char* unit, unsigned long value);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTClient/CayenneMQTTClient.h:177:94: error: 'CayenneTopic' has not been declared
DLLExport int CayenneMQTTPublishDataDouble(CayenneMQTTClient* client, const char* clientID, CayenneTopic topic, unsigned int channel, const char* type, const char* unit, double value);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTClient/CayenneMQTTClient.h:190:93: error: 'CayenneTopic' has not been declared
DLLExport int CayenneMQTTPublishDataFloat(CayenneMQTTClient* client, const char* clientID, CayenneTopic topic, unsigned int channel, const char* type, const char* unit, float value);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTClient/CayenneMQTTClient.h:203:93: error: 'CayenneTopic' has not been declared
DLLExport int CayenneMQTTPublishDataArray(CayenneMQTTClient* client, const char* clientID, CayenneTopic topic, unsigned int channel, const char* type, const CayenneValuePair* values, size_t valueCount);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTClient/CayenneMQTTClient.h:224:86: error: 'CayenneTopic' has not been declared
DLLExport int CayenneMQTTSubscribe(CayenneMQTTClient* client, const char* clientID, CayenneTopic topic, unsigned int channel, CayenneMessageHandler handler);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTClient/CayenneMQTTClient.h:234:88: error: 'CayenneTopic' has not been declared
DLLExport int CayenneMQTTUnsubscribe(CayenneMQTTClient* client, const char* clientID, CayenneTopic topic, unsigned int channel);
^
In file included from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:21:0,
from C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:12:
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:45:13: error: 'Client' has not been declared
void begin(Client& client, const char* username, const char* password, const char* clientID, int chunkSize = 0) {
^
In file included from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:21:0,
from C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:12:
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:215:27: error: 'CayenneTopic' has not been declared
static void publishState(CayenneTopic topic, unsigned int channel, const T& value)
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:350:26: error: 'CayenneTopic' has not been declared
static void publishData(CayenneTopic topic, unsigned int channel, const T& data, const char* key = NULL, const char* subkey = NULL) {
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:364:26: error: 'CayenneTopic' has not been declared
static void publishData(CayenneTopic topic, unsigned int channel, const CayenneValuePair values[], size_t valueCount, const char* key) {
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:379:26: error: 'CayenneTopic' has not been declared
static void publishData(CayenneTopic topic, unsigned int channel, const T& data, const __FlashStringHelper* key, const __FlashStringHelper* subkey = NULL) {
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:395:26: error: 'CayenneTopic' has not been declared
static void publishData(CayenneTopic topic, unsigned int channel, const CayenneValuePair values[], size_t valueCount, const __FlashStringHelper* key) {
^
In file included from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:21:0,
from C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:12:
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h: In member function 'void CayenneArduinoMQTTClient::connect()':
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:72:44: error: 'COMMAND_TOPIC' was not declared in this scope
CayenneMQTTSubscribe(&_mqttClient, NULL, COMMAND_TOPIC, CAYENNE_ALL_CHANNELS, NULL);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h: In member function 'void CayenneArduinoMQTTClient::publishDeviceInfo()':
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:128:15: error: 'SYS_MODEL_TOPIC' was not declared in this scope
publishData(SYS_MODEL_TOPIC, CAYENNE_NO_CHANNEL, CAYENNE_FLASH(INFO_DEVICE));
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:131:15: error: 'SYS_CPU_MODEL_TOPIC' was not declared in this scope
publishData(SYS_CPU_MODEL_TOPIC, CAYENNE_NO_CHANNEL, CAYENNE_FLASH(INFO_CPU));
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:133:15: error: 'SYS_CPU_SPEED_TOPIC' was not declared in this scope
publishData(SYS_CPU_SPEED_TOPIC, CAYENNE_NO_CHANNEL, F_CPU);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:134:15: error: 'SYS_VERSION_TOPIC' was not declared in this scope
publishData(SYS_VERSION_TOPIC, CAYENNE_NO_CHANNEL, CAYENNE_FLASH(CAYENNE_LIBRARY_VERSION));
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h: In member function 'void CayenneArduinoMQTTClient::virtualWrite(unsigned int, const T&, const char*, const char*)':
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:151:15: error: 'DATA_TOPIC' was not declared in this scope
publishData(DATA_TOPIC, channel, data, type, unit);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h: In member function 'void CayenneArduinoMQTTClient::virtualWrite(unsigned int, const CayenneDataArray&, const char*)':
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:163:15: error: 'DATA_TOPIC' was not declared in this scope
publishData(DATA_TOPIC, channel, values.getArray(), values.getCount(), type);
^
In file included from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:21:0,
from C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:12:
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h: In member function 'void CayenneArduinoMQTTClient::virtualWrite(unsigned int, const T&, const __FlashStringHelper*, const __FlashStringHelper*)':
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:178:15: error: 'DATA_TOPIC' was not declared in this scope
publishData(DATA_TOPIC, channel, data, type, unit);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h: In member function 'void CayenneArduinoMQTTClient::virtualWrite(unsigned int, const CayenneDataArray&, const __FlashStringHelper*)':
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:190:15: error: 'DATA_TOPIC' was not declared in this scope
publishData(DATA_TOPIC, channel, values.getArray(), values.getCount(), type);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h: In function 'void handleMessage(CayenneMessageData*)':
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:493:42: error: 'DATA_TOPIC' was not declared in this scope
CayenneArduinoMQTTClient::publishState(DATA_TOPIC, messageData->channel, messageData->values[0].value);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h: In function 'void CayenneMessageArrived(CayenneMessageData*)':
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:539:19: error: 'CayenneMessageData {aka struct CayenneMessageData}' has no member named 'topic'
switch (message->topic)
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:541:7: error: 'COMMAND_TOPIC' was not declared in this scope
case COMMAND_TOPIC:
^
In file included from C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:12:0:
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h: At global scope:
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:56:79: error: 'IPAddress' has not been declared
void begin(const char* username, const char* password, const char* clientID, IPAddress local, const byte mac[] = NULL)
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:75:79: error: 'IPAddress' has not been declared
void begin(const char* username, const char* password, const char* clientID, IPAddress local, IPAddress dns, IPAddress gateway, IPAddress subnet, const byte mac[] = NULL)
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:75:96: error: 'IPAddress' has not been declared
void begin(const char* username, const char* password, const char* clientID, IPAddress local, IPAddress dns, IPAddress gateway, IPAddress subnet, const byte mac[] = NULL)
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:75:111: error: 'IPAddress' has not been declared
void begin(const char* username, const char* password, const char* clientID, IPAddress local, IPAddress dns, IPAddress gateway, IPAddress subnet, const byte mac[] = NULL)
^
In file included from C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:12:0:
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:75:130: error: 'IPAddress' has not been declared
void begin(const char* username, const char* password, const char* clientID, IPAddress local, IPAddress dns, IPAddress gateway, IPAddress subnet, const byte mac[] = NULL)
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:115:2: error: 'EthernetClient' does not name a type
EthernetClient _ethernetClient;
^
In file included from C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:12:0:
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h: In member function 'void CayenneMQTTEthernetClient::begin(const char*, const char*, const char*, const byte*)':
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:39:11: error: 'Ethernet' was not declared in this scope
while (!Ethernet.begin(macAddress)) {
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:43:3: error: 'IPAddress' was not declared in this scope
IPAddress local_ip = Ethernet.localIP();
^
In file included from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:21:0,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:21,
from C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:12:
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:44:34: error: 'local_ip' was not declared in this scope
CAYENNE_LOG("IP: %d.%d.%d.%d", local_ip[0], local_ip[1], local_ip[2], local_ip[3]);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:116:65: note: in definition of macro 'CAYENNE_LOG'
#define CAYENNE_LOG(message, ...) log(CAYENNE_PSTR(message), ##__VA_ARGS__)
^
In file included from C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:12:0:
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:45:35: error: '_ethernetClient' was not declared in this scope
CayenneArduinoMQTTClient::begin(_ethernetClient, username, password, clientID);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h: In member function 'void CayenneMQTTEthernetClient::begin(const char*, const char*, const char*, int, const byte*)':
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:58:3: error: 'Ethernet' was not declared in this scope
Ethernet.begin((byte*)GetMACAddress(clientID, mac), local);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:59:3: error: 'IPAddress' was not declared in this scope
IPAddress local_ip = Ethernet.localIP();
^
In file included from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:21:0,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:21,
from C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:12:
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:60:34: error: 'local_ip' was not declared in this scope
CAYENNE_LOG("IP: %d.%d.%d.%d", local_ip[0], local_ip[1], local_ip[2], local_ip[3]);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:116:65: note: in definition of macro 'CAYENNE_LOG'
#define CAYENNE_LOG(message, ...) log(CAYENNE_PSTR(message), ##__VA_ARGS__)
^
In file included from C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:12:0:
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:61:35: error: '_ethernetClient' was not declared in this scope
CayenneArduinoMQTTClient::begin(_ethernetClient, username, password, clientID);
^
In file included from C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:12:0:
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h: In member function 'void CayenneMQTTEthernetClient::begin(const char*, const char*, const char*, int, int, int, int, const byte*)':
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:77:3: error: 'Ethernet' was not declared in this scope
Ethernet.begin((byte*)GetMACAddress(clientID, mac), local, dns, gateway, subnet);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:78:3: error: 'IPAddress' was not declared in this scope
IPAddress local_ip = Ethernet.localIP();
^
In file included from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:21:0,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:21,
from C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:12:
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:79:34: error: 'local_ip' was not declared in this scope
CAYENNE_LOG("IP: %d.%d.%d.%d", local_ip[0], local_ip[1], local_ip[2], local_ip[3]);
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:116:65: note: in definition of macro 'CAYENNE_LOG'
#define CAYENNE_LOG(message, ...) log(CAYENNE_PSTR(message), ##__VA_ARGS__)
^
In file included from C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:12:0:
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:80:35: error: '_ethernetClient' was not declared in this scope
CayenneArduinoMQTTClient::begin(_ethernetClient, username, password, clientID);
^
C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino: At global scope:
sketchjanvier2019:24:1: error: 'boucle' does not name a type
boucle vide () {
^
C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino: In function 'void setup()':
sketchjanvier2019:20:3: error: 'En' was not declared in this scope
En série. commencer ( 9600 );
^
sketchjanvier2019:21:12: error: 'class CayenneMQTTEthernetClient' has no member named 'commencer'
Cayenne. commencer (nom d'utilisateur, mot de passe, ID client);
^
sketchjanvier2019:21:23: error: 'nom' was not declared in this scope
Cayenne. commencer (nom d'utilisateur, mot de passe, ID client);
^
C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino: At global scope:
sketchjanvier2019:24:2: error: 'boucle' does not name a type
boucle vide () {
^
In file included from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:21:0,
from C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneMQTTEthernetClient.h:21,
from C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino:12:
C:\Users\s819041\Documents\Arduino\sketchjanvier2019\sketchjanvier2019.ino: In function 'void InputHandlerDefault(Request&, CayenneMessage&)':
sketchjanvier2019:44:43: error: 'requ' was not declared in this scope
CAYENNE_LOG ( " Canal% u, valeur% s " , requête. Canal , getValue. AsString ());
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:116:65: note: in definition of macro 'CAYENNE_LOG'
#define CAYENNE_LOG(message, ...) log(CAYENNE_PSTR(message), ##__VA_ARGS__)
^
sketchjanvier2019:44:71: error: 'class CayenneMessage' has no member named 'AsString'
CAYENNE_LOG ( " Canal% u, valeur% s " , requête. Canal , getValue. AsString ());
^
C:\Users\s819041\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoDefines.h:116:65: note: in definition of macro 'CAYENNE_LOG'
#define CAYENNE_LOG(message, ...) log(CAYENNE_PSTR(message), ##__VA_ARGS__)
^
exit status 1
stray '\303' in program
Ce rapport pourrait être plus détaillé avec
l'option "Afficher les résultats détaillés de la compilation"
activée dans Fichier -> Préférences.