Getting the SPCN system reference code
To return the system powered control network (SPCN) system reference code (SRC), if available, you can use the GetSPCNSRC API (use the uppercase and lowercase characters as shown).
There are no restrictions to the use of this command.
This API returns the following information:
Bytes 0 and 1 Bytes 2 and 3 Bytes 4 through 4+N 16-bit return code 0 = Command successful
1 = Command unsuccessful
16-bit additional data length N N = size of hexadecimal return value (does not count end of string NULL)
0x'XXXXXXXX' Hexadecimal return data will be 4 bytes available by SRC.
Parent topic:
APIs that check the system status