react-native-gizwits-sdk-v5 1.5.6-thirdbluetooth → 1.5.7-thirdbluetooth
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/react-native-gizwits-sdk-v5.podspec +2 -2
- package/ios/GizwitsiOSSDK.framework/GizwitsiOSSDK +0 -0
- package/ios/GizwitsiOSSDK.framework/Headers/CocoaAsyncSocket.h +0 -18
- package/ios/GizwitsiOSSDK.framework/Headers/DDASLLogger.h +0 -41
- package/ios/GizwitsiOSSDK.framework/Headers/DDAbstractDatabaseLogger.h +0 -102
- package/ios/GizwitsiOSSDK.framework/Headers/DDContextFilterLogFormatter.h +0 -63
- package/ios/GizwitsiOSSDK.framework/Headers/DDDispatchQueueLogFormatter.h +0 -128
- package/ios/GizwitsiOSSDK.framework/Headers/DDFileLogger.h +0 -340
- package/ios/GizwitsiOSSDK.framework/Headers/DDLog+LOGV.h +0 -99
- package/ios/GizwitsiOSSDK.framework/Headers/DDLog.h +0 -632
- package/ios/GizwitsiOSSDK.framework/Headers/DDMultiFormatter.h +0 -30
- package/ios/GizwitsiOSSDK.framework/Headers/DDTTYLogger.h +0 -171
- package/ios/GizwitsiOSSDK.framework/Headers/ESPAES.h +0 -19
- package/ios/GizwitsiOSSDK.framework/Headers/ESPDataCode.h +0 -44
- package/ios/GizwitsiOSSDK.framework/Headers/ESPDatumCode.h +0 -38
- package/ios/GizwitsiOSSDK.framework/Headers/ESPGuideCode.h +0 -15
- package/ios/GizwitsiOSSDK.framework/Headers/ESPTools.h +0 -22
- package/ios/GizwitsiOSSDK.framework/Headers/ESPTouch.h +0 -36
- package/ios/GizwitsiOSSDK.framework/Headers/ESPTouchDelegate.h +0 -24
- package/ios/GizwitsiOSSDK.framework/Headers/ESPTouchGenerator.h +0 -46
- package/ios/GizwitsiOSSDK.framework/Headers/ESPTouchResult.h +0 -36
- package/ios/GizwitsiOSSDK.framework/Headers/ESPTouchTask.h +0 -124
- package/ios/GizwitsiOSSDK.framework/Headers/ESPTouchTaskParameter.h +0 -173
- package/ios/GizwitsiOSSDK.framework/Headers/ESPUDPSocketClient.h +0 -50
- package/ios/GizwitsiOSSDK.framework/Headers/ESPUDPSocketServer.h +0 -49
- package/ios/GizwitsiOSSDK.framework/Headers/ESP_ByteUtil.h +0 -128
- package/ios/GizwitsiOSSDK.framework/Headers/ESP_CRC8.h +0 -61
- package/ios/GizwitsiOSSDK.framework/Headers/ESP_NetUtil.h +0 -82
- package/ios/GizwitsiOSSDK.framework/Headers/ESP_WifiUtil.h +0 -33
- package/ios/GizwitsiOSSDK.framework/Headers/ForegroundReconnection.h +0 -23
- package/ios/GizwitsiOSSDK.framework/Headers/GCDTimer.h +0 -19
- package/ios/GizwitsiOSSDK.framework/Headers/GizwitsiOSSDK-Swift.h +0 -338
- package/ios/GizwitsiOSSDK.framework/Headers/GizwitsiOSSDK.h +0 -24
- package/ios/GizwitsiOSSDK.framework/Headers/MQTTClient.h +0 -39
- package/ios/GizwitsiOSSDK.framework/Headers/MQTTInMemoryPersistence.h +0 -16
- package/ios/GizwitsiOSSDK.framework/Headers/MQTTSSLSecurityPolicyDecoder.h +0 -19
- package/ios/GizwitsiOSSDK.framework/Headers/MQTTSSLSecurityPolicyEncoder.h +0 -18
- package/ios/GizwitsiOSSDK.framework/Headers/MQTTSessionLegacy.h +0 -112
- package/ios/GizwitsiOSSDK.framework/Headers/MQTTSessionSynchron.h +0 -194
- package/ios/GizwitsiOSSDK.framework/Headers/MQTTStrict.h +0 -33
- package/ios/GizwitsiOSSDK.framework/Headers/MQTTUntil.h +0 -14
- package/ios/GizwitsiOSSDK.framework/Headers/ReconnectTimer.h +0 -21
- package/ios/GizwitsiOSSDK.framework/Headers/_GCDAsyncSocket.h +0 -1226
- package/ios/GizwitsiOSSDK.framework/Headers/_GCDAsyncUdpSocket.h +0 -1036
- package/ios/GizwitsiOSSDK.framework/Headers/_GizwitsParser.h +0 -61
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTCFSocketDecoder.h +0 -39
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTCFSocketEncoder.h +0 -38
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTCFSocketTransport.h +0 -79
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTCoreDataPersistence.h +0 -21
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTDecoder.h +0 -66
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTLog.h +0 -123
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTMessage.h +0 -233
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTPersistence.h +0 -124
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTProperties.h +0 -76
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTSSLSecurityPolicy.h +0 -158
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTSSLSecurityPolicyTransport.h +0 -30
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTSession.h +0 -886
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTSessionManager.h +0 -237
- package/ios/GizwitsiOSSDK.framework/Headers/_MQTTTransport.h +0 -114
- package/ios/GizwitsiOSSDK.framework/Headers/_SSZipArchive.h +0 -178
- package/ios/GizwitsiOSSDK.framework/Headers/_SSZipCommon.h +0 -71
- package/ios/GizwitsiOSSDK.framework/Headers/_ZipArchive.h +0 -26
- package/ios/GizwitsiOSSDK.framework/Headers/a_weighting.h +0 -88
- package/ios/GizwitsiOSSDK.framework/Headers/aubio.h +0 -231
- package/ios/GizwitsiOSSDK.framework/Headers/audio_unit.h +0 -61
- package/ios/GizwitsiOSSDK.framework/Headers/awhitening.h +0 -125
- package/ios/GizwitsiOSSDK.framework/Headers/beattracking.h +0 -121
- package/ios/GizwitsiOSSDK.framework/Headers/biquad.h +0 -75
- package/ios/GizwitsiOSSDK.framework/Headers/c_weighting.h +0 -88
- package/ios/GizwitsiOSSDK.framework/Headers/common.h +0 -104
- package/ios/GizwitsiOSSDK.framework/Headers/cvec.h +0 -247
- package/ios/GizwitsiOSSDK.framework/Headers/dct.h +0 -85
- package/ios/GizwitsiOSSDK.framework/Headers/fft.h +0 -144
- package/ios/GizwitsiOSSDK.framework/Headers/filter.h +0 -176
- package/ios/GizwitsiOSSDK.framework/Headers/filterbank.h +0 -90
- package/ios/GizwitsiOSSDK.framework/Headers/filterbank_mel.h +0 -72
- package/ios/GizwitsiOSSDK.framework/Headers/fmat.h +0 -172
- package/ios/GizwitsiOSSDK.framework/Headers/fvec.h +0 -178
- package/ios/GizwitsiOSSDK.framework/Headers/hist.h +0 -63
- package/ios/GizwitsiOSSDK.framework/Headers/ioutils.h +0 -60
- package/ios/GizwitsiOSSDK.framework/Headers/log.h +0 -99
- package/ios/GizwitsiOSSDK.framework/Headers/lvec.h +0 -118
- package/ios/GizwitsiOSSDK.framework/Headers/mathutils.h +0 -330
- package/ios/GizwitsiOSSDK.framework/Headers/mfcc.h +0 -79
- package/ios/GizwitsiOSSDK.framework/Headers/musicutils.h +0 -171
- package/ios/GizwitsiOSSDK.framework/Headers/notes.h +0 -113
- package/ios/GizwitsiOSSDK.framework/Headers/onset.h +0 -347
- package/ios/GizwitsiOSSDK.framework/Headers/parameter.h +0 -159
- package/ios/GizwitsiOSSDK.framework/Headers/peakpicker.h +0 -57
- package/ios/GizwitsiOSSDK.framework/Headers/phasevoc.h +0 -112
- package/ios/GizwitsiOSSDK.framework/Headers/pitch.h +0 -197
- package/ios/GizwitsiOSSDK.framework/Headers/pitchfcomb.h +0 -76
- package/ios/GizwitsiOSSDK.framework/Headers/pitchmcomb.h +0 -77
- package/ios/GizwitsiOSSDK.framework/Headers/pitchschmitt.h +0 -75
- package/ios/GizwitsiOSSDK.framework/Headers/pitchspecacf.h +0 -103
- package/ios/GizwitsiOSSDK.framework/Headers/pitchyin.h +0 -100
- package/ios/GizwitsiOSSDK.framework/Headers/pitchyinfast.h +0 -102
- package/ios/GizwitsiOSSDK.framework/Headers/pitchyinfft.h +0 -99
- package/ios/GizwitsiOSSDK.framework/Headers/resampler.h +0 -65
- package/ios/GizwitsiOSSDK.framework/Headers/sampler.h +0 -140
- package/ios/GizwitsiOSSDK.framework/Headers/scale.h +0 -80
- package/ios/GizwitsiOSSDK.framework/Headers/sink.h +0 -181
- package/ios/GizwitsiOSSDK.framework/Headers/sink_apple_audio.h +0 -163
- package/ios/GizwitsiOSSDK.framework/Headers/sink_sndfile.h +0 -162
- package/ios/GizwitsiOSSDK.framework/Headers/sink_wavwrite.h +0 -162
- package/ios/GizwitsiOSSDK.framework/Headers/source.h +0 -184
- package/ios/GizwitsiOSSDK.framework/Headers/source_apple_audio.h +0 -156
- package/ios/GizwitsiOSSDK.framework/Headers/source_avcodec.h +0 -155
- package/ios/GizwitsiOSSDK.framework/Headers/source_sndfile.h +0 -155
- package/ios/GizwitsiOSSDK.framework/Headers/source_wavread.h +0 -160
- package/ios/GizwitsiOSSDK.framework/Headers/specdesc.h +0 -204
- package/ios/GizwitsiOSSDK.framework/Headers/tempo.h +0 -255
- package/ios/GizwitsiOSSDK.framework/Headers/tss.h +0 -103
- package/ios/GizwitsiOSSDK.framework/Headers/types.h +0 -70
- package/ios/GizwitsiOSSDK.framework/Headers/vecutils.h +0 -116
- package/ios/GizwitsiOSSDK.framework/Headers/wavetable.h +0 -178
- package/ios/GizwitsiOSSDK.framework/Info.plist +0 -0
- package/ios/GizwitsiOSSDK.framework/LICENSE +0 -17
- package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/arm64-apple-ios.abi.json +0 -57489
- package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -1752
- package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/arm64-apple-ios.swiftinterface +0 -1752
- package/ios/GizwitsiOSSDK.framework/Modules/GizwitsiOSSDK.swiftmodule/arm64-apple-ios.swiftmodule +0 -0
- package/ios/GizwitsiOSSDK.framework/Modules/module.modulemap +0 -11
- package/ios/GizwitsiOSSDK.framework/PrivacyInfo.xcprivacy +0 -23
- package/ios/GizwitsiOSSDK.framework/README.md +0 -31
|
@@ -1,338 +0,0 @@
|
|
|
1
|
-
#if 0
|
|
2
|
-
#elif defined(__arm64__) && __arm64__
|
|
3
|
-
// Generated by Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
|
|
4
|
-
#ifndef GIZWITSIOSSDK_SWIFT_H
|
|
5
|
-
#define GIZWITSIOSSDK_SWIFT_H
|
|
6
|
-
#pragma clang diagnostic push
|
|
7
|
-
#pragma clang diagnostic ignored "-Wgcc-compat"
|
|
8
|
-
|
|
9
|
-
#if !defined(__has_include)
|
|
10
|
-
# define __has_include(x) 0
|
|
11
|
-
#endif
|
|
12
|
-
#if !defined(__has_attribute)
|
|
13
|
-
# define __has_attribute(x) 0
|
|
14
|
-
#endif
|
|
15
|
-
#if !defined(__has_feature)
|
|
16
|
-
# define __has_feature(x) 0
|
|
17
|
-
#endif
|
|
18
|
-
#if !defined(__has_warning)
|
|
19
|
-
# define __has_warning(x) 0
|
|
20
|
-
#endif
|
|
21
|
-
|
|
22
|
-
#if __has_include(<swift/objc-prologue.h>)
|
|
23
|
-
# include <swift/objc-prologue.h>
|
|
24
|
-
#endif
|
|
25
|
-
|
|
26
|
-
#pragma clang diagnostic ignored "-Wauto-import"
|
|
27
|
-
#if defined(__OBJC__)
|
|
28
|
-
#include <Foundation/Foundation.h>
|
|
29
|
-
#endif
|
|
30
|
-
#if defined(__cplusplus)
|
|
31
|
-
#include <cstdint>
|
|
32
|
-
#include <cstddef>
|
|
33
|
-
#include <cstdbool>
|
|
34
|
-
#include <cstring>
|
|
35
|
-
#include <stdlib.h>
|
|
36
|
-
#include <new>
|
|
37
|
-
#include <type_traits>
|
|
38
|
-
#else
|
|
39
|
-
#include <stdint.h>
|
|
40
|
-
#include <stddef.h>
|
|
41
|
-
#include <stdbool.h>
|
|
42
|
-
#include <string.h>
|
|
43
|
-
#endif
|
|
44
|
-
#if defined(__cplusplus)
|
|
45
|
-
#pragma clang diagnostic push
|
|
46
|
-
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
|
|
47
|
-
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
|
48
|
-
# include <ptrauth.h>
|
|
49
|
-
#else
|
|
50
|
-
#pragma clang diagnostic push
|
|
51
|
-
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
|
52
|
-
# ifndef __ptrauth_swift_value_witness_function_pointer
|
|
53
|
-
# define __ptrauth_swift_value_witness_function_pointer(x)
|
|
54
|
-
# endif
|
|
55
|
-
# ifndef __ptrauth_swift_class_method_pointer
|
|
56
|
-
# define __ptrauth_swift_class_method_pointer(x)
|
|
57
|
-
# endif
|
|
58
|
-
#pragma clang diagnostic pop
|
|
59
|
-
#endif
|
|
60
|
-
#pragma clang diagnostic pop
|
|
61
|
-
#endif
|
|
62
|
-
|
|
63
|
-
#if !defined(SWIFT_TYPEDEFS)
|
|
64
|
-
# define SWIFT_TYPEDEFS 1
|
|
65
|
-
# if __has_include(<uchar.h>)
|
|
66
|
-
# include <uchar.h>
|
|
67
|
-
# elif !defined(__cplusplus)
|
|
68
|
-
typedef uint_least16_t char16_t;
|
|
69
|
-
typedef uint_least32_t char32_t;
|
|
70
|
-
# endif
|
|
71
|
-
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
|
|
72
|
-
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
|
|
73
|
-
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
|
|
74
|
-
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
|
|
75
|
-
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
|
|
76
|
-
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
|
|
77
|
-
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
|
|
78
|
-
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
|
|
79
|
-
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
|
|
80
|
-
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
|
|
81
|
-
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
|
|
82
|
-
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
83
|
-
#endif
|
|
84
|
-
|
|
85
|
-
#if !defined(SWIFT_PASTE)
|
|
86
|
-
# define SWIFT_PASTE_HELPER(x, y) x##y
|
|
87
|
-
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
|
|
88
|
-
#endif
|
|
89
|
-
#if !defined(SWIFT_METATYPE)
|
|
90
|
-
# define SWIFT_METATYPE(X) Class
|
|
91
|
-
#endif
|
|
92
|
-
#if !defined(SWIFT_CLASS_PROPERTY)
|
|
93
|
-
# if __has_feature(objc_class_property)
|
|
94
|
-
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
95
|
-
# else
|
|
96
|
-
# define SWIFT_CLASS_PROPERTY(...)
|
|
97
|
-
# endif
|
|
98
|
-
#endif
|
|
99
|
-
#if !defined(SWIFT_RUNTIME_NAME)
|
|
100
|
-
# if __has_attribute(objc_runtime_name)
|
|
101
|
-
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
|
102
|
-
# else
|
|
103
|
-
# define SWIFT_RUNTIME_NAME(X)
|
|
104
|
-
# endif
|
|
105
|
-
#endif
|
|
106
|
-
#if !defined(SWIFT_COMPILE_NAME)
|
|
107
|
-
# if __has_attribute(swift_name)
|
|
108
|
-
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
|
109
|
-
# else
|
|
110
|
-
# define SWIFT_COMPILE_NAME(X)
|
|
111
|
-
# endif
|
|
112
|
-
#endif
|
|
113
|
-
#if !defined(SWIFT_METHOD_FAMILY)
|
|
114
|
-
# if __has_attribute(objc_method_family)
|
|
115
|
-
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
|
116
|
-
# else
|
|
117
|
-
# define SWIFT_METHOD_FAMILY(X)
|
|
118
|
-
# endif
|
|
119
|
-
#endif
|
|
120
|
-
#if !defined(SWIFT_NOESCAPE)
|
|
121
|
-
# if __has_attribute(noescape)
|
|
122
|
-
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
123
|
-
# else
|
|
124
|
-
# define SWIFT_NOESCAPE
|
|
125
|
-
# endif
|
|
126
|
-
#endif
|
|
127
|
-
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
|
128
|
-
# if __has_attribute(ns_consumed)
|
|
129
|
-
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
|
130
|
-
# else
|
|
131
|
-
# define SWIFT_RELEASES_ARGUMENT
|
|
132
|
-
# endif
|
|
133
|
-
#endif
|
|
134
|
-
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
|
135
|
-
# if __has_attribute(warn_unused_result)
|
|
136
|
-
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
|
137
|
-
# else
|
|
138
|
-
# define SWIFT_WARN_UNUSED_RESULT
|
|
139
|
-
# endif
|
|
140
|
-
#endif
|
|
141
|
-
#if !defined(SWIFT_NORETURN)
|
|
142
|
-
# if __has_attribute(noreturn)
|
|
143
|
-
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
144
|
-
# else
|
|
145
|
-
# define SWIFT_NORETURN
|
|
146
|
-
# endif
|
|
147
|
-
#endif
|
|
148
|
-
#if !defined(SWIFT_CLASS_EXTRA)
|
|
149
|
-
# define SWIFT_CLASS_EXTRA
|
|
150
|
-
#endif
|
|
151
|
-
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
152
|
-
# define SWIFT_PROTOCOL_EXTRA
|
|
153
|
-
#endif
|
|
154
|
-
#if !defined(SWIFT_ENUM_EXTRA)
|
|
155
|
-
# define SWIFT_ENUM_EXTRA
|
|
156
|
-
#endif
|
|
157
|
-
#if !defined(SWIFT_CLASS)
|
|
158
|
-
# if __has_attribute(objc_subclassing_restricted)
|
|
159
|
-
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
|
|
160
|
-
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
161
|
-
# else
|
|
162
|
-
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
163
|
-
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
164
|
-
# endif
|
|
165
|
-
#endif
|
|
166
|
-
#if !defined(SWIFT_RESILIENT_CLASS)
|
|
167
|
-
# if __has_attribute(objc_class_stub)
|
|
168
|
-
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
|
|
169
|
-
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
170
|
-
# else
|
|
171
|
-
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
|
|
172
|
-
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
173
|
-
# endif
|
|
174
|
-
#endif
|
|
175
|
-
#if !defined(SWIFT_PROTOCOL)
|
|
176
|
-
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
177
|
-
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
178
|
-
#endif
|
|
179
|
-
#if !defined(SWIFT_EXTENSION)
|
|
180
|
-
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
181
|
-
#endif
|
|
182
|
-
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
183
|
-
# if __has_attribute(objc_designated_initializer)
|
|
184
|
-
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
185
|
-
# else
|
|
186
|
-
# define OBJC_DESIGNATED_INITIALIZER
|
|
187
|
-
# endif
|
|
188
|
-
#endif
|
|
189
|
-
#if !defined(SWIFT_ENUM_ATTR)
|
|
190
|
-
# if __has_attribute(enum_extensibility)
|
|
191
|
-
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
192
|
-
# else
|
|
193
|
-
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
194
|
-
# endif
|
|
195
|
-
#endif
|
|
196
|
-
#if !defined(SWIFT_ENUM)
|
|
197
|
-
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
198
|
-
# if __has_feature(generalized_swift_name)
|
|
199
|
-
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
200
|
-
# else
|
|
201
|
-
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
|
202
|
-
# endif
|
|
203
|
-
#endif
|
|
204
|
-
#if !defined(SWIFT_UNAVAILABLE)
|
|
205
|
-
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
|
206
|
-
#endif
|
|
207
|
-
#if !defined(SWIFT_UNAVAILABLE_MSG)
|
|
208
|
-
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
|
|
209
|
-
#endif
|
|
210
|
-
#if !defined(SWIFT_AVAILABILITY)
|
|
211
|
-
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
|
212
|
-
#endif
|
|
213
|
-
#if !defined(SWIFT_WEAK_IMPORT)
|
|
214
|
-
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
|
215
|
-
#endif
|
|
216
|
-
#if !defined(SWIFT_DEPRECATED)
|
|
217
|
-
# define SWIFT_DEPRECATED __attribute__((deprecated))
|
|
218
|
-
#endif
|
|
219
|
-
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
220
|
-
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
221
|
-
#endif
|
|
222
|
-
#if !defined(SWIFT_DEPRECATED_OBJC)
|
|
223
|
-
# if __has_feature(attribute_diagnose_if_objc)
|
|
224
|
-
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
|
225
|
-
# else
|
|
226
|
-
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
|
227
|
-
# endif
|
|
228
|
-
#endif
|
|
229
|
-
#if defined(__OBJC__)
|
|
230
|
-
#if !defined(IBSegueAction)
|
|
231
|
-
# define IBSegueAction
|
|
232
|
-
#endif
|
|
233
|
-
#endif
|
|
234
|
-
#if !defined(SWIFT_EXTERN)
|
|
235
|
-
# if defined(__cplusplus)
|
|
236
|
-
# define SWIFT_EXTERN extern "C"
|
|
237
|
-
# else
|
|
238
|
-
# define SWIFT_EXTERN extern
|
|
239
|
-
# endif
|
|
240
|
-
#endif
|
|
241
|
-
#if !defined(SWIFT_CALL)
|
|
242
|
-
# define SWIFT_CALL __attribute__((swiftcall))
|
|
243
|
-
#endif
|
|
244
|
-
#if !defined(SWIFT_INDIRECT_RESULT)
|
|
245
|
-
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
|
246
|
-
#endif
|
|
247
|
-
#if !defined(SWIFT_CONTEXT)
|
|
248
|
-
# define SWIFT_CONTEXT __attribute__((swift_context))
|
|
249
|
-
#endif
|
|
250
|
-
#if !defined(SWIFT_ERROR_RESULT)
|
|
251
|
-
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
|
252
|
-
#endif
|
|
253
|
-
#if defined(__cplusplus)
|
|
254
|
-
# define SWIFT_NOEXCEPT noexcept
|
|
255
|
-
#else
|
|
256
|
-
# define SWIFT_NOEXCEPT
|
|
257
|
-
#endif
|
|
258
|
-
#if !defined(SWIFT_C_INLINE_THUNK)
|
|
259
|
-
# if __has_attribute(always_inline)
|
|
260
|
-
# if __has_attribute(nodebug)
|
|
261
|
-
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
|
262
|
-
# else
|
|
263
|
-
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
|
264
|
-
# endif
|
|
265
|
-
# else
|
|
266
|
-
# define SWIFT_C_INLINE_THUNK inline
|
|
267
|
-
# endif
|
|
268
|
-
#endif
|
|
269
|
-
#if defined(_WIN32)
|
|
270
|
-
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
271
|
-
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
272
|
-
#endif
|
|
273
|
-
#else
|
|
274
|
-
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
275
|
-
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
|
276
|
-
#endif
|
|
277
|
-
#endif
|
|
278
|
-
#if defined(__OBJC__)
|
|
279
|
-
#if __has_feature(objc_modules)
|
|
280
|
-
#if __has_warning("-Watimport-in-framework-header")
|
|
281
|
-
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
282
|
-
#endif
|
|
283
|
-
@import ObjectiveC;
|
|
284
|
-
#endif
|
|
285
|
-
|
|
286
|
-
#import <GizwitsiOSSDK/GizwitsiOSSDK.h>
|
|
287
|
-
|
|
288
|
-
#endif
|
|
289
|
-
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
290
|
-
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
291
|
-
#if __has_warning("-Wpragma-clang-attribute")
|
|
292
|
-
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
|
293
|
-
#endif
|
|
294
|
-
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
295
|
-
#pragma clang diagnostic ignored "-Wnullability"
|
|
296
|
-
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
297
|
-
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
298
|
-
|
|
299
|
-
#if __has_attribute(external_source_symbol)
|
|
300
|
-
# pragma push_macro("any")
|
|
301
|
-
# undef any
|
|
302
|
-
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="GizwitsiOSSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
|
303
|
-
# pragma pop_macro("any")
|
|
304
|
-
#endif
|
|
305
|
-
|
|
306
|
-
#if defined(__OBJC__)
|
|
307
|
-
|
|
308
|
-
SWIFT_CLASS("_TtC13GizwitsiOSSDK19ESPTouchSmartConfig")
|
|
309
|
-
@interface ESPTouchSmartConfig : NSObject
|
|
310
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
311
|
-
@end
|
|
312
|
-
|
|
313
|
-
@class ESPTouchResult;
|
|
314
|
-
|
|
315
|
-
@interface ESPTouchSmartConfig (SWIFT_EXTENSION(GizwitsiOSSDK)) <ESPTouchDelegate>
|
|
316
|
-
- (void)onEsptouchResultAddedWithResult:(ESPTouchResult * _Null_unspecified)result;
|
|
317
|
-
@end
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
SWIFT_CLASS("_TtC13GizwitsiOSSDK13MusicalRhythm")
|
|
321
|
-
@interface MusicalRhythm : NSObject
|
|
322
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
323
|
-
@end
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
#endif
|
|
328
|
-
#if __has_attribute(external_source_symbol)
|
|
329
|
-
# pragma clang attribute pop
|
|
330
|
-
#endif
|
|
331
|
-
#if defined(__cplusplus)
|
|
332
|
-
#endif
|
|
333
|
-
#pragma clang diagnostic pop
|
|
334
|
-
#endif
|
|
335
|
-
|
|
336
|
-
#else
|
|
337
|
-
#error unsupported Swift architecture
|
|
338
|
-
#endif
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// GizSDKV5.h
|
|
3
|
-
// GizSDKV5
|
|
4
|
-
//
|
|
5
|
-
// Created by william Zhang on 2022/4/18.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#import <Foundation/Foundation.h>
|
|
9
|
-
#import "MQTTClient.h"
|
|
10
|
-
#import "_GizwitsParser.h"
|
|
11
|
-
#import "CocoaAsyncSocket.h"
|
|
12
|
-
#import "_ZipArchive.h"
|
|
13
|
-
#import "aubio.h"
|
|
14
|
-
#import "ESPTouch.h"
|
|
15
|
-
|
|
16
|
-
//! Project version number for GizSDKV5.
|
|
17
|
-
FOUNDATION_EXPORT double GizSDKV5VersionNumber;
|
|
18
|
-
|
|
19
|
-
//! Project version string for GizSDKV5.
|
|
20
|
-
FOUNDATION_EXPORT const unsigned char GizSDKV5VersionString[];
|
|
21
|
-
|
|
22
|
-
// In this header, you should import all the public headers of your framework using statements like #import <GizSDKV5/PublicHeader.h>
|
|
23
|
-
|
|
24
|
-
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// MQTTClient.h
|
|
3
|
-
// MQTTClient
|
|
4
|
-
//
|
|
5
|
-
// Created by Christoph Krey on 13.01.14.
|
|
6
|
-
// Copyright © 2013-2017 Christoph Krey. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
Include this file to use MQTTClient classes in your application
|
|
11
|
-
|
|
12
|
-
@author Christoph Krey c@ckrey.de
|
|
13
|
-
@see http://mqtt.org
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
#import <Foundation/Foundation.h>
|
|
17
|
-
|
|
18
|
-
#import "_MQTTSession.h"
|
|
19
|
-
#import "_MQTTDecoder.h"
|
|
20
|
-
#import "MQTTSessionLegacy.h"
|
|
21
|
-
#import "MQTTSessionSynchron.h"
|
|
22
|
-
#import "_MQTTProperties.h"
|
|
23
|
-
#import "_MQTTMessage.h"
|
|
24
|
-
#import "_MQTTTransport.h"
|
|
25
|
-
#import "_MQTTCFSocketTransport.h"
|
|
26
|
-
#import "_MQTTCoreDataPersistence.h"
|
|
27
|
-
#import "_MQTTSSLSecurityPolicyTransport.h"
|
|
28
|
-
#import "_MQTTLog.h"
|
|
29
|
-
|
|
30
|
-
#if __has_include("_MQTTSessionManager.h")
|
|
31
|
-
#import "_MQTTSessionManager.h"
|
|
32
|
-
#endif
|
|
33
|
-
|
|
34
|
-
//! Project version number for MQTTClient.
|
|
35
|
-
FOUNDATION_EXPORT double _MQTTClientVersionNumber;
|
|
36
|
-
|
|
37
|
-
//! Project version string for MQTTClient<.
|
|
38
|
-
FOUNDATION_EXPORT const unsigned char _MQTTClientVersionString[];
|
|
39
|
-
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// MQTTInMemoryPersistence.h
|
|
3
|
-
// MQTTClient
|
|
4
|
-
//
|
|
5
|
-
// Created by Christoph Krey on 22.03.15.
|
|
6
|
-
// Copyright © 2015-2017 Christoph Krey. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import <Foundation/Foundation.h>
|
|
10
|
-
#import "_MQTTPersistence.h"
|
|
11
|
-
|
|
12
|
-
@interface MQTTInMemoryPersistence : NSObject <_MQTTPersistence>
|
|
13
|
-
@end
|
|
14
|
-
|
|
15
|
-
@interface MQTTInMemoryFlow : NSObject <_MQTTFlow>
|
|
16
|
-
@end
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// MQTTSSLSecurityPolicyDecoder.h
|
|
3
|
-
// MQTTClient.framework
|
|
4
|
-
//
|
|
5
|
-
// Copyright © 2013-2017, Christoph Krey. All rights reserved.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#import <Foundation/Foundation.h>
|
|
9
|
-
#import "_MQTTSSLSecurityPolicy.h"
|
|
10
|
-
#import "_MQTTCFSocketDecoder.h"
|
|
11
|
-
|
|
12
|
-
@interface MQTTSSLSecurityPolicyDecoder : _MQTTCFSocketDecoder
|
|
13
|
-
|
|
14
|
-
@property(strong, nonatomic) _MQTTSSLSecurityPolicy *securityPolicy;
|
|
15
|
-
@property(strong, nonatomic) NSString *securityDomain;
|
|
16
|
-
|
|
17
|
-
@end
|
|
18
|
-
|
|
19
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// MQTTSSLSecurityPolicyEncoder.h
|
|
3
|
-
// MQTTClient.framework
|
|
4
|
-
//
|
|
5
|
-
// Copyright © 2013-2017, Christoph Krey. All rights reserved.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#import <Foundation/Foundation.h>
|
|
9
|
-
#import "_MQTTSSLSecurityPolicy.h"
|
|
10
|
-
#import "_MQTTCFSocketEncoder.h"
|
|
11
|
-
|
|
12
|
-
@interface MQTTSSLSecurityPolicyEncoder : _MQTTCFSocketEncoder
|
|
13
|
-
|
|
14
|
-
@property(strong, nonatomic) _MQTTSSLSecurityPolicy *securityPolicy;
|
|
15
|
-
@property(strong, nonatomic) NSString *securityDomain;
|
|
16
|
-
|
|
17
|
-
@end
|
|
18
|
-
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// MQTTSessionLegacy.h
|
|
3
|
-
// MQTTClient.framework
|
|
4
|
-
//
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
Using MQTT in your Objective-C application
|
|
8
|
-
This file contains definitions for mqttio-OBJC backward compatibility
|
|
9
|
-
|
|
10
|
-
@author Christoph Krey c@ckrey.de
|
|
11
|
-
@copyright Copyright © 2013-2017, Christoph Krey. All rights reserved.
|
|
12
|
-
|
|
13
|
-
based on Copyright (c) 2011, 2013, 2lemetry LLC
|
|
14
|
-
All rights reserved. This program and the accompanying materials
|
|
15
|
-
are made available under the terms of the Eclipse Public License v1.0
|
|
16
|
-
which accompanies this distribution, and is available at
|
|
17
|
-
http://www.eclipse.org/legal/epl-v10.html
|
|
18
|
-
|
|
19
|
-
@see http://mqtt.org
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
#import <Foundation/Foundation.h>
|
|
24
|
-
#import "_MQTTSession.h"
|
|
25
|
-
|
|
26
|
-
@interface _MQTTSession(Create)
|
|
27
|
-
|
|
28
|
-
/** initialises the MQTT session
|
|
29
|
-
*
|
|
30
|
-
* this constructor can specifies SSL securityPolicy. the default value of securityPolicy is nil(which do nothing).
|
|
31
|
-
*
|
|
32
|
-
* if SSL is enabled, by default it only evaluate server's certificates using CA infrastructure, and for most case, this type of check is enough.
|
|
33
|
-
* However, if your app using security model which require pinning SSL certificates to helps prevent man-in-the-middle attacks
|
|
34
|
-
* and other vulnerabilities. you may need to set securityPolicy to properly value(see MQTTSSLSecurityPolicy.h for more detail).
|
|
35
|
-
*
|
|
36
|
-
* NOTE: about self-signed server certificates:
|
|
37
|
-
* In CA infrastructure, you may establish a SSL/TLS connection with server which using self-signed certificates
|
|
38
|
-
* by install the certificates into OS keychain(either programmatically or manually). however, this method has some disadvantages:
|
|
39
|
-
* 1. every socket you app created will trust certificates you added.
|
|
40
|
-
* 2. if user choice to remove certificates from keychain, you app need to handling certificates re-adding.
|
|
41
|
-
*
|
|
42
|
-
* If you only want to verify the cert for the socket you are creating and for no other sockets in your app, you need to use
|
|
43
|
-
* MQTTSSLSecurityPolicy.
|
|
44
|
-
* And if you use self-signed server certificates, your need to set property: MQTTSSLSecurityPolicy.allowInvalidCertificates=YES
|
|
45
|
-
* (see MQTTSSLSecurityPolicy.h for more detail).
|
|
46
|
-
*
|
|
47
|
-
* @param clientId The Client Identifier identifies the Client to the Server. If nil, a random clientId is generated.
|
|
48
|
-
* @param userName an NSString object containing the user's name (or ID) for authentication. May be nil.
|
|
49
|
-
* @param password an NSString object containing the user's password. If userName is nil, password must be nil as well.
|
|
50
|
-
* @param keepAliveInterval The Keep Alive is a time interval measured in seconds. The MQTTClient ensures that the interval between Control Packets being sent does not exceed the Keep Alive value. In the absence of sending any other Control Packets, the Client sends a PINGREQ Packet.
|
|
51
|
-
* @param cleanSessionFlag specifies if the server should discard previous session information.
|
|
52
|
-
* @param willFlag If the Will Flag is set to YES this indicates that a Will Message MUST be published by the Server when the Server detects that the Client is disconnected for any reason other than the Client flowing a DISCONNECT Packet.
|
|
53
|
-
* @param willTopic If the Will Flag is set to YES, the Will Topic is a string, nil otherwise.
|
|
54
|
-
* @param willMsg If the Will Flag is set to YES the Will Message must be specified, nil otherwise.
|
|
55
|
-
* @param willQoS specifies the QoS level to be used when publishing the Will Message. If the Will Flag is set to NO, then the Will QoS MUST be set to 0. If the Will Flag is set to YES, the value of Will QoS can be 0 (0x00), 1 (0x01), or 2 (0x02).
|
|
56
|
-
* @param willRetainFlag indicates if the server should publish the Will Messages with retainFlag. If the Will Flag is set to NO, then the Will Retain Flag MUST be set to NO . If the Will Flag is set to YES: If Will Retain is set to NO, the Server MUST publish the Will Message as a non-retained publication [MQTT-3.1.2-14]. If Will Retain is set to YES, the Server MUST publish the Will Message as a retained publication [MQTT-3.1.2-15].
|
|
57
|
-
* @param protocolLevel specifies the protocol to be used. The value of the Protocol Level field for the version 3.1.1 of the protocol is 4. The value for the version 3.1 is 3.
|
|
58
|
-
* @param queue The queue where the streams are scheduled.
|
|
59
|
-
* @param securityPolicy The security policy used to evaluate server trust for secure connections.
|
|
60
|
-
* @param certificates An identity certificate used to reply to a server requiring client certificates according to the description given for SSLSetCertificate(). You may build the certificates array yourself or use the sundry method clientCertFromP12
|
|
61
|
-
* @return the initialised MQTTSession object
|
|
62
|
-
*
|
|
63
|
-
* @code
|
|
64
|
-
#import "MQTTClient.h"
|
|
65
|
-
|
|
66
|
-
NSString* certificate = [[NSBundle bundleForClass:[MQTTSession class]] pathForResource:@"certificate" ofType:@"cer"];
|
|
67
|
-
MQTTSSLSecurityPolicy *securityPolicy = [MQTTSSLSecurityPolicy policyWithPinningMode:MQTTSSLPinningModeCertificate];
|
|
68
|
-
securityPolicy.pinnedCertificates = @[ [NSData dataWithContentsOfFile:certificate] ];
|
|
69
|
-
securityPolicy.allowInvalidCertificates = YES; // if your certificate is self-signed(which didn't coupled with CA infrastructure)
|
|
70
|
-
|
|
71
|
-
MQTTSession *session = [[MQTTSession alloc]
|
|
72
|
-
initWithClientId:@"example-1234"
|
|
73
|
-
userName:@"user"
|
|
74
|
-
password:@"secret"
|
|
75
|
-
keepAlive:60
|
|
76
|
-
cleanSession:YES
|
|
77
|
-
will:YES
|
|
78
|
-
willTopic:@"example/status"
|
|
79
|
-
willMsg:[[@"Client off-line"] dataUsingEncoding:NSUTF8StringEncoding]
|
|
80
|
-
willQoS:2
|
|
81
|
-
willRetainFlag:YES
|
|
82
|
-
protocolLevel:4
|
|
83
|
-
queue:dispatch_queue_get_main_queue()
|
|
84
|
-
securityPolicy:securityPolicy
|
|
85
|
-
certificates:certificates];
|
|
86
|
-
|
|
87
|
-
[session connectToHost:@"example-1234" port:1883 usingSSL:YES];
|
|
88
|
-
@endcode
|
|
89
|
-
*/
|
|
90
|
-
- (_MQTTSession *)initWithClientId:(NSString *)clientId
|
|
91
|
-
userName:(NSString *)userName
|
|
92
|
-
password:(NSString *)password
|
|
93
|
-
keepAlive:(UInt16)keepAliveInterval
|
|
94
|
-
connectMessage:(_MQTTMessage *)theConnectMessage
|
|
95
|
-
cleanSession:(BOOL)cleanSessionFlag
|
|
96
|
-
will:(BOOL)willFlag
|
|
97
|
-
willTopic:(NSString *)willTopic
|
|
98
|
-
willMsg:(NSData *)willMsg
|
|
99
|
-
willQoS:(_MQTTQosLevel)willQoS
|
|
100
|
-
willRetainFlag:(BOOL)willRetainFlag
|
|
101
|
-
protocolLevel:(UInt8)protocolLevel
|
|
102
|
-
queue:(dispatch_queue_t)queue
|
|
103
|
-
securityPolicy:(_MQTTSSLSecurityPolicy *) securityPolicy
|
|
104
|
-
certificates:(NSArray *)certificates;
|
|
105
|
-
|
|
106
|
-
/** for mqttio-OBJC backward compatibility
|
|
107
|
-
@param payload JSON payload is converted to NSData and then send. See publishData for description
|
|
108
|
-
@param theTopic see publishData for description
|
|
109
|
-
*/
|
|
110
|
-
- (void)publishJson:(id)payload onTopic:(NSString *)theTopic;
|
|
111
|
-
|
|
112
|
-
@end
|