[riot-notifications] [RIOT-OS/RIOT] [RFC][WIP] Initial implementation of a more layered approach to netdev (#8198)

Koen Zandberg notifications at github.com
Tue Dec 19 23:10:54 CET 2017

bergzand commented on this pull request.

> +/**
+ * @brief   Passthrough get function.
+ *
+ * See also @ref netdev_driver for the extended description of this functions
+ * behaviour
+ *
+ * @param[in]   dev     network device descriptor
+ * @param[in]   opt     option type
+ * @param[out]  value   pointer to store the option's value in
+ * @param[in]   max_len maximal amount of byte that fit into @p value
+ *
+ * @return              number of bytes written to @p value
+ * @return              `< 0` on error, 0 on success
+ */
+int netdev_get_pass(netdev_t *dev, netopt_t opt, void *value, size_t max_len);

Also for the other comments, I'll give this whole thing a large cleanup as soon as I have time, probably not tomorrow, but somewhere this week.

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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20171219/603197fb/attachment.html>

More information about the notifications mailing list