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 T5A Packet Extraction : Catch Sync Bytes (it is placed in order of 255,255,255,255,254) which means packet’s start spot from byte row separates data up and then abstract data elements in the packet from
- LXSDF T5A Take elements : Get all the T5A Packet elements.
- Get device providing data : Data allocation situation depends on each device. Refer to LXSDF T5A Device Specialization Documents of the device.