Error Codes
The following are error codes you can check against when calling the TSCF layer to ensure you can handle all success and failure scenarios:
| Return Value | TSC_ERROR_CODE |
|---|---|
| 0 | tsc_error_code_ok |
| 1 | tsc_error_code_error |
| 2 | tsc_error_code_not_logged |
| 3 | tsc_error_code_cannot_connect |
| 4 | tsc_error_code_cannot_configure |
| 5 | tsc_error_code_keepalive_failure |
| 6 | tsc_error_code_service_failure |
| 7 | tsc_error_code_cannot_recv_data |
| 8 | tsc_error_code_no_data |
| 9 | tsc_error_code_cannot_send_data |
| 10 | tsc_error_code_authenticate |
| 11 | tsc_error_code_cannot_release |
| 12 | tsc_error_code_queue_overflow |

