36 #ifndef _BCAP_EXP_CLIENT 37 #define _BCAP_EXP_CLIENT 40 #include "../dn_common.h" 47 #define BCAP_CONN_MAX (20) _BCAP_EXP_CLIENT HRESULT bCap_CommandGetResult(int fd, uint32_t hCommand, VARIANT *pVal)
Send the b-CAP ID_COMMAND_GETRESULT packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileGetAttribute(int fd, uint32_t hFile, int32_t *pVal)
Send the b-CAP ID_FILE_GETATTRIBUTE packet.
_BCAP_EXP_CLIENT HRESULT bCap_CommandGetID(int fd, uint32_t hCommand, VARIANT *pVal)
Send the b-CAP ID_COMMAND_GETID packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotGetVariable(int fd, uint32_t hRobot, BSTR bstrName, BSTR bstrOption, uint32_t *hVariable)
Send the b-CAP ID_ROBOT_GETVARIABLE packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotUnhold(int fd, uint32_t hRobot, BSTR bstrOption)
Send the b-CAP ID_ROBOT_UNHOLD packet.
_BCAP_EXP_CLIENT HRESULT bCap_CommandGetParameters(int fd, uint32_t hCommand, VARIANT *pVal)
Send the b-CAP ID_COMMAND_GETPARAMETERS packet.
_BCAP_EXP_CLIENT HRESULT bCap_MessageClear(int fd, uint32_t hMessage)
Send the b-CAP ID_MESSAGE_CLEAR packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerGetExtensionNames(int fd, uint32_t hController, BSTR bstrOption, VARIANT *pVal)
Send the b-CAP ID_CONTROLLER_GETEXTENSIONNAMES packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileCopy(int fd, uint32_t hFile, BSTR bstrName, BSTR bstrOption)
Send the b-CAP ID_FILE_COPY packet.
_BCAP_EXP_CLIENT HRESULT bCap_ExtensionGetName(int fd, uint32_t hExtension, BSTR *pVal)
Send the b-CAP ID_EXTENSION_GETNAME packet.
_BCAP_EXP_CLIENT HRESULT bCap_ExtensionRelease(int fd, uint32_t *hExtension)
Send the b-CAP ID_EXTENSION_RELEASE packet.
_BCAP_EXP_CLIENT HRESULT bCap_VariableGetID(int fd, uint32_t hVariable, VARIANT *pVal)
Send the b-CAP ID_VARIABLE_GETID packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileGetName(int fd, uint32_t hFile, BSTR *pVal)
Send the b-CAP ID_FILE_GETNAME packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotPutID(int fd, uint32_t hRobot, VARIANT newVal)
Send the b-CAP ID_ROBOT_PUTID packet.
_BCAP_EXP_CLIENT HRESULT bCap_TaskGetVariableNames(int fd, uint32_t hTask, BSTR bstrOption, VARIANT *pVal)
Send the b-CAP ID_TASK_GETVARIABLENAMES packet.
_BCAP_EXP_CLIENT HRESULT bCap_TaskDelete(int fd, uint32_t hTask, BSTR bstrOption)
Send the b-CAP ID_TASK_DELETE packet.
_BCAP_EXP_CLIENT HRESULT bCap_MessageRelease(int fd, uint32_t *hMessage)
Send the b-CAP ID_MESSAGE_RELEASE packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotGetTag(int fd, uint32_t hRobot, VARIANT *pVal)
Send the b-CAP ID_ROBOT_GETTAG packet.
_BCAP_EXP_CLIENT HRESULT bCap_CommandGetName(int fd, uint32_t hCommand, BSTR *pVal)
Send the b-CAP ID_COMMAND_GETNAME packet.
_BCAP_EXP_CLIENT HRESULT bCap_TaskGetName(int fd, uint32_t hTask, BSTR *pVal)
Send the b-CAP ID_TASK_GETNAME packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotGetAttribute(int fd, uint32_t hRobot, int32_t *pVal)
Send the b-CAP ID_ROBOT_GETATTRIBUTE packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotGoHome(int fd, uint32_t hRobot)
Send the b-CAP ID_ROBOT_GOHOME packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileGetDateLastAccessed(int fd, uint32_t hFile, VARIANT *pVal)
Send the b-CAP ID_FILE_GETDATELASTACCESSED packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerGetRobot(int fd, uint32_t hController, BSTR bstrName, BSTR bstrOption, uint32_t *hRobot)
Send the b-CAP ID_CONTROLLER_GETROBOT packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileGetFile(int fd, uint32_t hFile, BSTR bstrName, BSTR bstrOption, uint32_t *hFile2)
Send the b-CAP ID_FILE_GETFILE packet.
_BCAP_EXP_CLIENT HRESULT bCap_CommandPutTimeout(int fd, uint32_t hCommand, int32_t newVal)
Send the b-CAP ID_COMMAND_PUTTIMEOUT packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerGetTaskNames(int fd, uint32_t hController, BSTR bstrOption, VARIANT *pVal)
Send the b-CAP ID_CONTROLLER_GETTASKNAMES packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileGetVariable(int fd, uint32_t hFile, BSTR bstrName, BSTR bstrOption, uint32_t *hVariable)
Send the b-CAP ID_FILE_GETVARIABLE packet.
_BCAP_EXP_CLIENT HRESULT bCap_MessageReply(int fd, uint32_t hMessage, VARIANT vntData)
Send the b-CAP ID_MESSAGE_REPLY packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerGetCommandNames(int fd, uint32_t hController, BSTR bstrOption, VARIANT *pVal)
Send the b-CAP ID_CONTROLLER_GETCOMMANDNAMES packet.
_BCAP_EXP_CLIENT HRESULT bCap_ExtensionGetVariable(int fd, uint32_t hExtension, BSTR bstrName, BSTR bstrOption, uint32_t *hVariable)
Send the b-CAP ID_EXTENSION_GETVARIABLE packet.
_BCAP_EXP_CLIENT HRESULT bCap_MessageGetDescription(int fd, uint32_t hMessage, BSTR *pVal)
Send the b-CAP ID_MESSAGE_GETDESCRIPTION packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileDelete(int fd, uint32_t hFile, BSTR bstrOption)
Send the b-CAP ID_FILE_DELETE packet.
_BCAP_EXP_CLIENT HRESULT bCap_CommandPutParameters(int fd, uint32_t hCommand, VARIANT newVal)
Send the b-CAP ID_VARIABLE_PUTPARAMETERS packet.
_BCAP_EXP_CLIENT HRESULT bCap_ExtensionGetVariableNames(int fd, uint32_t hExtension, BSTR bstrOption, VARIANT *pVal)
Send the b-CAP ID_EXTENSION_GETVARIABLENAMES packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerGetFile(int fd, uint32_t hController, BSTR bstrName, BSTR bstrOption, uint32_t *hFile)
Send the b-CAP ID_CONTROLLER_GETFILE packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileMove(int fd, uint32_t hFile, BSTR bstrName, BSTR bstrOption)
Send the b-CAP ID_FILE_MOVE packet.
_BCAP_EXP_CLIENT HRESULT bCap_MessageGetNumber(int fd, uint32_t hMessage, int32_t *pVal)
Send the b-CAP ID_MESSAGE_GETNUMBER packet.
_BCAP_EXP_CLIENT HRESULT bCap_ServiceStart(int fd, BSTR bstrOption)
Send the b-CAP ID_SERVICE_START packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileRun(int fd, uint32_t hFile, BSTR bstrOption, BSTR *pVal)
Send the b-CAP ID_FILE_RUN packet.
_BCAP_EXP_CLIENT HRESULT bCap_VariableRelease(int fd, uint32_t *hVariable)
Send the b-CAP ID_VARIABLE_RELEASE packet.
_BCAP_EXP_CLIENT HRESULT bCap_MessageGetSerialNumber(int fd, uint32_t hMessage, int32_t *pVal)
Send the b-CAP ID_MESSAGE_GETSERIALNUMBER packet.
_BCAP_EXP_CLIENT HRESULT bCap_TaskStart(int fd, uint32_t hTask, int32_t lMode, BSTR bstrOption)
Send the b-CAP ID_TASK_START packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotGetHelp(int fd, uint32_t hRobot, BSTR *pVal)
Send the b-CAP ID_ROBOT_GETHELP packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerExecute(int fd, uint32_t hController, BSTR bstrCommand, VARIANT vntParam, VARIANT *pVal)
Send the b-CAP ID_CONTROLLER_EXECUTE packet.
_BCAP_EXP_CLIENT HRESULT bCap_TaskGetHelp(int fd, uint32_t hTask, BSTR *pVal)
Send the b-CAP ID_TASK_GETHELP packet.
_BCAP_EXP_CLIENT HRESULT bCap_CommandExecute(int fd, uint32_t hCommand, int32_t lMode, VARIANT *pVal)
Send the b-CAP ID_COMMAND_EXECUTE packet.
_BCAP_EXP_CLIENT HRESULT bCap_ExtensionGetAttribute(int fd, uint32_t hExtension, int32_t *pVal)
Send the b-CAP ID_EXTENSION_GETATTRIBUTE packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerDisconnect(int fd, uint32_t *hController)
Send the b-CAP ID_CONTROLLER_DISCONNECT packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerGetFileNames(int fd, uint32_t hController, BSTR bstrOption, VARIANT *pVal)
Send the b-CAP ID_CONTROLLER_GETFILENAMES packet.
_BCAP_EXP_CLIENT HRESULT bCap_CommandGetTimeout(int fd, uint32_t hCommand, int32_t *pVal)
Send the b-CAP ID_COMMAND_GETTIMEOUT packet.
_BCAP_EXP_CLIENT HRESULT bCap_CommandGetState(int fd, uint32_t hCommand, int32_t *pVal)
Send the b-CAP ID_COMMAND_GETSTATE packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerPutID(int fd, uint32_t hController, VARIANT newVal)
Send the b-CAP ID_CONTROLLER_PUTID packet.
_BCAP_EXP_CLIENT HRESULT bCap_VariableGetDateTime(int fd, uint32_t hVariable, VARIANT *pVal)
Send the b-CAP ID_VARIABLE_GETDATETIME packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerGetTag(int fd, uint32_t hController, VARIANT *pVal)
Send the b-CAP ID_CONTROLLER_GETTAG packet.
_BCAP_EXP_CLIENT HRESULT bCap_TaskGetTag(int fd, uint32_t hTask, VARIANT *pVal)
Send the b-CAP ID_TASK_GETTAG packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotHalt(int fd, uint32_t hRobot, BSTR bstrOption)
Send the b-CAP ID_ROBOT_HALT packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerGetCommand(int fd, uint32_t hController, BSTR bstrName, BSTR bstrOption, uint32_t *hCommand)
Send the b-CAP ID_CONTROLLER_GETCOMMAND packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotUnchuck(int fd, uint32_t hRobot, BSTR bstrOption)
Send the b-CAP ID_ROBOT_UNCHUCK packet.
_BCAP_EXP_CLIENT HRESULT bCap_Open_Client(const char *connect, uint32_t timeout, unsigned int retry, int *pfd)
Starts b-CAP communication.
_BCAP_EXP_CLIENT HRESULT bCap_TaskGetAttribute(int fd, uint32_t hTask, int32_t *pVal)
Send the b-CAP ID_TASK_GETATTRIBUTE packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotAccelerate(int fd, uint32_t hRobot, int32_t lAxis, float fAccel, float fDecel)
Send the b-CAP ID_ROBOT_ACCELERATE packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotChuck(int fd, uint32_t hRobot, BSTR bstrOption)
Send the b-CAP ID_ROBOT_CHUCK packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileGetVariableNames(int fd, uint32_t hFile, BSTR bstrOption, VARIANT *pVal)
Send the b-CAP ID_FILE_GETVARIABLENAMES packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotExecute(int fd, uint32_t hRobot, BSTR bstrCommand, VARIANT vntParam, VARIANT *pVal)
Send the b-CAP ID_ROBOT_EXECUTE packet.
_BCAP_EXP_CLIENT HRESULT bCap_ExtensionExecute(int fd, uint32_t hExtension, BSTR bstrCommand, VARIANT vntParam, VARIANT *pVal)
Send the b-CAP ID_EXTENSION_EXECUTE packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotRotate(int fd, uint32_t hRobot, VARIANT vntRotSuf, float fDeg, VARIANT vntPivot, BSTR bstrOption)
Send the b-CAP ID_ROBOT_ROTATE packet.
_BCAP_EXP_CLIENT HRESULT bCap_CommandGetAttribute(int fd, uint32_t hCommand, int32_t *pVal)
Send the b-CAP ID_COMMAND_GETATTRIBUTE packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerGetID(int fd, uint32_t hController, VARIANT *pVal)
Send the b-CAP ID_CONTROLLER_GETID packet.
_BCAP_EXP_CLIENT HRESULT bCap_TaskPutTag(int fd, uint32_t hTask, VARIANT newVal)
Send the b-CAP ID_TASK_PUTTAG packet.
_BCAP_EXP_CLIENT HRESULT bCap_CommandRelease(int fd, uint32_t *hCommand)
Send the b-CAP ID_COMMAND_RELEASE packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotChange(int fd, uint32_t hRobot, BSTR bstrName)
Send the b-CAP ID_ROBOT_CHANGE packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileGetHelp(int fd, uint32_t hFile, BSTR *pVal)
Send the b-CAP ID_FILE_GETHELP packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerConnect(int fd, BSTR bstrName, BSTR bstrProvider, BSTR bstrMachine, BSTR bstrOption, uint32_t *hController)
Send the b-CAP ID_CONTROLLER_CONNECT packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileExecute(int fd, uint32_t hFile, BSTR bstrCommand, VARIANT vntParam, VARIANT *pVal)
Send the b-CAP ID_FILE_EXECUTE packet.
_BCAP_EXP_CLIENT HRESULT bCap_CommandGetTag(int fd, uint32_t hCommand, VARIANT *pVal)
Send the b-CAP ID_COMMAND_GETTAG packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileRelease(int fd, uint32_t *hFile)
Send the b-CAP ID_FILE_RELEASE packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileGetPath(int fd, uint32_t hFile, BSTR *pVal)
Send the b-CAP ID_FILE_GETPATH packet.
_BCAP_EXP_CLIENT HRESULT bCap_VariableGetTag(int fd, uint32_t hVariable, VARIANT *pVal)
Send the b-CAP ID_VARIABLE_GETTAG packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotRelease(int fd, uint32_t *hRobot)
Send the b-CAP ID_ROBOT_RELEASE packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileGetDateLastModified(int fd, uint32_t hFile, VARIANT *pVal)
Send the b-CAP ID_FILE_GETDATELASTMODIFIED packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotHold(int fd, uint32_t hRobot, BSTR bstrOption)
Send the b-CAP ID_ROBOT_HOLD packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileGetFileNames(int fd, uint32_t hFile, BSTR bstrOption, VARIANT *pVal)
Send the b-CAP ID_FILE_GETFILENAMES packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotPutTag(int fd, uint32_t hRobot, VARIANT newVal)
Send the b-CAP ID_ROBOT_PUTTAG packet.
_BCAP_EXP_CLIENT HRESULT bCap_VariableGetValue(int fd, uint32_t hVariable, VARIANT *pVal)
Send the b-CAP ID_VARIABLE_GETVALUE packet.
_BCAP_EXP_CLIENT HRESULT bCap_ExtensionPutID(int fd, uint32_t hExtension, VARIANT newVal)
Send the b-CAP ID_EXTENSION_PUTID packet.
_BCAP_EXP_CLIENT HRESULT bCap_MessageGetDateTime(int fd, uint32_t hMessage, VARIANT *pVal)
Send the b-CAP ID_MESSAGE_GETDATETIME packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerGetTask(int fd, uint32_t hController, BSTR bstrName, BSTR bstrOption, uint32_t *hTask)
Send the b-CAP ID_CONTROLLER_GETTASK packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotMove(int fd, uint32_t hRobot, int32_t lComp, VARIANT vntPose, BSTR bstrOption)
Send the b-CAP ID_ROBOT_MOVE packet.
_BCAP_EXP_CLIENT HRESULT bCap_VariableGetAttribute(int fd, uint32_t hVariable, int32_t *pVal)
Send the b-CAP ID_VARIABLE_GETATTRIBUTE packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotGetVariableNames(int fd, uint32_t hRobot, BSTR bstrOption, VARIANT *pVal)
Send the b-CAP ID_ROBOT_GETVARIABLENAMES packet.
_BCAP_EXP_CLIENT HRESULT bCap_ExtensionGetHelp(int fd, uint32_t hExtension, BSTR *pVal)
Send the b-CAP ID_EXTENSION_GETHELP packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerGetRobotNames(int fd, uint32_t hController, BSTR bstrOption, VARIANT *pVal)
Send the b-CAP ID_CONTROLLER_GETROBOTNAMES packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerGetName(int fd, uint32_t hController, BSTR *pVal)
Send the b-CAP ID_CONTROLLER_GETNAME packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerGetVariableNames(int fd, uint32_t hController, BSTR bstrOption, VARIANT *pVal)
Send the b-CAP ID_CONTROLLER_GETVARIABLENAMES packet.
_BCAP_EXP_CLIENT HRESULT bCap_TaskGetVariable(int fd, uint32_t hTask, BSTR bstrName, BSTR bstrOption, uint32_t *hVariable)
Send the b-CAP ID_TASK_GETVARIABLE packet.
_BCAP_EXP_CLIENT HRESULT bCap_TaskGetFileName(int fd, uint32_t hTask, BSTR *pVal)
Send the b-CAP ID_TASK_GETFILENAME packet.
_BCAP_EXP_CLIENT HRESULT bCap_ExtensionPutTag(int fd, uint32_t hExtension, VARIANT newVal)
Send the b-CAP ID_EXTENSION_PUTTAG packet.
A type definition for the multi type variable.
_BCAP_EXP_CLIENT HRESULT bCap_GetTimeout(int fd, uint32_t *timeout)
Gets timeout.
_BCAP_EXP_CLIENT HRESULT bCap_FilePutTag(int fd, uint32_t hFile, VARIANT newVal)
Send the b-CAP ID_FILE_PUTTAG packet.
_BCAP_EXP_CLIENT HRESULT bCap_TaskStop(int fd, uint32_t hTask, int32_t lMode, BSTR bstrOption)
Send the b-CAP ID_TASK_STOP packet.
_BCAP_EXP_CLIENT HRESULT bCap_ExtensionGetTag(int fd, uint32_t hExtension, VARIANT *pVal)
Send the b-CAP ID_EXTENSION_GETTAG packet.
_BCAP_EXP_CLIENT HRESULT bCap_FilePutValue(int fd, uint32_t hFile, VARIANT newVal)
Send the b-CAP ID_FILE_PUTVALUE packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerGetExtension(int fd, uint32_t hController, BSTR bstrName, BSTR bstrOption, uint32_t *hExtension)
Send the b-CAP ID_CONTROLLER_GETEXTENSION packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileGetDateCreated(int fd, uint32_t hFile, VARIANT *pVal)
Send the b-CAP ID_FILE_GETDATECREATED packet.
_BCAP_EXP_CLIENT HRESULT bCap_CommandPutTag(int fd, uint32_t hCommand, VARIANT newVal)
Send the b-CAP ID_COMMAND_PUTTAG packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileGetSize(int fd, uint32_t hFile, int32_t *pVal)
Send the b-CAP ID_FILE_GETSIZE packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotGetID(int fd, uint32_t hRobot, VARIANT *pVal)
Send the b-CAP ID_ROBOT_GETID packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileGetValue(int fd, uint32_t hFile, VARIANT *pVal)
Send the b-CAP ID_FILE_GETVALUE packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotSpeed(int fd, uint32_t hRobot, int32_t lAxis, float fSpeed)
Send the b-CAP ID_ROBOT_SPEED packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerGetVariable(int fd, uint32_t hController, BSTR bstrName, BSTR bstrOption, uint32_t *hVariable)
Send the b-CAP ID_CONTROLLER_GETVARIABLE packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileGetType(int fd, uint32_t hFile, BSTR *pVal)
Send the b-CAP ID_FILE_GETTYPE packet.
_BCAP_EXP_CLIENT HRESULT bCap_FilePutID(int fd, uint32_t hFile, VARIANT newVal)
Send the b-CAP ID_FILE_PUTID packet.
_BCAP_EXP_CLIENT HRESULT bCap_SetTimeout(int fd, uint32_t timeout)
Sets timeout.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerGetHelp(int fd, uint32_t hController, BSTR *pVal)
Send the b-CAP ID_CONTROLLER_GETHELP packet.
_BCAP_EXP_CLIENT HRESULT bCap_MessageGetDestination(int fd, uint32_t hMessage, BSTR *pVal)
Send the b-CAP ID_MESSAGE_GETDESTINATION packet.
_BCAP_EXP_CLIENT HRESULT bCap_ExtensionGetID(int fd, uint32_t hExtension, VARIANT *pVal)
Send the b-CAP ID_EXTENSION_GETID packet.
_BCAP_EXP_CLIENT HRESULT bCap_VariableGetMicrosecond(int fd, uint32_t hVariable, int32_t *pVal)
Send the b-CAP ID_VARIABLE_GETMICROSECOND packet.
_BCAP_EXP_CLIENT HRESULT bCap_CommandCancel(int fd, uint32_t hCommand)
Send the b-CAP ID_COMMAND_CANCEL packet.
_BCAP_EXP_CLIENT HRESULT bCap_CommandPutID(int fd, uint32_t hCommand, VARIANT newVal)
Send the b-CAP ID_COMMAND_PUTID packet.
_BCAP_EXP_CLIENT HRESULT bCap_VariablePutTag(int fd, uint32_t hVariable, VARIANT newVal)
Send the b-CAP ID_VARIABLE_PUTTAG packet.
_BCAP_EXP_CLIENT HRESULT bCap_VariablePutID(int fd, uint32_t hVariable, VARIANT newVal)
Send the b-CAP ID_VARIABLE_PUTID packet.
_BCAP_EXP_CLIENT HRESULT bCap_TaskPutID(int fd, uint32_t hTask, VARIANT newVal)
Send the b-CAP ID_TASK_PUTID packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotDrive(int fd, uint32_t hRobot, int32_t lNo, float fMov, BSTR bstrOption)
Send the b-CAP ID_ROBOT_DRIVE packet.
_BCAP_EXP_CLIENT HRESULT bCap_MessageGetSource(int fd, uint32_t hMessage, BSTR *pVal)
Send the b-CAP ID_MESSAGE_GETSOURCE packet.
_BCAP_EXP_CLIENT HRESULT bCap_RobotGetName(int fd, uint32_t hRobot, BSTR *pVal)
Send the b-CAP ID_ROBOT_GETNAME packet.
_BCAP_EXP_CLIENT HRESULT bCap_TaskRelease(int fd, uint32_t *hTask)
Send the b-CAP ID_TASK_RELEASE packet.
_BCAP_EXP_CLIENT HRESULT bCap_VariableGetHelp(int fd, uint32_t hVariable, BSTR *pVal)
Send the b-CAP ID_VARIABLE_GETHELP packet.
static int connect(SOCKET s, const struct sockaddr *name, int namelen)
_BCAP_EXP_CLIENT HRESULT bCap_Close_Client(int *pfd)
Ends b-CAP communication.
_BCAP_EXP_CLIENT HRESULT bCap_CommandGetHelp(int fd, uint32_t hCommand, BSTR *pVal)
Send the b-CAP ID_COMMAND_GETHELP packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerPutTag(int fd, uint32_t hController, VARIANT newVal)
Send the b-CAP ID_CONTROLLER_PUTTAG packet.
_BCAP_EXP_CLIENT HRESULT bCap_TaskExecute(int fd, uint32_t hTask, BSTR bstrCommand, VARIANT vntParam, VARIANT *pVal)
Send the b-CAP ID_TASK_EXECUTE packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileGetTag(int fd, uint32_t hFile, VARIANT *pVal)
Send the b-CAP ID_FILE_GETTAG packet.
_BCAP_EXP_CLIENT HRESULT bCap_FileGetID(int fd, uint32_t hFile, VARIANT *pVal)
Send the b-CAP ID_FILE_GETID packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerGetMessage(int fd, uint32_t hController, uint32_t *hMessage)
Send the b-CAP ID_CONTROLLER_GETMESSAGE packet.
_BCAP_EXP_CLIENT HRESULT bCap_ControllerGetAttribute(int fd, uint32_t hController, int32_t *pVal)
Send the b-CAP ID_CONTROLLER_GETATTRIBUTE packet.
_BCAP_EXP_CLIENT HRESULT bCap_GetRetry(int fd, unsigned int *retry)
Gets retry count.
_BCAP_EXP_CLIENT HRESULT bCap_VariableGetName(int fd, uint32_t hVariable, BSTR *pVal)
Send the b-CAP ID_VARIABLE_GETNAME packet.
_BCAP_EXP_CLIENT HRESULT bCap_SetRetry(int fd, unsigned int retry)
Sets retry count.
_BCAP_EXP_CLIENT HRESULT bCap_VariablePutValue(int fd, uint32_t hVariable, VARIANT newVal)
Send the b-CAP ID_VARIABLE_PUTVALUE packet.
_BCAP_EXP_CLIENT HRESULT bCap_MessageGetValue(int fd, uint32_t hMessage, VARIANT *pVal)
Send the b-CAP ID_MESSAGE_GETVALUE packet.
_BCAP_EXP_CLIENT HRESULT bCap_ServiceStop(int fd)
Send the b-CAP ID_SERVICE_STOP packet.
_BCAP_EXP_CLIENT HRESULT bCap_TaskGetID(int fd, uint32_t hTask, VARIANT *pVal)
Send the b-CAP ID_TASK_GETID packet.