can I set only the mesh duty cycle of the device to 100% and the demanded duty cycle
Code: Select all
#define CONFIG_MESH_PS_DEV_DUTY 100
#define MESH_PS_DEVICE_DUTY_DEMAND (0x04)
esp_result = esp_mesh_set_active_duty_cycle(CONFIG_MESH_PS_DEV_DUTY, MESH_PS_DEVICE_DUTY_DEMAND );
Code: Select all
//this will be commented esp_mesh_set_network_duty_cycle(CONFIG_MESH_PS_NWK_DUTY,CONFIG_MESH_PS_NWK_DUTY_DURATION, MESH_PS_NETWORK_DUTY_APPLIED_ENTIRE);