[riot-notifications] [RIOT-OS/RIOT] add driver for SDS011 active laser dust sensor (#10458)

MichelRottleuthner notifications at github.com
Tue Jan 29 12:01:59 CET 2019


MichelRottleuthner commented on this pull request.



> + *
+ * @param[in]  dev       device descriptor
+ * @param[out] data      pointer for storing the values
+ *
+ * @return  SDS011_OK on success
+ * @return  SDS011_INVALID_RESPONSE when response doesn't match the request
+ * @return  SDS011_INVALID_CHKSUM when response checksum is invalid
+ * @return  SDS011_ERROR when other error occured
+ *
+ * @pre     @p dev != NULL
+ * @pre     @p data != NULL
+ */
+int sds011_read(sds011_t *dev, sds011_data_t *data);
+
+/**
+ * @brief   Register callback that is executed when new measurements were

done

-- 
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/10458#discussion_r251785818
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190129/fde8d1ab/attachment.html>


More information about the notifications mailing list