how to set timeout for radio receive function ?

Hi everyone,

I use the radio example as my basis. I call the read_packet() function from receiver example. And there is no incoming data, it stucks there. How can i set a timeout so that it continues to operate right after the function ?

Related