esp_mesh_get_network_duty_cycle() function
Get the network duty cycle, duration, type and rule
Arguments
nwk_duty
current network duty cycle
duration_mins
the duration of current nwk_duty
dev_duty_type
if it includes MESH_PS_DEVICE_DUTY_MASTER, this device is the current NWK-DUTY-MASTER.
applied_rule
MESH_PS_NETWORK_DUTY_APPLIED_ENTIRE
Return value
- ESP_OK