[riot-notifications] [RIOT-OS/RIOT] at86rf2xx: move PHY and MAC layer components to netdev interface (#11717)
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications