You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.2 KiB
30 lines
1.2 KiB
#pragma once
|
|
#include "AIPVProtocol.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
bool KVS_API AIPV_Init();
|
|
bool KVS_API AIPV_Clear();
|
|
AIPV::AIPVErrorCode KVS_API AIPV_GetLastError();
|
|
|
|
bool KVS_API AIPV_IsConnected(uint32_t handle);
|
|
|
|
uint32_t KVS_API AIPV_Connect(const char* serverIP);
|
|
bool KVS_API AIPV_Stop(uint32_t handle);
|
|
|
|
bool KVS_API AIPV_UploadImage(uint32_t handle, AIPV::AIPVFrameHeader* imgHeader, uint8_t* imgData);
|
|
bool KVS_API AIPV_MonitorDir(uint32_t handle, const wchar_t* dirPath, AIPV::fcbBeforeUpload callback/*, void* userData*/);
|
|
bool KVS_API AIPV_SubscribeAIResult(uint32_t handle, bool enable, AIPV::fcbAIPVResult callback);
|
|
|
|
// module settings
|
|
bool KVS_API AIPV_SetModuleOperationTimeout(uint32_t handle, uint32_t milliseconds);
|
|
uint32_t KVS_API AIPV_LoadAIModule(uint32_t handle, AIPV::AIModuleType type);
|
|
bool KVS_API AIPV_SetAIModuleParam(uint32_t handle, uint32_t moduleID, const char* jsonSettings, uint32_t jsonLen);
|
|
bool KVS_API AIPV_GetAIModuleParam(uint32_t handle, uint32_t moduleID, char* jsonSettings, uint32_t& jsonLen);
|
|
|
|
// debug interface
|
|
bool KVS_API AIPV_SimulateDir(uint32_t handle, const wchar_t* dirPath, uint32_t milliseconds, AIPV::fcbBeforeUpload callback, void* userData);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|