[riot-notifications] [RIOT-OS/RIOT] at86rf2xx: move PHY and MAC layer components to netdev interface (#11717)

José Alamos notifications at github.com
Wed Jun 19 10:37:22 CEST 2019


> This I don't get. The device obviously need to set the internal values, but it is also the only part that knows how to convert between internal values and dbm. Doesn't it need to expose dbm API to any upper layer?

In practice yes, there should be an API for the upper layers. Since `netdev` is the only layer on top so far, I didn't add these functions. We might need them at some point anyway.

Also, I'm only considering `dBm -> internal value` since the `txpower` and `rxsensitivity` is usually reported via the PHY PIB and not from the SPI registers. Not sure if there might be a use case for the `internal value -> dBm` but I could add it anyway.

-- 
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/11717#issuecomment-503464757
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190619/74622122/attachment.html>


More information about the notifications mailing list