Socket program to send and receive GPS fix time

you can use this sample as reference:
UART_TCP_Server.rar (3.7 KB)

  1. Disable firewall by
    iptables -I INPUT -j ACCEPT
  2. Start the application by
    app runProc UART_TCP_Server UART_TCP_Server --exe=uart -- 5044 /dev/ttyHSL0 115200
  3. Establish a TCP client connection from PC to 192.168.2.2 on port 5044
  4. Send some data from TCP client and they will be forwarded to module’s UART1
  5. Type some characters on UART1 of module, they will be sent to TCP client.
  6. To disconnect the TCP connection, you can send ”exit”.