LIO_SendProduct Function (ROM Call 0x253)

link.h

unsigned short LIO_SendProduct (LIO_CTX *file, unsigned short DevType);

Sends a product code through the link interface.

LIO_SendProduct is a high-level function which sends a Product Code through the link interface. What exactly will be sent is described in LIO_CTX structure pointed to by file. Parameter DevType determines the device type (see LIO_Send for the explanation about its meaning). This routine is called from the VAR_LINK menu. Returns zero if the operation was successful, else returns a non-zero value (this value describes the type of the error, but I am not sure about the concrete meaning of particular values).


Uses: LIO_RecvData, LIO_SendData, OSLinkClose, OSLinkOpen, OSLinkReset, OSClearBreak