Logo white

open_source / mqtt-cpp

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 93
  • Compare
  • Branches 3
  • Tags 12
  • mqtt-cpp
05 Dec, 2024
2 commits
  • Merge branch 'feat/pgroen/cli_tools' into 'master' ...
    51ef1a6f
    Added CLI Tools
    
    See merge request !25
    Peter M. Groen authored
    2024-12-05 00:27:20 +0100  
    Browse Code »
  • Added CLI Tools
    bf715122
    Peter M. Groen authored
    2024-12-05 01:11:26 +0100  
    Browse Code »

03 Jul, 2024
2 commits
  • Added argumentparser
    1238cbed
    Peter M. Groen authored
    2024-07-03 13:36:52 +0200  
    Browse Code »
  • Added argumentparser
    890ef5ed
    Peter M. Groen authored
    2024-07-03 13:36:31 +0200  
    Browse Code »

02 Jul, 2024
1 commit
  • setting up the publish_cli
    6a79aebe
    Peter M. Groen authored
    2024-07-02 18:38:57 +0200  
    Browse Code »

30 May, 2024
5 commits
  • Merge branch 'fix/pgroen/disable-test-builds' into 'master' ...
    641cdb64
    fix/pgroen/disable test builds
    
    In accordance to a request from a user, examples and tests are disabled from building by default.
    
    See merge request !24
    Peter M. Groen authored
    2024-05-30 16:51:30 +0200  
    Browse Code »
  • Updated the documentation
    44481cf5
    Peter M. Groen authored
    2024-05-30 17:20:04 +0200  
    Browse Code »
  • Disabled test- and examples build
    976553af
    Peter M. Groen authored
    2024-05-30 17:11:30 +0200  
    Browse Code »
  • Merge branch 'pgroen/fix/ab257161_investigate' into 'master' ...
    8d8360df
    pgroen/fix/ab257161 investigate
    
    When we delete our mqttclient instances (276 instances), sometimes we encounter a SEGFAULT originating in MqttClient::eventHandler. GDB always shows: 0x000055555576b4d5 in operator() (_closure=0x7ffea40023b0) at /source/mqtt-cpp/src/mqttclient.cpp:499. This is the line: principalClient->publishPending(); . principalClient pointer is not null, so the if-statement at 495 passes, but it is not a valid pointer. That is because the destructor already deleted that instance of principalClient (line 83, mprincipalClient.swap(principalClient); ). This is clearly indicated by this output:
    
    (gdb) p m_eventQueue.m_stop
    
    $1 = std::atomic = { true }
    
    That indicates the destructor has already executed line 87.
    
    This is caused by obtaining the classic pointer of m_principalClient at line 421, so principalClient is a reference which isn’t accounted for by the smart-pointer.
    
    See merge request !23
    Peter M. Groen authored
    2024-05-30 16:25:08 +0200  
    Browse Code »
  • Added PR and adapted test
    d1d79e6d
    Peter M. Groen authored
    2024-05-30 16:48:30 +0200  
    Browse Code »

26 Apr, 2024
1 commit
  • Added tests
    b7b0db4b
    Peter M. Groen authored
    2024-04-26 15:22:07 +0200  
    Browse Code »

25 Apr, 2024
1 commit
  • Setting up SledgeHammer Test
    5cd80369
    Peter M. Groen authored
    2024-04-25 16:23:00 +0200  
    Browse Code »

17 Jan, 2024
3 commits
  • Merge branch 'fix/pgroen/resubscribe_called_unnecessary' into 'master' ...
    8660a680
    Activate Resubscribe only after a correct state-change
    
    [Bug]
    If connecting and subscribing to a retained message, the message was received twice.
    
    [Solution]
    Check for old and new state of the connection. Only call resubscribe when state changes from ::ConnectionFailure to ::Good. This prevents the calling of the re-subscribe in all other cases. Paho-C has the States defined, but not the state-transitions.
    
    See merge request !22
    Peter M. Groen authored
    2024-01-17 10:46:49 +0100  
    Browse Code »
  • Fix publishing
    f1384b55
    Peter M. Groen authored
    2024-01-17 11:05:55 +0100  
    Browse Code »
  • Active Resubscribe only after a correct state-change
    3fef3f83
    Peter M. Groen authored
    2024-01-17 10:21:06 +0100  
    Browse Code »

27 Dec, 2023
1 commit
  • Adapted include path
    6f2da92f
    Peter M. Groen authored
    2023-12-27 17:05:44 +0100  
    Browse Code »

26 Dec, 2023
1 commit
  • Added include for gcc 13.2.1
    e21fdb08
    Peter M. Groen authored
    2023-12-26 22:41:25 +0100  
    Browse Code »

12 Jun, 2023
2 commits
  • Merge branch 'fix/pgroen/topic_length_limitation' into 'master' ...
    078653bd
    fix/pgroen/topic length limitation
    
    hasWildcard had an invalid check on the last character.
    When the topic size is 36 and we check the size>() -1 (35) it is interpreted as an '#' which in turn is a wildcard in the topic making sure it is not published.
    
    We now check the actual character of the last entry in the string.
    
    See merge request !21
    Peter M. Groen authored
    2023-06-12 21:36:41 +0200  
    Browse Code »
  • [Fix] Bugfix in hasWildcard
    60ac1cde
    Peter M. Groen authored
    2023-06-12 21:34:50 +0200  
    Browse Code »

