I am trying to communicate with multiple devices simultaneously using NCS2.8.0 and ESB.
For this reason, I need to switch communication channels quickly.
I understand that in a normal ESB network, channel switching is meaningless.
I have chosen a tricky configuration to avoid packet collisions on the air with multiple hosts.
The nRF52 series cannot change the frequency unless esb_state is switched to ESB_STATE_IDLE once.
esb_stop_rx(); esb_set_rf_channel(0); esb_start_rx();
Currently I use esb_stop_rx() to switch the ESB to ESB_STATE_IDLE.
This step takes about 180us, which isn't too bad.
But it doesn't seem optimal. Is there a better solution?