5#ifndef __INCLUDE_DAO_CARD_GRPC_CLIENT_H__
6#define __INCLUDE_DAO_CARD_GRPC_CLIENT_H__
8#include "../dao_card_grpc_service.h"
27struct dao_card_grpc_ctx;
56int dao_card_init(
struct dao_card_grpc_ctx *ctx,
struct dao_card_config *config);
140 enum dao_card_update_type type);
int dao_card_file_update(struct dao_card_grpc_ctx *ctx, struct dao_card_update_req *req, enum dao_card_update_type type)
int dao_card_dmesg_get(struct dao_card_grpc_ctx *ctx, char *buf, size_t len)
void dao_card_fini(struct dao_card_grpc_ctx *ctx)
int dao_card_init(struct dao_card_grpc_ctx *ctx, struct dao_card_config *config)
int dao_card_info_get(struct dao_card_grpc_ctx *ctx, struct dao_card_info *info)
int dao_card_sensors_get(struct dao_card_grpc_ctx *ctx, char *buf, size_t len)
int dao_card_app_fallback(struct dao_card_grpc_ctx *ctx)
void dao_card_grpc_client_fini(struct dao_card_grpc_ctx *ctx)
int dao_card_stats_get(struct dao_card_grpc_ctx *ctx, struct dao_card_stats *stats)
struct dao_card_grpc_ctx * dao_card_grpc_client_init(const char *server_ip, uint16_t server_port)