SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
Communication protocols are typically divided into two types: connection oriented and connectionless. Connection-oriented protocols require establishing a connection between two entities before any data exchange. The connection is maintained during the connection lifetime, and ensures data is delivered correctly and in order. Connectionless protocols allow data exchanges between any entities, without the need for establishing a connection; however, data integrity and order are not ensured. From a power consumption perspective, connection-oriented protocols may consume more power due to the connection-establishing overhead and connection maintenance.
The SimpleLink Wi-Fi devices support the following communication protocol types:
When application designers choose the protocol, the power consumption, reliability, and latency should also be considered. Connectionless protocols are less reliable by nature. However they are more efficient from a power consumption and latency perspective.
Generally, the connection type derives from the services used. For example, many cloud services are based on HTTP or MQTT, which operate over a TCP connection.