For the GET commands, three characters are needed to identify the command. If it is not a
valid command, then a single zero byte is returned as an answer. For a valid command, the
number of returned characters is equal to:
1 byte for ACK + Number of bytes stated at 2
nd
byte of requested command.
Table 4-3. Get commands to get bridge parameters
GET Commands
3
rd
Character—
SubCommand ID
2
nd
Character—Number
of Parameters
1
st
Character—Command ID
Command Name
0
1
0x50
board_get_eth_dhcp_auto
1
1
0x50
board_get_bridge_configuration
2
1
0x50
board_get_bridge_tcp_mode
3
1
0x50
board_get_bridge_tcp_server
4
1
0x50
board_get_uart_port
5
1
0x50
board_get_uart_parity
6
1
0x50
board_get_uart_number_of_bits
7
1
0x50
board_get_uart_stop_bits
8
1
0x50
board_get_uart_flow_control
9
1
0x50
board_get_spi_port
10
1
0x50
board_get_spi_polarity
11
1
0x50
board_get_spi_phase
12
1
0x50
board_get_spi_master
13
1
0x50
board_get_spi_interrupt
14
1
0x50
board_get_email_authentication_required
0
2
0x50
board_get_bridge_tcp_port
1
2
0x50
board_get_spi_baud
0
4
0x50
board_get_eth_ip_add
1
4
0x50
board_get_eth_netmask
2
4
0x50
board_get_eth_gateway
3
4
0x50
board_get_eth_server_add
4
4
0x50
board_get_uart_baud
0
6
0x50
board_get_eth_ethaddr
1
6
0x50
board_get_email_username
2
6
0x50
board_get_email_password
3
6
0x50
board_get_email_smtp_server
TCP/IP Applications Using the MCF51CN Family—Designer Reference Manual, Rev. 0, 12/2009
37
Freescale Semiconductor
Chapter 4 System Setup