Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract common parts of polling/sampling thread management into source api #75

Merged
merged 2 commits into from
Mar 7, 2024

Commits on Mar 7, 2024

  1. Update of amsads binding to permit mixed poll/subscribe operation.

    Some devices, such as old BX9000, do not support symbol discovery nor subscriptions.
    They can can work only in polling mode. Any call to symbols causes connection termination.
    Additionally brought back support for writing commands to ads devices.
    
    Minor adjustment - permit 0x preffix for address configuration in hex format.
    
    Signed-off-by: Łukasz Dywicki <luke@code-house.org>
    splatch committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    7ac27a1 View commit details
    Browse the repository at this point in the history
  2. Extract common parts of polling/sampling thread management into sourc…

    …e api.
    
    The source api defines two kinds of data sources - one is based on sampling, other on events.
    For sampling it involves management of threads which can work at different rate.
    
    The PLC4X part got also its own source concept which works with Plc4xSampler and generic purpose subscriber.
    
    Signed-off-by: Łukasz Dywicki <luke@code-house.org>
    splatch committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    44d590b View commit details
    Browse the repository at this point in the history