For devices to communicate they need an arrangement to communicate in a given language. This arrangement is governed by a set of rules or laws called a protocol. The protocol must define many different aspects of the communication language however given rules dictate that a protocol must as least classify
The rate of transmission (baud or bps)
Synchronous or asynchronous
Half-duplex or full-duplex mode
There are a variety of standard protocols from which programmers can choose. Each has particular advantages and disadvantages; for example, some are simpler than others, some are more reli…