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

benpicco notifications at github.com
Thu May 14 10:43:00 CEST 2020


@benpicco 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]);

Actually I can send smaller frames too:

```
2020-05-14 10:41:30,139 # txtsnd 4 A4:DF:DD:73:F5 1
2020-05-14 10:41:30,140 #  [nrf24l01p_ng] Sending 7 bytes
```

```
2020-05-14 10:41:30,157 # [nrf24l01p_ng] Return exact frame length
2020-05-14 10:41:30,160 # [nrf24l01p_ng] Handle received frame
2020-05-14 10:41:30,161 # Rx frame
2020-05-14 10:41:30,178 # 0xA4 0xDF 0xDD 0x73 0xF5 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xBF 0x87 0x05 0x7C 0x26 0x67 0x15 0x36 0x31 
2020-05-14 10:41:30,181 # [nrf24l01p_ng] Received frame length: 37
2020-05-14 10:41:30,186 # [nrf24l01p_ng] _adpt_recv: Invalid source address length
```

-- 
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_r424968791
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200514/80bba2d1/attachment.htm>


More information about the notifications mailing list