TxRxClient – User Guide

 

TxRxClient application work with TxRxServeur.  Parameters must be set in   ClientTxRxFiles.cfg file.

 

TxRxConfig fields to complete :

 

·        Selectable Français ou English (select only one)

·        ID Mobile : name (would be transmitted to the server)

·        Destination IP : destination server address – the client must send stream files contained in Data type selected” to this address

·        Destination Port : server listening port

·        Délais Acces Type : (in milliseconds) interval between each check for stream file presence on “data type selected”

·        Délais Ack : (in milliseconds) waiting time for acknowledgment of packet from TxRxServeur

·        Data type : Data type on PDA where the client have to found stream files to send

·        Max bytes/tx : max bytes (data bytes) inserted in UDP packet directed to the server.  (Maximum value tested = 1000.  Inpredictable results with value set to more.  Minimum value tested = 10.  This very low value put client application in something like « cpu bound » and cannot give the control to the user interface.

 

Process :

 

  1. Client application verify and detect in the data type selected for stream files to send;
  2. Client application select the first in the listing and send packet to the server indicating the origin (id), the file and the length of the file;
  3. Server application send an ack indicating the last byte receive for this file from this id;
  4. Client application send following bytes (max = paquets_UdpMax) and loop on 3 until the end of file;
  5. Client application delete the file at the end of file received acknowledged by the server.

 

 

The following image show the client application sending « Data Type » specified in TxRxConfig application (stream files only), the TxRxConfig application, the server application interface when it receives data and finaly the content of the receiving directory at the end of all the file transfert.   Please note, the sending data type of the client side would not contain anymore stream files after the complete file transfert.