mesh duty cycle device and network

Die_32_
Posts: 58
Joined: Wed May 05, 2021 2:42 pm

mesh duty cycle device and network

Postby Die_32_ » Wed Jun 15, 2022 2:58 pm

Hi all,

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 );
without setting the network duty cycle ?

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);
or are they both required ?

Die_32_
Posts: 58
Joined: Wed May 05, 2021 2:42 pm

Re: mesh duty cycle device and network

Postby Die_32_ » Thu Jun 16, 2022 8:07 am

Any hints? Did not find in the documentation

Who is online

Users browsing this forum: Sang_Huynh and 233 guests