Hi,
I am working on qca4020 with 3.1 sdk.
I want to know why TCP/UDP commands are not included in QCLI demo. I could find them in AT commands. If i need these TCP/UDP feature in QCLI demo(as these are are not included in QCLI demo ) how i can do it, do i have to merge the AT commands code in QCLI demo or is there any other way to combine the tcp and udp features of AT demo in QCLI demo.
please help me asap.
Thanks in advance.
Kindly specify which TCP and UDP commands are you referring to.
You can refer to below commands under QCLI_demo:
Net>
Net: benchrx {tcp|tcpzc|tcpecho|ssl|sslzc} <port> [<local_ip>] [wht <weight>] [low <threshold>] [high <threshold>]
Net: benchrx {udp|udpzc|udpecho} <port> [<local_ip>|<multicast_ip>|<multicast_ip%if_name>|<multicast_ip> <local_ip>]
Net: benchrx {raw|rawh} <protocol> [<local_ip>|<multicast_ip>|<multicast_ip%if_name>|<multicast_ip> <local_ip>]
Net: Examples:
Net: benchrx tcp 2390
Net: benchrx tcpzc 5000 192.168.1.100
Net: benchrx udp 6000 224.1.1.100%wlan1
Net: benchrx udp 7000 224.1.1.100 192.168.1.100
Net: benchrx rawh 26
Net>
Net: benchtx <Rx IP> <port> {tcp|tcpzc|udp|udpzc|ssl} <msg size> <mode> <arg> <delay in microseconds between msgs> [<tos>] <source IP> <select enable in tx>
Net: benchtx <Rx IP> <protocol> raw <msg size> <mode> <arg> <delay in microseconds between msgs> [<tos>]
Net: benchtx <Rx IP> <protocol> rawh <msg size> <mode> <arg> <delay in microseconds between msgs> <tos> <source IP>
Net: <mode> can be 0 or 1.
Net: If <mode> is 0, <arg> is time to TX in seconds.
Net: If <mode> is 1, <arg> is number of msgs to TX.
Net: Examples:
Net: benchtx 192.168.1.20 2390 udp 1400 1 100 0 0xA0
Net: benchtx 255.255.255.255 5001 udp 1200 0 30 0 0xA0 192.168.1.145
Net: benchtx 192.168.1.20 26 raw 1400 0 60 0
Net: benchtx 192.168.1.20 26 rawh 1400 1 100 10 0xA0 192.168.1.100
Net>
Net: Usage: iperf [-s|-c host] [options]
Net: -p = The server port for the server to listen on and the client to connect to. This should be the same in both client and server. Default is 5001.
Net: -i = Sets the interval time in seconds between periodic bandwidth, jitter, and loss reports
Net: -u = Use UDP rather than TCP
Net: -l = The length of buffers to read or write
Net: -t = The time in seconds to transmit for
Net: -n = The number of buffers to transmit
Net: -b = Set target bandwidth to n bits/sec
Net: -r = Client Reserve Mode
Net: -V = IPV6