Protocols API

Example code for this API section is provided in protocols directory of ESP-IDF examples.