static rc_ReturnCode_t notificationCb(swi_dset_Iterator_t *data) { waitingForNotification = 0; test_dt_Get(); test_dt_MultipleGet(); return RC_OK; }
int main(void) { swi_dt_regId_t regId = NULL; INIT_TEST("DT_TEST"); test_dt_Init(); test_dt_Register(); test_dt_Set(); while(waitingForNotification) ; test_dt_Get(); test_dt_MultipleGet(); test_dt_Unregister(); test_dt_SetTypes(); test_dt_Destroy(); return 0; }