Modules connectors TCP-IP support

Discussion in 'Module Connector (MC)' started by NSANGOU CHOUAIBOU, Sep 26, 2017.

  1. Hi,
    There is TCP-IP support added in modules connectors to date. Please could you provide more information about this feature ?

    Best regards,
    Chouaibou NSANGOU.
     
  2. Aksel Johnsby

    Aksel Johnsby Moderator Staff Member

    Hi Chouaibou
    If you set up a TCP/IP server, that is able to forward read and write, you can connect your module using functions and classes described in the documentation. With matlab and python you can additionally specify the device name as tcp://ip: port to make it connect. I will post some examples in this thread when they are ready.

    Aksel
     
  3. Hi Aksel,
    Many thanks for your reply. I really appreciate it. I am very excited and looking foward to your TCP/IP examples.

    B.R
    Chouaibou.
     
  4. Charlie Shao

    Charlie Shao Moderator Staff Member

    Hi Chouaibou,

    I have attached the TCP/IP example script for you. The XEP_TCPIP_server.py runs on the host connected with XeThru sensor, it fetches sensor data and workes as a TCP/IP server to transfer data to TCP/IP client.

    The TCP/IP client is a host which wants to get sensor data through TCP/IP protocol remotely, you just need to run existing examples on it and remember to replace device name from the serial port like "COM3" to TCP/IP address like "tcp://127.0.0.1:3000". I have done some tests, most of them can work well except the example need transfer baseband data(needs large bandwidth), will work more to fix it later.
     

    Attached Files:

    Last edited: Oct 25, 2017
  5. Hi Charlie,
    Many thanks for the TCP-IP example script of py module connector. Don't worry for baseband data transfer. This is the first step and I am confident that you will improve this feature.

    B.R
    Chouaibou.