vscphlp_writeGuidToString4Rows

int vscphlp_writeGuidToString4Rows( const vscpEvent *pEvent, 
                                      char *strGUID,
                                      size_t len )

Parameters

pEvent

VSCP event.

strGUID

String that get formatted GUID.

len

Size of string buffer.

Return Value

VSCP_ERROR_SUCCESS on success.

Description

Write GUID from VSCP event to string with four bytes on each row separated by “\r\n”.

Example

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

See Also

vscphlp_writeGuidToString4RowsEx


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