[riot-users] API change in netdev2

Martine Lenders mlenders at inf.fu-berlin.de
Thu Jun 2 13:35:01 CEST 2016


Hi,
quick note to all network device driver and MAC protocol developers: The
API of netdev2 was changed slightly [1] in that the event_callback now
doesn't expect a `void *` argument anymore. This argument has proven to be
superfluous, since the data was always stored in the `netdev2_t` struct
anyway. As a consequence this member of the struct was renamed from
`isr_arg` to `context`.

If you are working currently on a network device driver implementing
netdev2 or on a MAC protocol utilizing netdev2, please rebase!

Thanks for your attention,
Martine

[1] https://github.com/RIOT-OS/RIOT/pull/4871
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://lists.riot-os.org/pipermail/users/attachments/20160602/5c02ae72/attachment.html>


More information about the users mailing list