RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
368
Ctrl Command eth_get_last_error
Function Returns an error code which contains only the errors that have occurred during execution
of the most recent RTC6 Ethernet Board command.
Call
EthLastError = eth_get_last_error()
Parameters None.
Result Error code. Identical to eth_get_error.
As an unsigned 32-bit value.
If several errors occurred at the same time, several bits are set.
no_error
= 0. No error. Error Numeric value (2
[Bit]
)
wsasstartup_failed
Bit 0 1
wrong_winsock_version
Bit 1 2
Reserved.
Bit 2 4
udp_create_socket_error
Bit 3 8
udp_bind_socket_error
Bit 4 16
udp_connect_socket_error
Bit 5 32
udp_excl_add_use_error
Bit 6 64
udp_bc_ena_error
Bit 7 128
Reserved.
Bit 8 256
tcp_create_socket_error
Bit 9 512
tcp_excl_add_use_error
Bit 10 1024
tcp_bind_socket_error
Bit 11 2048
Reserved.
Bit 12 4096
tcp_connect_socket_error
Bit 13 8192
tcp_connect_sel_error
Bit 14 16384
tcp_connect_fds_error
Bit 15 32768
tcp_nodelay_error
Bit 16 65536
create_thread_failed
Bit 17 131072
udp_recv_error
Bit 18 262144
udp_send_error
Bit 19 524288
udp_recv_timeout
Bit 20 1048576
already_acquired
Bit 21 2097152
not_acquired
Bit 22 4194304
access_denied
Bit 23 8388608
send_tgm_timeout
Bit 24 16777216
card_not_found
Bit 25 33554432
core1_timeout
Bit 26 67108864
bootmode_set_failed
Bit 27 134217728