nsdsp_get_serial
nsdsp_get_version nsdsp_get_abort_id nsdsp_adjust_vdd nsdsp_adjust_vpp nsdsp_set_vdd_override nsdsp_set_rate nsdsp_set_flow_control nsdsp_use_alt_mclr nsdsp_use_method nsdsp_ignore_eeprom nsdsp_ignore_uid nsdsp_allow_otp nsdsp_config_jtag nsdsp_config_debug nsdsp_config_lvp nsdsp_config_cksw nsdsp_config_wdt nsdsp_reset_after_prog nsdsp_set_debug_magic nsdsp_set_debug_rom nsdsp_set_debug_ram nsdsp_set_debug_cores nsdsp_start_spi_session nsdsp_start_uart_session nsdsp_start_prog_session nsdsp_start_debug_session nsdsp_end_sessionnsdsp_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
© 2007-2026 Northern Software Inc. All Rights Reserved.