Function anjay_dm_emit

Function Documentation

void anjay_dm_emit(anjay_dm_list_ctx_t *ctx, uint16_t id)

Used to return entries from anjay_dm_list_instances_t or anjay_dm_list_resource_instances_t .

This function returns no value. Any errors that may occur are handled internally by the library after the calling handler returns.

Parameters:
  • ctx – Context passed to the iteration handler.

  • id – ID of the returned Object Instance or Resource Instance. MUST NOT be ANJAY_ID_INVALID / ANJAY_ID_INVALID (65535).