Go to the documentation of this file.
70 #ifndef VS_SECURITY_SDK_SNAP_SERVICES_PRVS_CLIENT_H
71 #define VS_SECURITY_SDK_SNAP_SERVICES_PRVS_CLIENT_H
80 namespace VirgilIoTKit {
201 uint16_t *signature_sz,
296 #endif // PRVS_CLIENT
298 #endif // VS_SECURITY_SDK_SNAP_SERVICES_PRVS_CLIENT_H
vs_snap_prvs_element_e
Provision operations.
Definition: provision-structs.h:143
vs_status_e(* vs_snap_prvs_stop_wait_t)(int *condition, int expect)
Stop waiting implementation.
Definition: prvs-client.h:96
vs_status_e
Status code.
Definition: status_code.h:77
MAC address.
Definition: snap-structs.h:252
vs_status_e vs_snap_prvs_enum_devices(const vs_netif_t *netif, vs_snap_prvs_dnid_list_t *list, uint32_t wait_ms)
Enumerate devices, which don't have initialization provision yet.
vs_status_e vs_snap_prvs_get(const vs_netif_t *netif, const vs_mac_addr_t *mac, vs_snap_prvs_element_e element, uint8_t *data, uint16_t buf_sz, uint16_t *data_sz, uint32_t wait_ms)
Get data.
vs_status_e vs_snap_prvs_device_info(const vs_netif_t *netif, const vs_mac_addr_t *mac, vs_snap_prvs_devi_t *device_info, uint16_t buf_sz, uint32_t wait_ms)
Request device information.
Provision interface structures.
vs_snap_prvs_wait_t wait_func
Wait implementation.
Definition: prvs-client.h:113
Device information.
Definition: prvs-structs.h:83
vs_status_e vs_snap_prvs_sign_data(const vs_netif_t *netif, const vs_mac_addr_t *mac, const uint8_t *data, uint16_t data_sz, uint8_t *signature, uint16_t buf_sz, uint16_t *signature_sz, uint32_t wait_ms)
Sign data.
PRVS client implementation.
Definition: prvs-client.h:111
Devices enumeration.
Definition: prvs-structs.h:72
vs_status_e vs_snap_prvs_set(const vs_netif_t *netif, const vs_mac_addr_t *mac, vs_snap_prvs_element_e element, const uint8_t *data, uint16_t data_sz, uint32_t wait_ms)
Set data.
SNAP service descriptor.
Definition: snap-structs.h:312
vs_snap_prvs_stop_wait_t stop_wait_func
Stop waiting implementation.
Definition: prvs-client.h:112
Network interface.
Definition: snap-structs.h:293
vs_status_e vs_snap_prvs_set_tl_footer(const vs_netif_t *netif, const vs_mac_addr_t *mac, const uint8_t *data, uint16_t data_sz, uint32_t wait_ms)
Set Trust List footer.
vs_status_e(* vs_snap_prvs_wait_t)(uint32_t wait_ms, int *condition, int idle)
Wait implementation.
Definition: prvs-client.h:108
vs_status_e vs_snap_prvs_save_provision(const vs_netif_t *netif, const vs_mac_addr_t *mac, uint8_t *asav_res, uint16_t buf_sz, uint32_t wait_ms)
Save provision.
const vs_snap_service_t * vs_snap_prvs_client(vs_snap_prvs_client_impl_t impl)
PRVS Client SNAP Service implementation.
vs_status_e vs_snap_prvs_set_tl_header(const vs_netif_t *netif, const vs_mac_addr_t *mac, const uint8_t *data, uint16_t data_sz, uint32_t wait_ms)
Set Trust List header.