protocomm_console_start() function
Start console based protocomm transport
Arguments
pc
Protocomm instance pointer obtained from protocomm_new()
config
Config param structure for protocomm console
Return value
- ESP_OK : Success - ESP_ERR_INVALID_ARG : Null arguments - ESP_ERR_NOT_SUPPORTED : Transport layer bound to another protocomm instance - ESP_ERR_INVALID_STATE : Transport layer already bound to this protocomm instance - ESP_FAIL : Failed to start console thread
Notes
This is a singleton. ie. Protocomm can have multiple instances, but only one instance can be bound to a console based transport layer.