mbed OS5に対応したMilkcocoaライブラリのテストバージョンです。

Fork of mbed-os-example-mbed5-blinky by mbed-os-examples

Committer:
jksoft
Date:
Tue Jan 24 13:41:36 2017 +0000
Revision:
24:6ba1245bf049
??????????

Who changed what in which revision?

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