nRF5 IoT SDK  v0.9.0
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
IPSO Smart Object definititions and types

IPSO objects definitions and types. More...

Data Structures

struct  ipso_digital_input_t
 
struct  ipso_digital_output_t
 
struct  ipso_analog_input_t
 
struct  ipso_analog_output_t
 
struct  ipso_generic_sensor_t
 
struct  ipso_illuminance_t
 
struct  ipso_presence_t
 
struct  ipso_temperature_t
 
struct  ipso_humidity_t
 
struct  ipso_power_measurement_t
 
struct  ipso_actuation_t
 
struct  ipso_set_point_t
 
struct  ipso_load_control_t
 
struct  ipso_light_control_t
 
struct  ipso_power_control_t
 
struct  ipso_accelerometer_t
 
struct  ipso_magnetometer_t
 
struct  ipso_barometer_t
 

Macros

#define IPSO_SO_ID_DIGITAL_INPUT   3200
 
#define IPSO_SO_ID_DIGITAL_OUTPUT   3201
 
#define IPSO_SO_ID_ANALOGUE_INPUT   3202
 
#define IPSO_SO_ID_ANALOGUE_OUTPUT   3203
 
#define IPSO_SO_ID_GENERIC_SENSOR   3300
 
#define IPSO_SO_ID_ILLUMINANCE_SENSOR   3301
 
#define IPSO_SO_ID_PRESENCE_SENSOR   3302
 
#define IPSO_SO_ID_TEMPERATURE_SENSOR   3303
 
#define IPSO_SO_ID_HUMIDITY_SENSOR   3304
 
#define IPSO_SO_ID_POWER_MEASUREMENT   3305
 
#define IPSO_SO_ID_ACTUATION   3306
 
#define IPSO_SO_ID_SET_POINT   3308
 
#define IPSO_SO_ID_LOAD_CONTROL   3310
 
#define IPSO_SO_ID_LIGHT_CONTROL   3311
 
#define IPSO_SO_ID_POWER_CONTROL   3312
 
#define IPSO_SO_ID_ACCELEROMETER   3313
 
#define IPSO_SO_ID_MAGNETOMETER   3314
 
#define IPSO_SO_ID_BAROMETER   3315
 
#define IPSO_RR_ID_DIGITAL_INPUT_STATE   5500
 IPSO Reusable Resource IDs (Section 21).
 
#define IPSO_RR_ID_DIGITAL_INPUT_COUNTER   5501
 
#define IPSO_RR_ID_DIGITAL_INPUT_POLARITY   5502
 
#define IPSO_RR_ID_DIGITAL_INPUT_DEBOUNCE_PERIOD   5503
 
#define IPSO_RR_ID_DIGITAL_INPUT_EDGE_SELECTION   5504
 
#define IPSO_RR_ID_DIGITAL_INPUT_COUNTER_RESET   5505
 
#define IPSO_RR_ID_DIGITAL_OUTPUT_STATE   5550
 
#define IPSO_RR_ID_DIGITAL_OUTPUT_POLARITY   5551
 
#define IPSO_RR_ID_DIGITAL_OUTPUT_POLARITY_NORMAL   0
 
#define IPSO_RR_ID_DIGITAL_OUTPUT_POLARITY_REVERSED   1
 
#define IPSO_RR_ID_ANALOG_INPUT_CURRENT_VALUE   5600
 
#define IPSO_RR_ID_MIN_MEASURED_VALUE   5601
 
#define IPSO_RR_ID_MAX_MEASURED_VALUE   5602
 
#define IPSO_RR_ID_MIN_RANGE_VALUE   5603
 
#define IPSO_RR_ID_MAX_RANGE_VALUE   5604
 
#define IPSO_RR_ID_RESET_MIN_MAX_MEASURED_VALUES   5605
 
#define IPSO_RR_ID_ANALOG_OUTPUT_CURRENT_VALUE   5650
 
#define IPSO_RR_ID_SENSOR_VALUE   5700
 
#define IPSO_RR_ID_SENSOR_UNITS   5701
 
#define IPSO_RR_ID_X_VALUE   5702
 
#define IPSO_RR_ID_Y_VALUE   5703
 
#define IPSO_RR_ID_Z_VALUE   5704
 
#define IPSO_RR_ID_COMPASS_DIRECTION   5705
 
#define IPSO_RR_ID_COLOUR   5706
 
#define IPSO_RR_ID_APPLICATION_TYPE   5750
 
#define IPSO_RR_ID_SENSOR_TYPE   5751
 
#define IPSO_RR_ID_INSTANTANEOUS_ACTIVE_POWER   5800
 
