vscphlp_writeGuidToString

int vscphlp_writeGuidToString( const vscpEvent *pEvent, 
                                char *pStr, 
                                size_t len )

Parameters

pEvent

VSCP event.

pStr

Pointer to GUID in string form.

len

Size of string buffer.

Return Value

VSCP_ERROR_SUCCESS on success.

Description

Write GUID from VSCP event to string.

Example

if ( VSCP_ERROR_SUCCESS == vscphlp_getGuidFromString( pEvent, strguid ) ) {
   vscphlp_writeGuidToString( pEvent, strguid2, sizeof( strguid2 )-1 );
   printf( "GUID=%s\n", strguid2 );
}
else {
    printf( "\aError: vscphlp_writeGuidArrayToString\n");
}

See Also

vscphlp_writeGuidToStringEx


Very Simple Control Protocol
Wed Jul 04 2018 19:49:59 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 ""