int vscphlp_setAfterCommandSleep( long handle, 
                unsigned short millisecondSleep )
int vscphlp_setAfterCommandSleep( handle, 
                                millisecondSleep )


Handle for the communication channel obtained from a call to vscphlp_newSession.


Timeout given in seconds. Can be set also before the session is open.

Return Value

VSCP_ERROR_SUCCESS is returned on success. VSCP_ERROR_INVALID_HANDLE is returned if an invalid handle is given.


This is the sleep time in milliseconds used to wait for the server to reply to a command. If there is not valid response received the thread will sleep for the amount of time set here + 200 milliseconds and then check the queue again for a valid response then sleep again and so on until the time set for the response timeout has elapsed, a valid response or an error response has been received. Default value is 0 milliseconds.

Very Simple Control Protocol
Fri Jan 11 2019 17:30:44 GMT+0000 (UTC)
This document is licensed under Creative Commons BY 4.0 and can be freely copied, redistributed, remixed, transformed, built upon as long as you give credits to the author((s).

results matching ""

    No results matching ""