Skip to content

Commit

Permalink
MQTT-Client-Framework 0.6.5
Browse files Browse the repository at this point in the history
> Release date 2016-01-21

[FIX] turn off verbose logging by default closes #97
[FIX] MQTTFramework.h includes all necessary files now #62
  • Loading branch information
Christoph Krey committed Jan 21, 2016
1 parent dccb17f commit acb80ec
Show file tree
Hide file tree
Showing 20 changed files with 185 additions and 42 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
MQTT-Client-Framework iOS/OSX/tvOS Release Notes
================================================

## MQTT-Client-Framework 0.6.5
> Release date 2016-01-21
[FIX] turn off verbose logging by default closes #97
[FIX] MQTTFramework.h includes all necessary files now #62

## MQTT-Client-Framework 0.6.4
> Release date 2016-01-17
Expand Down
4 changes: 2 additions & 2 deletions MQTTClient.podspec
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Pod::Spec.new do |mqttc|
mqttc.name = "MQTTClient"
mqttc.version = "0.6.4"
mqttc.version = "0.6.5"
mqttc.summary = "iOS, OSX and tvOS native ObjectiveC MQTT Client Framework"
mqttc.homepage = "https://github.com/ckrey/MQTT-Client-Framework"
mqttc.license = { :type => "EPLv1", :file => "LICENSE" }
mqttc.author = { "Christoph Krey" => "krey.christoph@gmail.com" }
mqttc.source = {
:git => "https://github.com/ckrey/MQTT-Client-Framework.git",
:tag => "0.6.4",
:tag => "0.6.5",
:submodules => true
}

