【mbed OS5対応バージョン】データの保存、更新、取得ができるWebサービス「milkcocoa」に接続し、データのプッシュ、送信、取得ができるライブラリです。 https://mlkcca.com/
Dependents: mbed-os-example-wifi-milkcocoa MilkcocoaOsSample_Eth MilkcocoaOsSample_ESP8266 MilkcocoaOsSample_Eth_DigitalIn
MQTT/MQTTPacket/MQTTSubscribe.h@13:61e0cc093180, 2018-03-26 (annotated)
- Committer:
- jksoft
- Date:
- Mon Mar 26 04:49:20 2018 +0000
- Revision:
- 13:61e0cc093180
- Parent:
- 0:0a2f634d3324
???????????
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jksoft | 0:0a2f634d3324 | 1 | /******************************************************************************* |
jksoft | 0:0a2f634d3324 | 2 | * Copyright (c) 2014 IBM Corp. |
jksoft | 0:0a2f634d3324 | 3 | * |
jksoft | 0:0a2f634d3324 | 4 | * All rights reserved. This program and the accompanying materials |
jksoft | 0:0a2f634d3324 | 5 | * are made available under the terms of the Eclipse Public License v1.0 |
jksoft | 0:0a2f634d3324 | 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. |
jksoft | 0:0a2f634d3324 | 7 | * |
jksoft | 0:0a2f634d3324 | 8 | * The Eclipse Public License is available at |
jksoft | 0:0a2f634d3324 | 9 | * http://www.eclipse.org/legal/epl-v10.html |
jksoft | 0:0a2f634d3324 | 10 | * and the Eclipse Distribution License is available at |
jksoft | 0:0a2f634d3324 | 11 | * http://www.eclipse.org/org/documents/edl-v10.php. |
jksoft | 0:0a2f634d3324 | 12 | * |
jksoft | 0:0a2f634d3324 | 13 | * Contributors: |
jksoft | 0:0a2f634d3324 | 14 | * Ian Craggs - initial API and implementation and/or initial documentation |
jksoft | 0:0a2f634d3324 | 15 | *******************************************************************************/ |
jksoft | 0:0a2f634d3324 | 16 | |
jksoft | 0:0a2f634d3324 | 17 | #ifndef MQTTSUBSCRIBE_H_ |
jksoft | 0:0a2f634d3324 | 18 | #define MQTTSUBSCRIBE_H_ |
jksoft | 0:0a2f634d3324 | 19 | |
jksoft | 0:0a2f634d3324 | 20 | int MQTTSerialize_subscribe(unsigned char* buf, int buflen, unsigned char dup, unsigned short packetid, |
jksoft | 0:0a2f634d3324 | 21 | int count, MQTTString topicFilters[], int requestedQoSs[]); |
jksoft | 0:0a2f634d3324 | 22 | |
jksoft | 0:0a2f634d3324 | 23 | int MQTTDeserialize_subscribe(unsigned char* dup, unsigned short* packetid, |
jksoft | 0:0a2f634d3324 | 24 | int maxcount, int* count, MQTTString topicFilters[], int requestedQoSs[], unsigned char* buf, int len); |
jksoft | 0:0a2f634d3324 | 25 | |
jksoft | 0:0a2f634d3324 | 26 | int MQTTSerialize_suback(unsigned char* buf, int buflen, unsigned short packetid, int count, int* grantedQoSs); |
jksoft | 0:0a2f634d3324 | 27 | |
jksoft | 0:0a2f634d3324 | 28 | int MQTTDeserialize_suback(unsigned short* packetid, int maxcount, int* count, int grantedQoSs[], unsigned char* buf, int len); |
jksoft | 0:0a2f634d3324 | 29 | |
jksoft | 0:0a2f634d3324 | 30 | |
jksoft | 0:0a2f634d3324 | 31 | #endif /* MQTTSUBSCRIBE_H_ */ |