01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>IPC<strong>@CHIP</strong></strong> <strong>Documentation</strong> Index<br />

CGI API Error Codes<br />

CGI Error Codes - <strong>SC12</strong> <strong>@CHIP</strong>-<strong>RTOS</strong> <strong>V1.10</strong><br />

All error codes listed here are defined in the header file, cgi.h.<br />

CGI error codes returned by CGI API calls in the DX-Register<br />

0 = CGI_ENOERROR -> success<br />

-1 = CGI_ERROR -> error, AX contains error code<br />

-2 = CGI_NOT_SUPPORTED -> invalid function number was in the AH-reg.<br />

CGI specific error codes returned by CGI API calls in the AX register when DX register was non-zero<br />

(error indication):<br />

-1 = CGI_INVALID_METHOD -> invalid method<br />

-2 = CGI_INVALID_NAME -> invalid URL name<br />

-3 = CGI_INVALID_DIR -> invalid directory<br />

-4 = CGI_NO_FREE_ENTRY -> no space in CGI table<br />

-5 = CGI_NOT_FOUND -> entry not found<br />

End of document<br />

Page 373 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!