Expand Down
162 changes: 143 additions & 19 deletions MQTTClient/MQTTClient.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion MQTTClient/MQTTClient/MQTTCFSocketDecoder.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define LOG_LEVEL_DEF ddLogLevel
#import <CocoaLumberjack/CocoaLumberjack.h>
#ifdef DEBUG
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#else
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#endif
Expand Down
4 changes: 2 additions & 2 deletions MQTTClient/MQTTClient/MQTTCFSocketEncoder.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define LOG_LEVEL_DEF ddLogLevel
#import <CocoaLumberjack/CocoaLumberjack.h>
#ifdef DEBUG
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#else
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#endif
Expand Down Expand Up @@ -100,7 +100,7 @@ - (void)stream:(NSStream*)sender handleEvent:(NSStreamEvent)eventCode {
- (BOOL)send:(NSData *)data {
@synchronized(self) {
if (self.state != MQTTCFSocketEncoderStateReady) {
DDLogWarn(@"[MQTTCFSocketEncoder] not MQTTCFSocketEncoderStateReady");
DDLogInfo(@"[MQTTCFSocketEncoder] not MQTTCFSocketEncoderStateReady");
return FALSE;
}

Expand Down
2 changes: 1 addition & 1 deletion MQTTClient/MQTTClient/MQTTCFSocketTransport.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#define LOG_LEVEL_DEF ddLogLevel
#import <CocoaLumberjack/CocoaLumberjack.h>
#ifdef DEBUG
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#else
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#endif
Expand Down
2 changes: 1 addition & 1 deletion MQTTClient/MQTTClient/MQTTCoreDataPersistence.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#define LOG_LEVEL_DEF ddLogLevel
#import <CocoaLumberjack/CocoaLumberjack.h>
#ifdef DEBUG
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#else
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#endif
Expand Down
2 changes: 1 addition & 1 deletion MQTTClient/MQTTClient/MQTTDecoder.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define LOG_LEVEL_DEF ddLogLevel
#import <CocoaLumberjack/CocoaLumberjack.h>
#ifdef DEBUG
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#else
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#endif
Expand Down
2 changes: 1 addition & 1 deletion MQTTClient/MQTTClient/MQTTInMemoryPersistence.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#define LOG_LEVEL_DEF ddLogLevel
#import <CocoaLumberjack/CocoaLumberjack.h>
#ifdef DEBUG
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#else
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#endif
Expand Down
2 changes: 1 addition & 1 deletion MQTTClient/MQTTClient/MQTTMessage.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define LOG_LEVEL_DEF ddLogLevel
#import <CocoaLumberjack/CocoaLumberjack.h>
#ifdef DEBUG
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#else
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#endif
Expand Down
2 changes: 1 addition & 1 deletion MQTTClient/MQTTClient/MQTTSSLSecurityPolicyDecoder.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define LOG_LEVEL_DEF ddLogLevel
#import <CocoaLumberjack/CocoaLumberjack.h>
#ifdef DEBUG
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#else
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#endif
Expand Down
2 changes: 1 addition & 1 deletion MQTTClient/MQTTClient/MQTTSSLSecurityPolicyEncoder.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define LOG_LEVEL_DEF ddLogLevel
#import <CocoaLumberjack/CocoaLumberjack.h>
#ifdef DEBUG
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#else
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#endif
Expand Down
2 changes: 1 addition & 1 deletion MQTTClient/MQTTClient/MQTTSSLSecurityPolicyTransport.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#define LOG_LEVEL_DEF ddLogLevel
#import <CocoaLumberjack/CocoaLumberjack.h>
#ifdef DEBUG
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#else
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#endif
Expand Down
2 changes: 1 addition & 1 deletion MQTTClient/MQTTClient/MQTTSession.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#define LOG_LEVEL_DEF ddLogLevel
#import <CocoaLumberjack/CocoaLumberjack.h>
#ifdef DEBUG
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#else
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#endif
Expand Down
2 changes: 1 addition & 1 deletion MQTTClient/MQTTClient/MQTTSessionLegacy.m
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#define LOG_LEVEL_DEF ddLogLevel
#import <CocoaLumberjack/CocoaLumberjack.h>
#ifdef DEBUG
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#else
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#endif
Expand Down
2 changes: 1 addition & 1 deletion MQTTClient/MQTTClient/MQTTSessionManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#define LOG_LEVEL_DEF ddLogLevel
#import <CocoaLumberjack/CocoaLumberjack.h>
#ifdef DEBUG
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#else
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#endif
Expand Down
2 changes: 1 addition & 1 deletion MQTTClient/MQTTClient/MQTTSessionSynchron.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#define LOG_LEVEL_DEF ddLogLevel
#import <CocoaLumberjack/CocoaLumberjack.h>
#ifdef DEBUG
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#else
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#endif
Expand Down
2 changes: 1 addition & 1 deletion MQTTClient/MQTTClient/MQTTTransport.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#define LOG_LEVEL_DEF ddLogLevel
#import <CocoaLumberjack/CocoaLumberjack.h>
#ifdef DEBUG
static const DDLogLevel ddLogLevel = DDLogLevelVerbose;
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#else
static const DDLogLevel ddLogLevel = DDLogLevelWarning;
#endif
Expand Down
13 changes: 8 additions & 5 deletions MQTTClient/MQTTFramework/MQTTFramework.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@

#import <UIKit/UIKit.h>

#import "MQTTSSLSecurityPolicy.h"
#import "MQTTSession.h"
#import "MQTTDecoder.h"
#import "MQTTEncoder.h"
#import "MQTTSessionLegacy.h"
#import "MQTTSessionSynchron.h"
#import "MQTTMessage.h"
#import "MQTTSession.h"
#import "MQTTPersistence.h"
#import "MQTTSessionManager.h"
#import "MQTTTransport.h"
#import "MQTTCFSocketTransport.h"
#import "MQTTCoreDataPersistence.h"
#import "MQTTSSLSecurityPolicyTransport.h"


//! Project version number for MQTTFramework.
FOUNDATION_EXPORT double MQTTFrameworkVersionNumber;
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ an Objective-C native MQTT Framework http://mqtt.org

Use the CocoaPod MQTTClient!

Add this to your Podfile:
```
pod 'MQTTClient'
```

Additionally add this subspec if you want to use MQTT over Websockets:
```
pod 'MQTTClient/Websocket'
```

Or use the dynamic library created in the MQTTFramework target.

Or include the source from here.
Expand Down

0 comments on commit acb80ec

Please sign in to comment.