Cart Contact NSDSP Home

nsdsp_debug_wait_for_data

This function waits until the specified amount of data is received from NSDSP programmer.

Syntax

int nsdsp_debug_wait_for_data(
        nsdsp_session_t   session,
        int               size
);

Parameters

session - a reference to the Debug Session Object obtained with nsdsp_session_program_for_debug or nsdsp_start_debug_session function

size - the requested amount of data in bytes

Return

The function returns non-zero if the requested amount of data is available, or zero in case of timeout.

Notes

This function is different from nsdsp_session_wait_for_data. Do not use nsdsp_session_wait_for_data when debugging.

 

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

© 2007-2025 Northern Software Inc. All Rights Reserved.