Hi all!
I have a driver for nordic nRF24L01+ module: http://www.nordicsemi.com/eng/Products/2.4GHz-RF/nRF24L01PAs first version requeriment I want to send frames (32 bytes fixed) with sendto() and receive (32 bytes fixed too) with recvfrom()... Messages should be enqueued while sending, the driver need to iterate over a circular list of remote nodes, exchaning frames and delivering the received to userspace...
Something like:
for (;;) {
node *n = get_next_node();
send_frames_to(n); // <- send enqueed frames, unblocking sendto() caller
receive_frames_from(n); // <- deliver received frames to recvfrom() caller
}
}
Thanks in advance!
--
"Do or do not. There is no try"
Yoda Master
Yoda Master
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies