On Time RTOS-32 Documentation
Welcome
RTTarget-32
RTKernel-32
RTFiles-32
RTIP-32
RTIP-32 Programming Manual
RTIP-32 Reference Manual
RTIP-32 Configuration
Socket API
Simplified Networking API
Extended RTIP-32 API
Function vf_init
Function xn_add_dns_server
Function xn_add_host_table_entry
Function xn_clear_host_cache
Function xn_delete_host_table_entry
Function xn_get_domain_name
Function xn_has_dns
Function xn_set_domain_name
Function xn_set_server_list
Function xn_name2ip_addr
Function xn_abort
Function xn_arp_send
Function xn_attach
Function xn_bootp_res
Function xn_bootp
Function xn_debug_error
Function xn_getlasterror
Function xn_geterror_string
Function xn_interface_close
Function xn_interface_info
Function xn_interface_mcast
Function xn_interface_open
Function xn_interface_open_config
Function xn_interface_opt
Function xn_interface_ethernet_statistics
Function xn_interface_statistics
Function xn_ip_set_option
Function xn_ping
Function xn_pkt_data_max
Function xn_rarp
Function xn_rt_add
Function xn_rt_cycle_gw
Function xn_rt_del
Function xn_rt_replace
Function xn_rtip_exit
Function xn_rtip_init
Function xn_rtip_restart
Function xn_set_ip
Function xn_tcp_is_connect
Function xn_tcp_is_read
Function xn_tcp_is_write
Function xn_wait_tcp_output
Function xn_autoanswer
Function xn_autologin
Function xn_hangup
Function xn_scriptlogin
Function xn_autoip
Function xn_ioacc_init
Function xn_nat_init
Function xn_arp_add
Function xn_arp_del
Function xn_arp_remote
Function xn_arp_cache_lookup
Function xn_send_ethernet_frame
Function xn_callbacks
Function cb_wr_screen_string_fnc
Function cb_rs232_connection_lost_fnc
Function cb_error_report_fnc
Function cb_raw_mode_in_char_fnc
Function cb_autoip_new_ip_fnc
Function cb_autoip_no_ip_fnc
Function cb_packetin_isr
Function cb_packetin_task
Function cb_packetout
PPP
DHCP Client
DHCP Server
FTP Client
FTP Server
TFTP Client
TFTP Server
Telnet Client
Telnet Server
Web Server
SNMP Client
POP3 Client
SMTP Client
SNTP Client
SMB Server
SMB Client
SMB3 Server
SMB3 Client
WLAN Driver
Error Codes
RTPEG-32
RTUSB-32
|
Function xn_callbacks
xn_callbacks returns a pointer to an RTIP-32 internal callback structure.
typedef struct rtip_callbacks {
CB_CHAP_GET_RANDOM_VALUE_FNC cb_chap_get_random_value_fnc;
CB_WR_SCREEN_STRING_FNC cb_wr_screen_string_fnc;
CB_RAW_MODE_IN_CHAR_FNC cb_raw_mode_in_char_fnc;
CB_ERROR_REPORT_FNC cb_error_report_fnc;
CB_TELNET_INIT_FNC cb_telnet_init_fnc;
CB_TELNET_INCHAR_FNC cb_telnet_inchar_fnc;
CB_FTP_CHECK_USER_NAME_FNC cb_ftp_check_user_name_fnc;
CB_FTP_CHECK_PASSWORD_FNC cb_ftp_check_password_fnc;
CB_DHCP_NEW_IP_FNC cb_dhcp_new_ip_fnc;
CB_DHCP_NO_IP_FNC cb_dhcp_no_ip_fnc;
CB_AUTOIP_NEW_IP_FNC cb_autoip_new_ip_fnc;
CB_AUTOIP_NO_IP_FNC cb_autoip_no_ip_fnc;
CB_PACKETIN_FILTER_FNC cb_packetin_isr;
CB_PACKETIN_FILTER_FNC cb_packetin_task;
CB_PACKETIN_FILTER_FNC cb_packetout;
} RTIP_CALLBACKS;
struct rtip_callbacks * xn_callbacks(void);
The function's return value is a pointer to the internal callback pointer structure. Applications can use this function to assign alternate callbacks and override the default callbacks. Setting a callback pointer to NULL disables calling the callback. For further details, refer to the documentation of each callback or to the RTIP-32 Programming Manual.
Extended RTIP-32 API
Function xn_send_ethernet_frame
Function cb_wr_screen_string_fnc
|