#define IPSO_RR_ID_MIN_MEASURED_ACTIVE_POWER   5801
 
#define IPSO_RR_ID_MAX_MEASURED_ACTIVE_POWER   5802
 
#define IPSO_RR_ID_MIN_RANGE_ACTIVE_POWER   5803
 
#define IPSO_RR_ID_MAX_RANGE_ACTIVE_POWER   5804
 
#define IPSO_RR_ID_CUMULATIVE_ACTIVE_POWER   5805
 
#define IPSO_RR_ID_ACTIVE_POWER_CALIBRATION   5806
 
#define IPSO_RR_ID_INSTANTANEOUS_REACTIVE_POWER   5810
 
#define IPSO_RR_ID_MIN_MEASURED_REACTIVE_POWER   5811
 
#define IPSO_RR_ID_MAX_MEASURED_REACTIVE_POWER   5812
 
#define IPSO_RR_ID_MIN_RANGE_REACTIVE_POWER   5813
 
#define IPSO_RR_ID_MAX_RANGE_REACTIVE_POWER   5814
 
#define IPSO_RR_ID_CUMULATIVE_REACTIVE_POWER   5815
 
#define IPSO_RR_ID_REACTIVE_POWER_CALIBRATION   5816
 
#define IPSO_RR_ID_POWER_FACTOR   5820
 
#define IPSO_RR_ID_CURRENT_CALIBRATION   5821
 
#define IPSO_RR_ID_RESET_CUMULATIVE_ENERGY   5822
 
#define IPSO_RR_ID_EVENT_IDENTIFIER   5823
 
#define IPSO_RR_ID_START_TIME   5824
 
#define IPSO_RR_ID_DURATION_IN_MIN   5825
 
#define IPSO_RR_ID_CRITICALITY_LEVEL   5826
 
#define IPSO_RR_ID_AVG_LOAD_ADJPCT   5827
 
#define IPSO_RR_ID_DUTY_CYCLE   5828
 
#define IPSO_RR_ID_ON_OFF   5850
 
#define IPSO_RR_ID_DIMMER   5851
 
#define IPSO_RR_ID_ON_TIME   5852
 
#define IPSO_RR_ID_MULTI_STATE_OUTPUT   5853
 
#define IPSO_RR_ID_SETPOINT_VALUE   5900
 
#define IPSO_RR_ID_BUSY_TO_CLEAR_DELAY   5903
 
#define IPSO_RR_ID_CLEAR_TO_BUSY_DELAY   5904
 

Functions

void ipso_instance_digital_input_init (ipso_digital_input_t *p_instance)
 Initialize an IPSO digital input object instance. More...
 
void ipso_instance_digital_output_init (ipso_digital_output_t *p_instance)
 Initialize an IPSO digital output object instance. More...
 
void ipso_instance_analog_input_init (ipso_analog_input_t *p_instance)
 Initialize an IPSO analog input object instance. More...
 
void ipso_instance_analog_output_init (ipso_analog_output_t *p_instance)
 Initialize an IPSO analog output object instance. More...
 
void ipso_instance_generic_sensor_init (ipso_generic_sensor_t *p_instance)
 Initialize an IPSO generic sensor object instance. More...
 
void ipso_instance_illuminance_init (ipso_illuminance_t *p_instance)
 Initialize an IPSO illuminance object instance. More...
 
void ipso_instance_presence_init (ipso_presence_t *p_instance)
 Initialize an IPSO presence object instance. More...
 
void ipso_instance_temperature_init (ipso_temperature_t *p_instance)
 Initialize an IPSO temperature object instance. More...
 
void ipso_instance_humidity_init (ipso_humidity_t *p_instance)
 Initialize an IPSO humidity object instance. More...
 
void ipso_instance_power_measurement_init (ipso_power_measurement_t *p_instance)
 Initialize an IPSO power measurement object instance. More...
 
void ipso_instance_actuation_init (ipso_actuation_t *p_instance)
 Initialize an IPSO actuation object instance. More...
 
void ipso_instance_set_point_init (ipso_set_point_t *p_instance)
 Initialize an IPSO set point object instance. More...
 
void ipso_instance_load_control_init (ipso_load_control_t *p_instance)
 Initialize an IPSO load control object instance. More...
 
void ipso_instance_light_control_init (ipso_light_control_t *p_instance)
 Initialize an IPSO light control object instance. More...
 
void ipso_instance_power_control_init (ipso_power_control_t *p_instance)
 Initialize an IPSO power control object instance. More...
 
