The following picture shows the whole program structure of host side.
First of all, open com port in host. After that,
- COM Read Bytes : Read bytes received from com port(UART) in order.
- LXSDF T2A Packet Extraction : Catch Sync Bytes (it is placed in order of 255,254) which means packet’s start spot from byte row separates data up and then abstract data elements in the packet from
- LXSDF T2A Take elements : Get all the T2A Packet elements.
- Get device providing data : Data allocation situation depends on each device. Refer to LXSDF T2A Device Specialization Documents of the device.