pps_Object_write()

Send a stream of PPS data to a PPS object.

Synopsis:

#include <hnm/pps.h>
 
int pps_Object_write(pps_Object *pps_object, const char *pps_data, unsigned pps_data_size)

Arguments:

pps_object

A pointer to the structure that represents the PPS object to write data to. This object must be open for the write function to complete successfully.

pps_data

A buffer containing the PPS string data to write to the PPS object. This data must be NUL-terminated character data that represents valid PPS messages.

pps_data_size

The number of bytes of PPS data contained in the data buffer. The maximum PPS message size is 1024 bytes.

Library:

libhnm

Description:

Returns:

The number of bytes that were actually written to the PPS object.