Low level MQTTSN packet library, part of the Eclipse Paho project: http://eclipse.org/paho

Dependents:   MQTTSN sara-n200-hello-mqtt-sn MQTTSN_2

The master source for this project is held at: https://github.com/eclipse/paho.mqtt-sn.embedded-c

Committer:
icraggs
Date:
Wed Jan 06 14:19:27 2016 +0000
Revision:
1:7fa362fa563f
Parent:
0:c524a894b5e8
Internal function name changes to avoid name clashes

Who changed what in which revision?

UserRevisionLine numberNew contents of line
icraggs 0:c524a894b5e8 1 /*******************************************************************************
icraggs 0:c524a894b5e8 2 * Copyright (c) 2014 IBM Corp.
icraggs 0:c524a894b5e8 3 *
icraggs 0:c524a894b5e8 4 * All rights reserved. This program and the accompanying materials
icraggs 0:c524a894b5e8 5 * are made available under the terms of the Eclipse Public License v1.0
icraggs 0:c524a894b5e8 6 * and Eclipse Distribution License v1.0 which accompany this distribution.
icraggs 0:c524a894b5e8 7 *
icraggs 0:c524a894b5e8 8 * The Eclipse Public License is available at
icraggs 0:c524a894b5e8 9 * http://www.eclipse.org/legal/epl-v10.html
icraggs 0:c524a894b5e8 10 * and the Eclipse Distribution License is available at
icraggs 0:c524a894b5e8 11 * http://www.eclipse.org/org/documents/edl-v10.php.
icraggs 0:c524a894b5e8 12 *
icraggs 0:c524a894b5e8 13 * Contributors:
icraggs 0:c524a894b5e8 14 * Ian Craggs - initial API and implementation and/or initial documentation
icraggs 0:c524a894b5e8 15 *******************************************************************************/
icraggs 0:c524a894b5e8 16
icraggs 0:c524a894b5e8 17 #if !defined(MQTTSNUNSUBSCRIBE_H_)
icraggs 0:c524a894b5e8 18 #define MQTTSNUNSUBSCRIBE_H_
icraggs 0:c524a894b5e8 19
icraggs 0:c524a894b5e8 20 int MQTTSNSerialize_unsubscribe(unsigned char* buf, int buflen,
icraggs 0:c524a894b5e8 21 unsigned short packetid, MQTTSN_topicid* topicFilter);
icraggs 0:c524a894b5e8 22 int MQTTSNDeserialize_unsubscribe(unsigned short* packetid, MQTTSN_topicid* topicFilter,
icraggs 0:c524a894b5e8 23 unsigned char* buf, int buflen);
icraggs 0:c524a894b5e8 24
icraggs 0:c524a894b5e8 25 int MQTTSNSerialize_unsuback(unsigned char* buf, int buflen, unsigned short packetid);
icraggs 0:c524a894b5e8 26 int MQTTSNDeserialize_unsuback(unsigned short* packetid, unsigned char* buf, int buflen);
icraggs 0:c524a894b5e8 27
icraggs 0:c524a894b5e8 28 #endif /* MQTTSNUNSUBSCRIBE_H_ */
icraggs 0:c524a894b5e8 29