[riot-notifications] [RIOT-OS/RIOT] sys/shell: adapt ifconfig to work with sx1272/76 devices (#7482)

Martine Lenders notifications at github.com
Thu Dec 7 14:30:20 CET 2017


> @miri64, I would like to adapt this PR to #8159 when it's merged but before I want to be sure that it makes sense to modify the ifconfig/txtsnd commands to work with LoRa radio.

When it comes to new netopts to be supported (IQ_INVERTED etc.) it makes sense. Yes!

The ifconfig code also has changed after the netif remodeling so adapting it will probably end up in a lot of #ifdef.

No, they don't require any `#ifdef`s or `#ifndef`s. If the option is not supported the network device returns `-ENOTSUP` so the command catches this. You don't see any `#ifdef`s for Ethernet or IEEE 802.15.4 in this here either, though they are very different protocols, right? 

-- 
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/7482#issuecomment-349967209
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20171207/c2d8a4f4/attachment.html>


More information about the notifications mailing list