09 Jun, 2023
1 commit
  • Added extra topic counter
    cf0166d6
    Peter M. Groen authored
    2023-06-09 00:52:15 +0200  
    Browse Code »

08 Jun, 2023
2 commits
  • Added Topic Length Test
    37906d07
    Peter M. Groen authored
    2023-06-08 17:22:58 +0200  
    Browse Code »
  • [FIX] Setting up a TopicLengthTests
    68753efb
    Peter M. Groen authored
    2023-06-08 01:37:14 +0200  
    Browse Code »

06 Oct, 2022
1 commit
  • Added extra subscription checks to prevent double connections
    2569446f
    Peter M. Groen authored
    2022-10-06 10:17:10 +0200  
    Browse Code »

02 Sep, 2022
4 commits
  • Merge branch 'development' into 'master' ...
    8f48be6b
    Development
    
    See merge request !20
    Peter M. Groen authored
    2022-09-02 14:47:58 +0200  
    Browse Code »
  • Merge branch 'default_logging_level' into 'development' ...
    b4a71d8c
    added logging struct to mqtt connect function.
    
    added a LogSettings struct which allows the user to set the log level and mask in the mqtt connect.
    
    See merge request !19
    Peter M. Groen authored
    2022-09-02 14:45:46 +0200  
    Browse Code »
  • added logging struct to mqtt connect function.
    1a77e1b5
    Steven authored
    2022-09-02 12:15:13 +0200  
    Browse Code »
  • Merge branch 'master' into 'development' ...
    7702feec
    Master
    
    See merge request !18
    Steven de Ridder authored
    2022-09-02 09:01:16 +0200  
    Browse Code »

11 Aug, 2022
3 commits
  • Merge branch '5-mqttclient_publish_error' into 'master' ...
    46a66fbb
    5 mqttclient publish error
    
    See merge request !17
    Peter M. Groen authored
    2022-08-11 16:15:42 +0200  
    Browse Code »
  • statement changes
    9802eeb9
    Steven authored
    2022-08-11 13:44:30 +0200  
    Browse Code »
  • also push to queue if connectInProgress. ...
    e8f6540b
    Queue is only correctly unloaded in onConnect. it does not seem to be
    unloaded on onFirstConnect, only when changing pushIncomingEvent. should
    investigate.
    Steven authored
    2022-08-11 10:56:49 +0200  
    Browse Code »

24 Jul, 2022
1 commit
  • Merge branch 'feat/sridder/log_changes' into 'development' ...
    c001bf96
    moved log.h to include and added log setters to mqttclient (default up to info )
    
    See merge request !16
    Peter M. Groen authored
    2022-07-24 01:50:43 +0200  
    Browse Code »

18 Jul, 2022
1 commit
  • moved log.h to include and added log setters to mqttclient (default up to info )
    7771e50f
    Steven authored
    2022-07-18 11:36:34 +0200  
    Browse Code »

12 Jul, 2022
3 commits
  • Merge branch 'master' into 'development' ...
    8310c84d
    Master
    
    See merge request !14
    Steven de Ridder authored
    2022-07-12 13:23:29 +0200  
    Browse Code »
  • Merge branch 'fix/pgroen/subscription_failure' into 'master' ...
    1ffaa75b
    Fix/pgroen/subscription failure
    
    See merge request !13
    Steven de Ridder authored
    2022-07-12 12:02:19 +0200  
    Browse Code »
  • Fixed pass by reference to pass by value
    ef28d9ce
    Peter M. Groen authored
    2022-07-12 11:44:55 +0200  
    Browse Code »

08 Jul, 2022
2 commits
  • Fix deferred subscriptions
    8ae7f1fe
    Peter M. Groen authored
    2022-07-08 02:24:44 +0200  
    Browse Code »
  • Fix deferred subscriptions
    d557d523
    Peter M. Groen authored
    2022-07-08 01:51:29 +0200  
    Browse Code »

07 Jul, 2022
3 commits
  • Rework for subscription async
    11fe0b09
    Peter M. Groen authored
    2022-07-07 17:17:48 +0200  
    Browse Code »
  • Merge branch 'development' into 'master' ...
    4b9da1a8
    Merge Development to Master for version 0.9.7
    
    See merge request !12
    Peter M. Groen authored
    2022-07-07 15:46:34 +0200  
    Browse Code »
  • Merge branch 'fix/pgroen/deferred_connection' into 'development' ...
    91223dca
    Fix/pgroen/deferred connection
    
    converted all logs to log.h format, except a few commented lines containing std::set params. <br>
    also made a number of syntax fixes and ran through the connection scenarios again, which are all working correctly now.
    
    See merge request !11
    Peter M. Groen authored
    2022-07-07 15:38:29 +0200  
    Browse Code »