Skip to content
Snippets Groups Projects
Commit 0ef3575d authored by Anian Bühler's avatar Anian Bühler
Browse files

keyword update

parent 059eb439
No related branches found
No related tags found
2 merge requests!3Dev to master,!2Dev to Master
......@@ -41,7 +41,8 @@ int psnClient.subscribe(char* topic);
int psnClient.subscribe(char* topic, int length);
// param1: Topic String/char-Array
// param2: Anzahl Zeichen des Topics
// return ERROR-Wert: DN_ERROR_NOERROR, DN_ERROR_TOPIC_LEN (Topic zu lang - wird abgeschnitten)
// return ERROR-Wert: DN_ERROR_NO_ERROR,
// DN_ERROR_TOPIC_LEN (Topic zu lang - wird abgeschnitten)
#Topic eines anderen Clients entfernen
bool psnClient.unsubscribe(char* topic);
......@@ -60,7 +61,8 @@ int psnClient.publish(char* topic, int topicLength, char* payload, int payloadLe
// param2: Anzahl Zeichen des Topics
// param3: payload-char-Array
// param4: Anzahl Zeichen der Payload
// return: ERROR-Wert: DN_ERROR_NOERROR, DN_ERROR_TOPIC_LEN,
// return: ERROR-Wert: DN_ERROR_NO_ERROR,
// DN_ERROR_TOPIC_LEN (Topic zu lang - wird abgeschnitten),
// DN_ERROR_PAYLOAD_LEN (Payload zu lange - wird abgeschnitten)
#Callback-Funktion (wird bei neuen Daten aufgerufen)
......
......@@ -46,6 +46,6 @@ MAX_LEN_PAYLOAD LITERAL1
DN_ASCII_CR LITERAL1
DN_ASCII_NL LITERAL1
DN_ERROR_NOERROR LITERAL1
DN_ERROR_NO_ERROR LITERAL1
DN_ERROR_TOPIC_LEN LITERAL1
DN_ERROR_PAYLOAD_LEN LITERAL1
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment