| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-01-16 | Fix keepalive handling | Oskari Timperi | |
| Previously the code would send pings only when SocketSelect() would timeout. This was not working when a client was subscribed to a topic and would receive periodic messages but wouldn't itself send anything. This meant that SocketSelect() wouldn't timeout at any point and we wouldn't execute the check for sending a PINGREQ. The fix is to do the check for last sent packet before calling SocketSelect() so that if we haven't been sending anything for a while, we really send the PINGREQ. Fixes #10 | |||
| 2017-03-18 | Fix publish message serialization | Oskari Timperi | |
| All of the publish messages regardless of qos contained the message id. | |||
| 2017-03-18 | Modify the code to use nonblocking sockets | Oskari Timperi | |
| 2017-03-06 | Free userName and password in MqttClientFree() | Oskari Timperi | |
| 2017-03-06 | Massive refactoring of the internals | Oskari Timperi | |
| 2017-02-20 | Support for username and password | Oskari Timperi | |
| 2017-02-19 | Add MqttClientSubscribeMany() and make necessary API changes | Oskari Timperi | |
| 2017-02-19 | Add private APIs to support interop testing | Oskari Timperi | |
| 2017-02-19 | Support reconnecting in MqttClientConnect() | Oskari Timperi | |
| 2017-02-19 | Use keepalive as SocketSelect() timeout if timeout<0 | Oskari Timperi | |
| 2017-02-19 | Allow keepalive to be 0 to disable sending PINGREQs | Oskari Timperi | |
| 2017-02-18 | Disconnect socket if connected in MqttClientFree() | Oskari Timperi | |
| 2017-02-18 | Fix a bug MqttClientHandlePubRel() | Oskari Timperi | |
| We wanted to find previous PUBREC messages in the function, but there was a typo so we were searching for PUBLISH messages. This made the client stop as it thought it received an unknown PUBREL. | |||
| 2017-02-18 | Add MqttClientIsConnected() | Oskari Timperi | |
| 2017-02-18 | Add timeout param to MqttClientRunOnce() | Oskari Timperi | |
| Also change SocketSelect() to take timeout in milliseconds. | |||
| 2017-02-18 | Move cleanSession argument to MqttClientConnect() | Oskari Timperi | |
| 2017-02-17 | Include qos/retain in OnMessage callback | Oskari Timperi | |
| 2017-02-15 | Make the code compile using MinGW | Oskari Timperi | |
| - implemented GetCurrentTime() for Windows - had to rename GetCurrentTime() to MqttGetCurrentTime() because of name clashes - setup headers correctly | |||
| 2017-02-15 | Add SocketSelect() to wrap select() | Oskari Timperi | |
| This also makes all the necessary includes for sockets centralized to `sockets.c`. | |||
| 2017-02-14 | Fixes to -std=c99 compilation | Oskari Timperi | |
| 2017-02-14 | Include config.h initially with MQTT_INLINE definition | Oskari Timperi | |
| 2017-02-14 | Free packets from outMessages and inMessages when freeing client | Oskari Timperi | |
| 2017-02-14 | Fixes to make valgrind happy | Oskari Timperi | |
| 2017-02-14 | Take bstrlib into use | Oskari Timperi | |
| I should've done this from the start. :-) | |||
| 2017-02-12 | Fixes to make code to almost compile on -std=c89 setting | Oskari Timperi | |
| 2017-02-12 | Implement will | Oskari Timperi | |
| 2017-02-12 | Add all the stuff | Oskari Timperi | |
