channel_mask
The channel mask that will trigger the energy detection, with a range from 0x00000800 to 0x07FFF800.
duration
The detection duration on each channel, in units of ((1 << scan_duration) + 1) * a beacon time.
cb
A user callback to receive the energy detection result, see esp_zb_zdo_energy_detect_callback_t.