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

Add golioth_rpc_deinit() API #478

Merged
merged 5 commits into from
May 21, 2024
Merged

Add golioth_rpc_deinit() API #478

merged 5 commits into from
May 21, 2024

Commits on May 21, 2024

  1. zephyr: coap: allow observations to be cancelled by prefix

    The prefix indicates the type of observation and will be be used by the
    service APIs to cancel by service.
    
    Signed-off-by: Mike Szczys <[email protected]>
    szczys committed May 21, 2024
    Configuration menu
    Copy the full SHA
    720e802 View commit details
    Browse the repository at this point in the history
  2. libcoap: allow observations to be cancelled by prefix

    The prefix indicates the type of observation and will be be used by the
    service APIs to cancel by service.
    
    Signed-off-by: Mike Szczys <[email protected]>
    szczys committed May 21, 2024
    Configuration menu
    Copy the full SHA
    15bf4b8 View commit details
    Browse the repository at this point in the history
  3. coap client: cancel observations by prefix

    Implement golioth_coap_client_cancel_observations_by_prefix() to wrap the
    functions provided by the ports.
    
    Signed-off-by: Mike Szczys <[email protected]>
    szczys committed May 21, 2024
    Configuration menu
    Copy the full SHA
    e3237b6 View commit details
    Browse the repository at this point in the history
  4. rpc: add golioth_rpc_deinit()

    Add golioth_rpc_deinit() function that cancels RPC observations and frees
    the RPC context struct (used to store the registered RPC paths/methods).
    
    Signed-off-by: Mike Szczys <[email protected]>
    szczys committed May 21, 2024
    Configuration menu
    Copy the full SHA
    fcc66da View commit details
    Browse the repository at this point in the history
  5. hil: rpc: use golioth_rpc_deinit()

    Update the test to use the RPC deinit API instead of the internal cancel
    observations function.
    
    Signed-off-by: Mike Szczys <[email protected]>
    szczys committed May 21, 2024
    Configuration menu
    Copy the full SHA
    6fa46b1 View commit details
    Browse the repository at this point in the history