mbc_master_set_descriptor() function
Specific interface functions ******************************************** Interface functions below provide basic methods to read/write access to slave devices in Modbus segment as well as API to read specific supported characteristics linked to Modbus parameters of devices in Modbus network. Assign parameter description table for Modbus controller interface.
Arguments
descriptor
pointer to parameter description table
num_elements
number of elements in the table
Return value
- esp_err_t ESP_OK - set descriptor successfully - esp_err_t ESP_ERR_INVALID_ARG - invalid argument in function call