Soletta™ Framework
Framework for making IoT devices

Full online documentation | C API Index
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
reader_data Struct Reference

Reader: More...

Data Fields

struct sol_timeouttimer
 
int val
 

Detailed Description

Reader:

The reader is a node type that send an integer packet every second. The initial value is defined as an option 'intopt'.

The private data 'struct reader_data' contains the information we need to store per instance, in this case the timer and the last value.

Examples:
/src/samples/flow/c-api/custom-node-types.c.

Field Documentation

struct sol_timeout* reader_data::timer
int reader_data::val

The documentation for this struct was generated from the following file: