Vision Apps User Guide
app_remote_service.h File Reference

Go to the source code of this file.

Data Structures

struct  app_remote_service_init_prms_t
 Remote service init params. More...
 

Macros

#define APP_REMOTE_SERVICE_FLAG_NO_WAIT_ACK   (0x00000001u)
 Flag to indicate that this service command does not need a ACK. More...
 

Typedefs

typedef int32_t(* app_remote_service_handler_t) (char *service_name, uint32_t cmd, void *prm, uint32_t prm_size, uint32_t flags)
 Remote service handler. More...
 

Functions

void appRemoteServiceInitSetDefault (app_remote_service_init_prms_t *prm)
 Init prm with default parameters. More...
 
int32_t appRemoteServiceInit (app_remote_service_init_prms_t *prm)
 Init remote service task. More...
 
int32_t appRemoteServiceRegister (const char *service_name, app_remote_service_handler_t handler)
 Remote service register. More...
 
int32_t appRemoteServiceUnRegister (const char *service_name)
 Remote service unregister. More...
 
int32_t appRemoteServiceRun (uint32_t dst_app_cpu_id, const char *service_name, uint32_t cmd, void *prm, uint32_t prm_size, uint32_t flags)
 Run a remote service. More...
 
int32_t appRemoteServiceDeInit ()
 DeInit remote service task. More...