[riot-notifications] [RIOT-OS/RIOT] drivers/mrf24j40: add Turbo Mode (#14047)

benpicco notifications at github.com
Tue May 19 12:35:21 CEST 2020


@benpicco commented on this pull request.



> @@ -330,6 +330,20 @@ static int _get(netdev_t *netdev, netopt_t opt, void *val, size_t max_len)
             }
             break;
 
+#ifdef MODULE_NETDEV_IEEE802154_OQPSK
+
+        case NETOPT_IEEE802154_PHY:
+            assert(max_len >= sizeof(int8_t));
+            *(uint8_t *)val = IEEE802154_PHY_OQPSK;
+            return sizeof(uint8_t);
+
+        case NETOPT_OQPSK_RATE:

802.15.4-OQPSK only species 250 kbit/s but many radios implement higher modes. So this netopt is *only* used to activate the proprietary modes.

`NETOPT_MR_OQPSK_RATE` is used to set standard-compliant 802.15.4g MR-OQPSK rates.

-- 
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/14047#discussion_r427200379
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200519/cd13c1cf/attachment.htm>


More information about the notifications mailing list