Logo white

Peter M. Groen / TrueMQTT-cpp

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 55
  • Compare
  • Branches 2
  • Tags 0
  • TrueMQTT-cpp
  • include
  • TrueMQTT.h
25 Sep, 2022
1 commit
  • fix(connection): handle full socket sndbuf and failing send() graceful ...
    26e28ae0
    send() no longer is blocking, and all sendNNN calls now return
    false if the call couldn't be executed.
    
    Additionally, the library now recovers much better from issues,
    like unexpected broker disconnects.
    Patric Stout authored
    2022-09-25 10:02:09 +0200  
    Browse File »

17 Sep, 2022
2 commits
  • feat: implement last-will support
    87fe34d7
    Patric Stout authored
    2022-09-17 11:12:37 +0200  
    Browse File »
  • fix(connection): implement configurable connection timeout/backoff
    81f19eca
    Patric Stout authored
    2022-09-17 10:59:51 +0200  
    Browse File »

11 Sep, 2022
4 commits
  • chore: apply some coding-style suggestions from SonarCloud
    54a4385b
    Patric Stout authored
    2022-09-11 18:59:20 +0200  
    Browse File »
  • chore(interface): document that unsubscribe removes all subscriptions on that exact topic ...
    5454f1c4
    It wasn't all that clear that this was the case.
    Patric Stout authored
    2022-09-11 15:44:26 +0200  
    Browse File »
  • chore(interface): remove documentation suggesting unsubscribe can fail ...
    63266779
    Protocol specification of MQTT 3.1.1 doesn't allow unsubscribes
    to fail.
    Patric Stout authored
    2022-09-11 15:43:44 +0200  
    Browse File »
  • chore(interface): document behaviour of overlapping subscriptions ...
    ace91efd
    The specifications say that the broker MAY deduplicate messages
    on overlapping subscriptions. In result, some do, and some don't.
    
    It is now, by documentation, left to the user of this library to
    handle overlapping subscriptions properly, and depending on their
    broker, they may receive one or more times the same message when
    the subscriptions overlap.
    Patric Stout authored
    2022-09-11 15:30:53 +0200  
    Browse File »

10 Sep, 2022
2 commits
  • feat(connection): connection logic using Happy Eyeballs ...
    995dd53f
    By using Happy Eyeballs, we stagger connections of a host resolves
    into multiple IPs. This is useful for IPv6 / IPv4 hosts, where
    one of the two can stutter.
    
    Sadly, creating a connection is rather complex, with many odd
    things that can happen along the way. For example, a writeable
    socket doesn't mean it is actually connected; it can also mean
    the socket is in an error state.
    
    This implementation is inspired by my own work on OpenTTD's
    variant of this.
    Patric Stout authored
    2022-09-10 15:38:49 +0200  
    Browse File »
  • feat(client): finish everything up till the actual socket communication ...
    49cd81e2
    All administration should been taken care of now, and the only
    thing remaining is creating connect/disconnect and implementing
    the sendXXX functions.
    Patric Stout authored
    2022-09-10 09:32:56 +0200  
    Browse File »

09 Sep, 2022
1 commit
  • feat(client): library header-file and empty implementation ...
    ed2f25ca
    This contains no actual code yet, just the scaffolding to get
    started.
    Patric Stout authored
    2022-09-09 22:27:49 +0200  
    Browse File »