Skip to content

Tags: aciidgh/SwiftMQTT

Tags

3.0.1

Toggle 3.0.1's commit message
Cleanup build warnings

3.0.0

Toggle 3.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Swift 4.1 Support (#32)

* Optimize a few things.
Create a public message structure to simplify and extend delegate.
Add background queue connect convenience method.
Have one delegate callback on disconnect.
Push errors out to delegate.
Rename SessionStream file.

* Fix compiler errors in test and sample app. Add comments for OCI changes.

* Make delegates weak references to avoid circular ownership
Add BatchReceiver sketch

* move MQTTMessage into models
make optional completion blocks truly optional

* Create MQTTBroker protocol

* create simple MQTTBatchingSession (pass-thru right now)

* MQTTConnectParams work in a framework

* fix bug when sending data in a disconnected state

* simplify life-cycle on connection errors

* Fix stream ready flow

* move all mqttparsing into session

* move packet parsing out of session

* Correct queue usage

* forgot the else

* Retry logic complete (for now)

* don’t reuse time intervals

* Add DatedSnapShot

* message id change

* DataSnapshot sendAll

* fix dated snapshot

* fix dated snapshot again

* Allow data snapshot to convert messages

* Fix read loop

* Swift 4 compatible with 3 changes.

* Add CustomStringConvertable to message, prototype file payload enum, make more structs

* cleanup lifecycle

* Break up networkPacket method

* move stream packet logic into Streamable

* bug fix

* Update README.md

* better session handling

* Update .travis.yml

* Add swift_version in podspec

* Bump podspec versions

* Fix typo

* Keep payload as Data to minimize changes to public interface

* Remove inline change comments

* Make keep alive timer optional

* Update deprecated string count

* Update deprecated timer method

* Update readme

* Cleanup whitespace

* Update Example project

* Fix typo

* Update tests to ensure connection is made in setUp before running tests

* Remove extraneous } from example project

* Ensure callbacks are handled on the main thread

* Remove new reconnecting session feature for now

* Cleanup error handling

* Add ping/heartbeat callback

* Make error Equatable

* Cleanup private/fileprivate

* General formatting cleanup

* Update tests and add end-to-end subscribe, publish, receive test

* Remove new reconnecting session feature for now

* Add description for errors

* Remove Broker class

* Don't dispatch to main thread as already on main by default

* Expose desired dispatch queue for delegate callbacks, default to main

* Fix bug with reading ping packets

* Call completion blocks on delegate thread

* Clear the delegate when deinit'd

* Include framework as project dependency

* Update closure error handling

* Use description instead of localizedDescription

* Update readme

* Add Swift Package Manager support

3.0.0.beta.1

Toggle 3.0.0.beta.1's commit message
Set version to beta

2.0.1

Toggle 2.0.1's commit message
retain is bit 0 of the flags, not bit 3 (#24)

- retain is bit 0 of the flags, not bit 3
- Add publish message packet header test

2.0.0

Toggle 2.0.0's commit message
Swift 3.0

1.0.2

Toggle 1.0.2's commit message

1.0.1

Toggle 1.0.1's commit message
Merge pull request #5 from adolfo/feature/add-ssl-support

Add SSL support to MQTTSession

1.0.0

Toggle 1.0.0's commit message
Merge pull request #1 from adolfo/feature/add-podspec

Add CocoaPods Podspec