MQTT client to test the ENC28J60-EMAC on NUCLEO-F446RE.

Dependencies:   ENC28J60-EMAC

Committer:
hudakz
Date:
Fri Mar 26 16:15:14 2021 +0000
Revision:
0:238f0d0c0ba3
MQTT client to test the ENC28J60-EMAC on NUCLEO-F446RE.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hudakz 0:238f0d0c0ba3 1 /*******************************************************************************
hudakz 0:238f0d0c0ba3 2 * Copyright (c) 2014 IBM Corp.
hudakz 0:238f0d0c0ba3 3 *
hudakz 0:238f0d0c0ba3 4 * All rights reserved. This program and the accompanying materials
hudakz 0:238f0d0c0ba3 5 * are made available under the terms of the Eclipse Public License v1.0
hudakz 0:238f0d0c0ba3 6 * and Eclipse Distribution License v1.0 which accompany this distribution.
hudakz 0:238f0d0c0ba3 7 *
hudakz 0:238f0d0c0ba3 8 * The Eclipse Public License is available at
hudakz 0:238f0d0c0ba3 9 * http://www.eclipse.org/legal/epl-v10.html
hudakz 0:238f0d0c0ba3 10 * and the Eclipse Distribution License is available at
hudakz 0:238f0d0c0ba3 11 * http://www.eclipse.org/org/documents/edl-v10.php.
hudakz 0:238f0d0c0ba3 12 *
hudakz 0:238f0d0c0ba3 13 * Contributors:
hudakz 0:238f0d0c0ba3 14 * Ian Craggs - initial API and implementation and/or initial documentation
hudakz 0:238f0d0c0ba3 15 *******************************************************************************/
hudakz 0:238f0d0c0ba3 16
hudakz 0:238f0d0c0ba3 17 #ifndef MQTTUNSUBSCRIBE_H_
hudakz 0:238f0d0c0ba3 18 #define MQTTUNSUBSCRIBE_H_
hudakz 0:238f0d0c0ba3 19
hudakz 0:238f0d0c0ba3 20 int MQTTSerialize_unsubscribe(unsigned char* buf, int buflen, unsigned char dup, unsigned short packetid,
hudakz 0:238f0d0c0ba3 21 int count, MQTTString topicFilters[]);
hudakz 0:238f0d0c0ba3 22
hudakz 0:238f0d0c0ba3 23 int MQTTDeserialize_unsubscribe(unsigned char* dup, unsigned short* packetid, int max_count, int* count, MQTTString topicFilters[],
hudakz 0:238f0d0c0ba3 24 unsigned char* buf, int len);
hudakz 0:238f0d0c0ba3 25
hudakz 0:238f0d0c0ba3 26 int MQTTSerialize_unsuback(unsigned char* buf, int buflen, unsigned short packetid);
hudakz 0:238f0d0c0ba3 27
hudakz 0:238f0d0c0ba3 28 int MQTTDeserialize_unsuback(unsigned short* packetid, unsigned char* buf, int len);
hudakz 0:238f0d0c0ba3 29
hudakz 0:238f0d0c0ba3 30 #endif /* MQTTUNSUBSCRIBE_H_ */