Synopsis
CTL_STATUS_t ctl_xively_datastream_initialize(CTL_XIVELY_DATASTREAM_t *self,
                                              const char *id,
                                              size_t capacity,
                                              CTL_XIVELY_DATAPOINT_t *data);
Description

ctl_xively_datastream_initialize initializes the local datastream self using the datastream ID id to contain at most capacity datapoints in the array pointed to by data.

Once the datastream is initialized, it must be registered with a feed using ctl_xively_feed_register_datastream.

Return Value

ctl_xively_datastream_initialize returns a standard status code.

See Also

ctl_xively_feed_register_datastream