vscphlp_convertEventExToJSON

int vscphlp_convertEventExToJSON( vscpEventEx *pEventEx, 
                                char *pBuffer,
                                size_t len )

Parameters

pEventEx

Pointer to eventex.

pBuffer

Buffer that will receive string result ==

len

Size of string buffer.

Return Value

VSCP_ERROR_SUCCESS is returned on success, VSCP_ERROR_BUFFER_TO_SMALL is returned if the size of the supplied buffer is to small.

Description

Write VSCP event-ex on JSON format to string. Format is specified in vscp.h.

See Also

vscphlp_convertEventToJSON


Very Simple Control Protocol
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 ""