vrahane commented on a change in pull request #505: [WIP, DO NOT MERGE] MYNEWT-828 SensorAPI: Sensor OIC notifications/triggers URL: https://github.com/apache/mynewt-core/pull/505#discussion_r138772140
########## File path: hw/sensor/include/sensor/sensor.h ########## @@ -125,6 +129,25 @@ typedef enum { #define SENSOR_ITF_UART (2) /** + * Sensor transport + */ +#define SENSOR_TRANSPORT_OIC 0x0 +#define SENSOR_TRANSPORT_BLE 0x1 +#define SENSOR_TRANSPORT_LORA 0x2 +#define SENSOR_TRANSPORT_WIFI 0x3 Review comment: Fixed this, thank you for the suggestion. Now there is a callback that gets set. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services