[riot-notifications] [RIOT-OS/RIOT] drivers/nrf24l01p: Netdev driver for nrf24l01p (#13743)

fabian18 notifications at github.com
Thu May 14 11:43:37 CEST 2020


@fabian18 commented on this pull request.



> +    luid_base(dev->urxaddr.rxaddrpx.rx_p0, aw);
+    do {
+        /* "The LSByte must be unique for all six pipes" [datasheet p.38] */
+        luid_get(&dev->urxaddr.rxaddrpx.rx_p0[aw - 1], 1);
+    } while (dev->urxaddr.rxaddrpx.rx_p0[aw - 1] == bc[aw - 1]);

The frame seems to get padded with zeros if it is not 32 bytes. Actually I would expect it to work if the payload is 32 bytes. Then it should arrive as:
```
frame:
[D0, D1, D2, D3, D4, 0x05, S0, S1, S2, S3, S4, P0, P1, P2, P3, ..., P25]
D: Destination Byte
S: Source Byte
P: Payload Byte
And 0x05 is the source address length.
```
The bytes D0, ..., D4 are not actually sent, but appended by the `_recv` routine.
Howerver, I have not tested with your device, so I am not sure what happens. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/13743#discussion_r425007421
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200514/182decbd/attachment.htm>


More information about the notifications mailing list