Skip to content

Features: Raw publisher; Subscriber timestamping modes#13

Merged
viacheslauK merged 24 commits intomainfrom
new-features
Apr 9, 2026
Merged

Features: Raw publisher; Subscriber timestamping modes#13
viacheslauK merged 24 commits intomainfrom
new-features

Conversation

@viacheslauK
Copy link
Copy Markdown
Collaborator

@viacheslauK viacheslauK commented Mar 13, 2026

Brief:

  • New raw handler for a publisher FB;
  • Subscriber and decoder FBs: new way to set data timestamps (system time);
  • Separate thread for subscriber processing;
  • Code refactoring;
  • Password property was removed from MQTT client FB;
  • Additional tests

Raw handler for publisher FB

Publishes signal buffer payload as-is. Simply copies the raw buffer of signal packets and publishes them to a given toopc

System time timestamping

The subscriber FB now allows users to choose the "System time" timestamping method. When chosen, the payload timestamp is no longer read from the broker, but is read from the local machine.

Separate subscriber thread

Processing of received data is moved to a separate thread from the MQTTAsync_rcv thread. The MQTTAsync_rcv thread only adds message to a queue.

@viacheslauK viacheslauK self-assigned this Mar 13, 2026
@viacheslauK viacheslauK force-pushed the new-features branch 2 times, most recently from 9017c6a to c8ae894 Compare March 13, 2026 16:10
@viacheslauK viacheslauK marked this pull request as ready for review March 13, 2026 16:55
@JakaMohorko JakaMohorko changed the title New features Features: Raw publisher; Subscriber timestamping modes Apr 7, 2026
@viacheslauK viacheslauK requested a review from JakaMohorko April 9, 2026 09:11
@viacheslauK viacheslauK merged commit b04fc1d into main Apr 9, 2026
8 checks passed
@viacheslauK viacheslauK deleted the new-features branch April 9, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants