Buy Contact Devices Home

nsdsp_get_serial

This function returns the serial number of the NSDSP programmer connected to the NSDSP object.

Syntax

int nsdsp_get_serial(
        nsdsp_t           nsdsp,
        char*             serial
);

Parameters

nsdsp - a reference to the NSDSP object returned by nsdsp_connect function

serial - the buffer to be filled with the serial number. The buffer must be at least 32 characters long.

Return

The function returns non-zero in case of success or zero if the serial number cannot be retrieved.

On Windows, there are two versions of this function - nsdsp_get_serial_a (for ASCII) and nsdsp_get_serial_w (for UNICODE). The "nsdspif.h" file maps nsdsp_get_serial to one of these functions depending on whether UNICODE is defined or not.

 

Minimum library version - 163

Northern Software Home NSDSP Supported Devices Contact Us Purchase/View Cart

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