Demo application for using the AT&T IoT Starter Kit Powered by AWS.
Dependencies: SDFileSystem
Fork of ATT_AWS_IoT_demo by
MQTTSubscribe.h
00001 /******************************************************************************* 00002 * Copyright (c) 2014 IBM Corp. 00003 * 00004 * All rights reserved. This program and the accompanying materials 00005 * are made available under the terms of the Eclipse Public License v1.0 00006 * and Eclipse Distribution License v1.0 which accompany this distribution. 00007 * 00008 * The Eclipse Public License is available at 00009 * http://www.eclipse.org/legal/epl-v10.html 00010 * and the Eclipse Distribution License is available at 00011 * http://www.eclipse.org/org/documents/edl-v10.php. 00012 * 00013 * Contributors: 00014 * Ian Craggs - initial API and implementation and/or initial documentation 00015 * Xiang Rong - 442039 Add makefile to Embedded C client 00016 *******************************************************************************/ 00017 00018 #ifndef MQTTSUBSCRIBE_H_ 00019 #define MQTTSUBSCRIBE_H_ 00020 00021 #if !defined(DLLImport) 00022 #define DLLImport 00023 #endif 00024 #if !defined(DLLExport) 00025 #define DLLExport 00026 #endif 00027 00028 DLLExport MQTTReturnCode MQTTSerialize_subscribe(unsigned char *buf, size_t buflen, 00029 unsigned char dup, uint16_t packetid, uint32_t count, 00030 MQTTString topicFilters[], QoS requestedQoSs[], 00031 uint32_t *serialized_len); 00032 00033 DLLExport MQTTReturnCode MQTTDeserialize_suback(uint16_t *packetid, uint32_t maxcount, 00034 uint32_t *count, QoS grantedQoSs[], 00035 unsigned char* buf, size_t buflen); 00036 00037 00038 #endif /* MQTTSUBSCRIBE_H_ */ 00039 00040
Generated on Tue Jul 12 2022 22:13:21 by 1.7.2