vscphlp_getGuidFromStringEx

int vscphlp_getGuidFromStringEx( vscpEvent *pEvent, 
                            const char * pGUID )

Parameters

pEvent

VSCP event ex.

pGUID

Pointer to GUID in string form.

Return Value

VSCP_ERROR_SUCCESS on success.

Description

Write GUID into VSCP event ex from a string.

Example

char strguid[64], strguid2[64];

if ( VSCP_ERROR_SUCCESS == vscphlp_getGuidFromStringEx( &ex3, strguid ) ) {        
    vscphlp_writeGuidToStringEx( &ex3, strguid2, sizeof( strguid2 )-1 );
    printf( "GUID=%s\n", strguid2 );
}
else {
    printf( "\aError: vscphlp_writeGuidArrayToString\n");
}

See Also

vscphlp_getGuidFromString


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 ""