void ipso_instance_accelerometer_init (ipso_accelerometer_t *p_instance)
 Initialize an IPSO accelerometer object instance. More...
 
void ipso_instance_magnetometer_init (ipso_magnetometer_t *p_instance)
 Initialize an IPSO magnetometer object instance. More...
 
void ipso_instance_barometer_init (ipso_barometer_t *p_instance)
 Initialize an IPSO barometer object instance. More...
 

Detailed Description

IPSO objects definitions and types.

Note
The definitions used in this module are from the IPSO Alliance "IPSO SmartOject Guideline - Smart Objects Starter Pack1.0". The specification could be found at http://www.ipso-alliance.org/.

Function Documentation

void ipso_instance_accelerometer_init ( ipso_accelerometer_t p_instance)

Initialize an IPSO accelerometer object instance.

Must be called before any use of the instance.

Parameters
[in]p_instancePointer to instance structure to initialize.
void ipso_instance_actuation_init ( ipso_actuation_t p_instance)

Initialize an IPSO actuation object instance.

Must be called before any use of the instance.

Parameters
[in]p_instancePointer to instance structure to initialize.
void ipso_instance_analog_input_init ( ipso_analog_input_t p_instance)

Initialize an IPSO analog input object instance.

Must be called before any use of the instance.

Parameters
[in]p_instancePointer to instance structure to initialize.
void ipso_instance_analog_output_init ( ipso_analog_output_t p_instance)

Initialize an IPSO analog output object instance.

Must be called before any use of the instance.

Parameters
[in]p_instancePointer to instance structure to initialize.
void ipso_instance_barometer_init ( ipso_barometer_t p_instance)

Initialize an IPSO barometer object instance.

Must be called before any use of the instance.

Parameters
[in]p_instancePointer to instance structure to initialize.
void ipso_instance_digital_input_init ( ipso_digital_input_t p_instance)

Initialize an IPSO digital input object instance.

Must be called before any use of the instance.

Parameters
[in]p_instancePointer to instance structure to initialize.
void ipso_instance_digital_output_init ( ipso_digital_output_t p_instance)

Initialize an IPSO digital output object instance.

Must be called before any use of the instance.

Parameters
[in]p_instancePointer to instance structure to initialize.
void ipso_instance_generic_sensor_init ( ipso_generic_sensor_t p_instance)

Initialize an IPSO generic sensor object instance.

Must be called before any use of the instance.

Parameters
[in]p_instancePointer to instance structure to initialize.
void ipso_instance_humidity_init ( ipso_humidity_t p_instance)

Initialize an IPSO humidity object instance.

Must be called before any use of the instance.

Parameters
[in]p_instancePointer to instance structure to initialize.
void ipso_instance_illuminance_init ( ipso_illuminance_t p_instance)

Initialize an IPSO illuminance object instance.

Must be called before any use of the instance.

Parameters
[in]p_instancePointer to instance structure to initialize.
void ipso_instance_light_control_init ( ipso_light_control_t p_instance)

Initialize an IPSO light control object instance.

Must be called before any use of the instance.

Parameters
[in]p_instancePointer to instance structure to initialize.
void ipso_instance_load_control_init ( ipso_load_control_t p_instance)

Initialize an IPSO load control object instance.

Must be called before any use of the instance.

Parameters
[in]p_instancePointer to instance structure to initialize.
void ipso_instance_magnetometer_init ( ipso_magnetometer_t p_instance)

Initialize an IPSO magnetometer object instance.

Must be called before any use of the instance.

Parameters
[in]p_instancePointer to instance structure to initialize.
void ipso_instance_power_control_init ( ipso_power_control_t p_instance)

Initialize an IPSO power control object instance.

Must be called before any use of the instance.

Parameters
[in]p_instancePointer to instance structure to initialize.
void ipso_instance_power_measurement_init ( ipso_power_measurement_t p_instance)

Initialize an IPSO power measurement object instance.

Must be called before any use of the instance.

Parameters
[in]p_instancePointer to instance structure to initialize.
void ipso_instance_presence_init ( ipso_presence_t p_instance)

Initialize an IPSO presence object instance.

Must be called before any use of the instance.

Parameters
[in]p_instancePointer to instance structure to initialize.
void ipso_instance_set_point_init ( ipso_set_point_t p_instance)

Initialize an IPSO set point object instance.

Must be called before any use of the instance.

Parameters
[in]p_instancePointer to instance structure to initialize.
void ipso_instance_temperature_init ( ipso_temperature_t p_instance)

Initialize an IPSO temperature object instance.

Must be called before any use of the instance.

Parameters
[in]p_instancePointer to instance structure to initialize.