Function anjay_send_batch_data_add_current_multiple
Defined in File lwm2m_send.h
Function Documentation
-
int anjay_send_batch_data_add_current_multiple(anjay_send_batch_builder_t *builder, anjay_t *anjay, const anjay_send_resource_path_t *paths, size_t paths_length)
Reads values from data model of object
anjay(without checking access privileges) and adds them to the builder with the same timestamp for every value. Timestamp is set toavs_time_real_now().- Parameters:
builder – Pointer to batch builder, MUST NOT be
NULLanjay – Pointer to Anjay object, MUST NOT be
NULLpaths – Pointer to array of anjay_send_resource_path_t .
paths_length – Length of
pathsarray.
- Returns:
0 on success, negative value otherwise. In case of failure, the
builderis left unchanged.