dsm-api-v2
|
This is the dSM-API declaration. More...
Go to the source code of this file.
Data Structures | |
struct | DsmApiCallback_t |
Data structure for dSM-API callback registration. More... | |
Defines | |
#define | DSM_API_VERSION 0x0204 |
Typedefs | |
typedef void(* | BusChange_callback_t )(void *arg, dsid_t *id, int flag) |
Callback function signature for the BusChange callback. | |
typedef void(* | BusState_callback_t )(void *arg, bus_state_t state) |
Callback function signature for the BusState callback. | |
typedef void(* | CircuitCurrentMeterValue_get_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Return the current active and reactive power metering values. | |
typedef void(* | CircuitCurrentMeterValue_get_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t PowerW, uint16_t PowerQ, uint16_t Phi) |
Return the current active and reactive power metering values. | |
typedef void(* | CircuitEnergyMeterValue_calibration_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Read the values necessary for metering calibration. | |
typedef void(* | CircuitEnergyMeterValue_calibration_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t Uaverage, uint16_t I14average, uint16_t I180average, uint32_t PActiveLow, uint32_t PActiveHigh) |
Read the values necessary for metering calibration. | |
typedef void(* | CircuitEnergyMeterValue_get_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Return the current energy and power metering values. | |
typedef void(* | CircuitEnergyMeterValue_get_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint32_t PowerW, uint32_t EnergyWh) |
Return the current energy and power metering values. | |
typedef void(* | CircuitEnergyMeterValue_reset_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Return the current energy and power metering values. | |
typedef void(* | CircuitEnergyMeterValue_reset_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint32_t PowerW, uint32_t EnergyWh) |
Return the current energy and power metering values. | |
typedef void(* | CircuitEnergyMeterValue_Ws_get_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Return the current energy and power metering values. | |
typedef void(* | CircuitEnergyMeterValue_Ws_get_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint32_t PowerW, uint32_t EnergyWs) |
Return the current energy and power metering values. | |
typedef void(* | CircuitPingDevices_automatic_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t IntervalTime) |
Dynamically change the behavior of the pinging of devices. | |
typedef void(* | CircuitPingDevices_automatic_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Dynamically change the behavior of the pinging of devices. | |
typedef void(* | CircuitPingDevices_off_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Dynamically change the behavior of the pinging of devices. | |
typedef void(* | CircuitPingDevices_off_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Dynamically change the behavior of the pinging of devices. | |
typedef void(* | CircuitPingDevices_one_time_automatic_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t OneTimeIntervalTime, uint16_t AutoIntervalTime) |
Dynamically change the behavior of the pinging of devices. | |
typedef void(* | CircuitPingDevices_one_time_automatic_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Dynamically change the behavior of the pinging of devices. | |
typedef void(* | CircuitPingDevices_one_time_off_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t IntervalTime) |
Dynamically change the behavior of the pinging of devices. | |
typedef void(* | CircuitPingDevices_one_time_off_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Dynamically change the behavior of the pinging of devices. | |
typedef void(* | CircuitRemoveDevice_by_dsid_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint32_t SerialNumber) |
Removes the device selected by dSID from the data model. | |
typedef void(* | CircuitRemoveDevice_by_dsid_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Removes the device selected by dSID from the data model. | |
typedef void(* | CircuitRemoveDevice_by_id_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId) |
Removes the device selected by DeviceId from the data model. | |
typedef void(* | CircuitRemoveDevice_by_id_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Removes the device selected by DeviceId from the data model. | |
typedef void(* | CircuitRemoveDevice_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId) __attribute__((deprecated)) |
Removes the device selected by DeviceId from the data model. | |
typedef void(* | CircuitRemoveDevice_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) __attribute__((deprecated)) |
Removes the device selected by DeviceId from the data model. | |
typedef void(* | CircuitRemoveInactiveDevices_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Removes inactive devices from the data model. | |
typedef void(* | CircuitRemoveInactiveDevices_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Removes inactive devices from the data model. | |
typedef void(* | DeviceActionRequest_action_blink_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId) |
Execute actions on a single device. | |
typedef void(* | DeviceActionRequest_action_blink_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on a single device. | |
typedef void(* | DeviceActionRequest_action_call_scene_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t SceneId) |
Execute actions on a single device. | |
typedef void(* | DeviceActionRequest_action_call_scene_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on a single device. | |
typedef void(* | DeviceActionRequest_action_force_call_scene_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t SceneId) |
Execute actions on a single device. | |
typedef void(* | DeviceActionRequest_action_force_call_scene_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on a single device. | |
typedef void(* | DeviceActionRequest_action_programming_mode_off_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId) |
Execute actions on a single device. | |
typedef void(* | DeviceActionRequest_action_programming_mode_off_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on a single device. | |
typedef void(* | DeviceActionRequest_action_programming_mode_on_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId) |
Execute actions on a single device. | |
typedef void(* | DeviceActionRequest_action_programming_mode_on_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on a single device. | |
typedef void(* | DeviceActionRequest_action_save_scene_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t SceneId) |
Execute actions on a single device. | |
typedef void(* | DeviceActionRequest_action_save_scene_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on a single device. | |
typedef void(* | DeviceActionRequest_action_set_outval_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t Value) |
Execute actions on a single device. | |
typedef void(* | DeviceActionRequest_action_set_outval_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on a single device. | |
typedef void(* | DeviceActionRequest_action_undo_scene_number_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t SceneId) |
Execute actions on a single device. | |
typedef void(* | DeviceActionRequest_action_undo_scene_number_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on a single device. | |
typedef void(* | DeviceActionRequest_action_undo_scene_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId) |
Execute actions on a single device. | |
typedef void(* | DeviceActionRequest_action_undo_scene_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on a single device. | |
typedef void(* | DeviceButtonInfo_by_device_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId) |
Returns the state of the button of a device. | |
typedef void(* | DeviceButtonInfo_by_device_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t ButtonId, uint8_t GroupMembership, uint8_t Group, uint8_t SetLocalPriority) |
Returns the state of the button of a device. | |
typedef void(* | DeviceConfig_get_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t ConfigClass, uint8_t ConfigIndex) |
Read a configuration parameter of a specific digitalSTROM device. | |
typedef void(* | DeviceConfig_get_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Read a configuration parameter of a specific digitalSTROM device. | |
typedef void(* | DeviceConfig_set_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t ConfigClass, uint8_t ConfigIndex, uint8_t Value) |
Write a configuration parameter of a specific digitalSTROM device. | |
typedef void(* | DeviceConfig_set_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Write a configuration parameter of a specific digitalSTROM device. | |
typedef void(* | DeviceDslinkSend_last_byte_no_answer_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t Value) |
Send UDI commands to a single dSLink device. | |
typedef void(* | DeviceDslinkSend_last_byte_no_answer_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Send UDI commands to a single dSLink device. | |
typedef void(* | DeviceDslinkSend_last_byte_with_answer_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t Value) |
Send UDI commands to a single dSLink device. | |
typedef void(* | DeviceDslinkSend_last_byte_with_answer_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Send UDI commands to a single dSLink device. | |
typedef void(* | DeviceDslinkSend_not_last_byte_no_answer_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t Value) |
Send UDI commands to a single dSLink device. | |
typedef void(* | DeviceDslinkSend_not_last_byte_no_answer_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Send UDI commands to a single dSLink device. | |
typedef void(* | DeviceDslinkSend_not_last_byte_with_answer_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t Value) |
Send UDI commands to a single dSLink device. | |
typedef void(* | DeviceDslinkSend_not_last_byte_with_answer_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Send UDI commands to a single dSLink device. | |
typedef void(* | DeviceGroupMembershipModify_add_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t GroupId) |
Add the device to this group. | |
typedef void(* | DeviceGroupMembershipModify_add_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Add the device to this group. | |
typedef void(* | DeviceGroupMembershipModify_remove_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t GroupId) |
remove the device from this group. | |
typedef void(* | DeviceGroupMembershipModify_remove_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
remove the device from this group. | |
typedef void(* | DeviceInfo_by_device_id_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceIdReq) |
Returns the properties of a device. | |
typedef void(* | DeviceInfo_by_device_id_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint16_t VendorId, uint16_t ProductId, uint16_t FunctionId, uint16_t Version, uint16_t ZoneId, uint8_t State, uint8_t Locked, uint8_t OutputMode, uint8_t LTMode, const uint8_t *Groups, const uint8_t *Name, uint32_t SerialNumber) |
Returns the properties of a device. | |
typedef void(* | DeviceInfo_by_index_only_active_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneIdReq, uint16_t DeviceIndex) |
Returns the properties of a device. | |
typedef void(* | DeviceInfo_by_index_only_active_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint16_t VendorId, uint16_t ProductId, uint16_t FunctionId, uint16_t Version, uint16_t ZoneId, uint8_t State, uint8_t Locked, uint8_t OutputMode, uint8_t LTMode, const uint8_t *Groups, const uint8_t *Name, uint32_t SerialNumber) |
Returns the properties of a device. | |
typedef void(* | DeviceInfo_by_index_only_inactive_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneIdReq, uint16_t DeviceIndex) |
Returns the properties of a device. | |
typedef void(* | DeviceInfo_by_index_only_inactive_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint16_t VendorId, uint16_t ProductId, uint16_t FunctionId, uint16_t Version, uint16_t ZoneId, uint8_t State, uint8_t Locked, uint8_t OutputMode, uint8_t LTMode, const uint8_t *Groups, const uint8_t *Name, uint32_t SerialNumber) |
Returns the properties of a device. | |
typedef void(* | DeviceInfo_by_index_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneIdReq, uint16_t DeviceIndex) |
Returns the properties of a device. | |
typedef void(* | DeviceInfo_by_index_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint16_t VendorId, uint16_t ProductId, uint16_t FunctionId, uint16_t Version, uint16_t ZoneId, uint8_t State, uint8_t Locked, uint8_t OutputMode, uint8_t LTMode, const uint8_t *Groups, const uint8_t *Name, uint32_t SerialNumber) |
Returns the properties of a device. | |
typedef void(* | DeviceProperties_reset_button_active_group_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId) |
Reset active group of button to default. | |
typedef void(* | DeviceProperties_reset_button_active_group_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Reset active group of button to default. | |
typedef void(* | DeviceProperties_set_button_active_group_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t GroupId) |
Define the active group for the button of the device. | |
typedef void(* | DeviceProperties_set_button_active_group_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Define the active group for the button of the device. | |
typedef void(* | DeviceProperties_set_button_set_local_priority_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t SetLocalPriority) |
Set if the button triggers the local priority. | |
typedef void(* | DeviceProperties_set_button_set_local_priority_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Set if the button triggers the local priority. | |
typedef void(* | DeviceProperties_set_locked_flag_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t LockedFlag) |
A locked device will not become inactive. | |
typedef void(* | DeviceProperties_set_locked_flag_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
A locked device will not become inactive. | |
typedef void(* | DeviceProperties_set_name_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, const uint8_t *Name) |
Set the name of the device. | |
typedef void(* | DeviceProperties_set_name_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Set the name of the device. | |
typedef void(* | DeviceProperties_set_zone_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint16_t ZoneId) |
Move the device into a new zone. | |
typedef void(* | DeviceProperties_set_zone_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Move the device into a new zone. | |
typedef void(* | DeviceSensor_get_type_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t SensorIndex) |
Access device sensors. | |
typedef void(* | DeviceSensor_get_type_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Access device sensors. | |
typedef void(* | DeviceSensor_get_value_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t SensorIndex) |
Access device sensors. | |
typedef void(* | DeviceSensor_get_value_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Access device sensors. | |
typedef void(* | DeviceState_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId) |
Returns the state of a device. | |
typedef void(* | DeviceState_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t ActiveFlag) |
Returns the state of a device. | |
typedef void(* | DeviceStatisticsRequest_get_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t ParamOffset) |
Requests statistics data of a device. | |
typedef void(* | DeviceStatisticsRequest_get_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Requests statistics data of a device. | |
typedef void * | DsmApiHandle_t |
Type of the library handle. | |
typedef void(* | dSMConfig_get_DSP_config_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Read DSP configuration as byte stream. | |
typedef void(* | dSMConfig_get_DSP_config_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t Size, const uint8_t *Config) |
Read DSP configuration as byte stream. | |
typedef void(* | dSMConfig_get_hash_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Get a hash of the whole dSM datamodel. | |
typedef void(* | dSMConfig_get_hash_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint32_t Hash, uint32_t ConfigurationCount) |
Get a hash of the whole dSM datamodel. | |
typedef void(* | dSMConfig_set_dSM_config_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, dsid_t DSID, uint32_t HWVersion) |
Set dSMdSID and Hardware version. | |
typedef void(* | dSMConfig_set_dSM_config_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Set dSMdSID and Hardware version. | |
typedef void(* | dSMConfig_set_DSP_config_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t Size, const uint8_t *Config) |
Program DSP configuration as byte stream. | |
typedef void(* | dSMConfig_set_DSP_config_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Program DSP configuration as byte stream. | |
typedef void(* | dSMDebugMode_disable_jumble_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t Disable) |
Disable the Jumble process. | |
typedef void(* | dSMDebugMode_disable_jumble_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Disable the Jumble process. | |
typedef void(* | dSMDebugMode_get_communication_log_state_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Get the state of the digitalSTROM communication logging. | |
typedef void(* | dSMDebugMode_get_communication_log_state_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t State) |
Get the state of the digitalSTROM communication logging. | |
typedef void(* | dSMDebugMode_get_MMI_flag_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Get the current state of the LED/button test mode. | |
typedef void(* | dSMDebugMode_get_MMI_flag_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t DebugFlag) |
Get the current state of the LED/button test mode. | |
typedef void(* | dSMDebugMode_inject_long_upstream_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t Source, uint8_t Circuit, uint8_t Mainqualifier, uint8_t Subqualifier, uint32_t Data, uint8_t Quality, uint8_t Flags) |
Test command. | |
typedef void(* | dSMDebugMode_inject_long_upstream_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Test command. | |
typedef void(* | dSMDebugMode_inject_short_upstream_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t Source, uint8_t Circuit, uint8_t Key, uint8_t Click, uint8_t Sensor, uint8_t Resend, uint8_t Quality, uint8_t Flags) |
Test command. | |
typedef void(* | dSMDebugMode_inject_short_upstream_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Test command. | |
typedef void(* | dSMDebugMode_read_flash_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint32_t Index) |
Read raw flash data in 64 byte chunks. | |
typedef void(* | dSMDebugMode_read_flash_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, const uint8_t *Data) |
Read raw flash data in 64 byte chunks. | |
typedef void(* | dSMDebugMode_restart_dsp_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Restart the DSP. | |
typedef void(* | dSMDebugMode_restart_dsp_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Restart the DSP. | |
typedef void(* | dSMDebugMode_restart_registration_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Invalidate active registration on all devices and restart the device registration. | |
typedef void(* | dSMDebugMode_restart_registration_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Invalidate active registration on all devices and restart the device registration. | |
typedef void(* | dSMDebugMode_set_communication_log_state_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t State) |
Set the state of the digitalSTROM communication logging. | |
typedef void(* | dSMDebugMode_set_communication_log_state_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Set the state of the digitalSTROM communication logging. | |
typedef void(* | dSMDebugMode_set_MMI_flag_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t DebugFlag) |
Test front LEDs and button. | |
typedef void(* | dSMDebugMode_set_MMI_flag_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Test front LEDs and button. | |
typedef void(* | dSMDebugMode_stop_select_b_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Stops all actions on SELECT_B (e.g. | |
typedef void(* | dSMDebugMode_stop_select_b_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Stops all actions on SELECT_B (e.g. | |
typedef void(* | dSMDebugMode_write_flash_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint32_t Index, const uint8_t *Data) |
Write raw flash data in 64 byte chunks. | |
typedef void(* | dSMDebugMode_write_flash_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Write raw flash data in 64 byte chunks. | |
typedef void(* | dSMFactoryReset_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t Password) |
Removes all user specific data form the dSM. | |
typedef void(* | dSMFactoryReset_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Removes all user specific data form the dSM. | |
typedef void(* | dSMInfo_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Returns the properties of the dSM. | |
typedef void(* | dSMInfo_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint32_t HWVersion, uint32_t ARMSWVersion, uint32_t DSPSWVersion, uint16_t ApiVersion, dsid_t DSID, const uint8_t *Name) |
Returns the properties of the dSM. | |
typedef void(* | dSMProperties_get_apartment_id_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_get_apartment_id_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t ApartmentId) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_get_current_temperature_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_get_current_temperature_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t Temperature) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_get_flags_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_get_flags_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t Flags) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_get_max_temperature_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_get_max_temperature_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t MaxTemperature) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_get_ping_intervals_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_get_ping_intervals_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t AutoPingInterval, uint16_t OnePingInterval) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_get_power_down_duration_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_get_power_down_duration_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t Duration) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_get_temperature_limits_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_get_temperature_limits_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t WarnTemperature, uint8_t ErrorTemperature) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_get_upstream_frequency_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_get_upstream_frequency_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t UpstreamFrequency) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_reset_max_temperature_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_reset_max_temperature_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_set_apartment_id_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t ApartmentId) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_set_apartment_id_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_set_flags_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t Flags) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_set_flags_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_set_name_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, const uint8_t *Name) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_set_name_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_set_ping_intervals_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t AutoPingInterval, uint16_t OnePingInterval) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_set_ping_intervals_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_set_temperature_limits_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t WarnTemperature, uint8_t ErrorTemperature) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_set_temperature_limits_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_set_upstream_frequency_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t UpstreamFrequency) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMProperties_set_upstream_frequency_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Change persistent configuration settings of the dSM. | |
typedef void(* | dSMReboot_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Reboots the dSM. | |
typedef void(* | dSMReboot_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Reboots the dSM. | |
typedef void(* | dSMState_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Returns the current operation state as indicated with the front LEDs. | |
typedef void(* | dSMState_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t Hardware, uint8_t DSP, uint8_t Temperature, uint8_t Config, uint8_t dS485, uint8_t Line) |
Returns the current operation state as indicated with the front LEDs. | |
typedef void(* | dSMStatistics_get_dS485_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Returns dS485 communications statistics. | |
typedef void(* | dSMStatistics_get_dS485_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint32_t TxToken, uint16_t TxStartupRequest, uint16_t TxStartupResponse, uint16_t TxJoinRequest, uint16_t TxJoinResponse, uint16_t TxGetAddressRequest, uint16_t TxGetAddressResponse, uint16_t TxSetAddressRequest, uint16_t TxSetAddressResponse, uint16_t TxSetSuccessorAddressRequest, uint16_t TxSetSuccessorAddressResponse, uint16_t TxResponse, uint16_t TxDataRequest, uint16_t TxDataResponse, uint16_t TxDataEvent, uint16_t RxResponse, uint16_t RxDataRequest, uint16_t RxDataResponse, uint16_t RxDataEvent, uint16_t StartRegisterStation, uint16_t DoneRegisterStation, uint16_t EnterOperational, uint16_t SuccessorLost) |
Returns dS485 communications statistics. | |
typedef void(* | dSMStatistics_get_internals_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Get the current internal debug statistics. | |
typedef void(* | dSMStatistics_get_internals_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint32_t RxShortUpstream, uint32_t RxLongUpstream, uint32_t TxDownstream, uint32_t TxErrorSelectA, uint32_t TxErrorSelectB, uint32_t DSPResets, uint32_t DSPMsgSizeError, uint32_t DSPMsgMagicError, uint32_t DSPMsgUnknown) |
Get the current internal debug statistics. | |
typedef void(* | dSMStatistics_get_pool_margins_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Get the pool/event queue margins. | |
typedef void(* | dSMStatistics_get_pool_margins_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t SmallPoolMargin, uint8_t MediumPoolMargin, uint8_t LargePoolMargin, uint8_t FreescaleQueueMargin, uint8_t MMIQueueMargin, uint8_t dSMAPIQueueMargin, uint8_t DatamodelQueueMargin, uint8_t SelectBQueueMargin, uint8_t SelectAQueueMargin, uint8_t SPIQueueMargin, uint8_t dS485QueueMargin, uint8_t ReceiverQueueMargin, uint8_t dSMAPIDeferredQueue, uint8_t dS485TxMessageQueue, uint8_t dS485DeferredTxMessageQueue, uint8_t FreescaleDeferredQueue, uint8_t MMIDeferredQueue, uint8_t SelectADeferredQueue, uint8_t SelectBDeferredCommandQueue, uint8_t SelectBDeferredDsidQueue, uint8_t SPIFrontPanelDeferredQueue, uint8_t SPIPrioDeferredQueue, uint8_t SPIDSPTxMessageQueue) |
Get the pool/event queue margins. | |
typedef void(* | dSMStatistics_get_stop_timer_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t Index) |
Get information about a specific STOP timer. | |
typedef void(* | dSMStatistics_get_stop_timer_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t TimerActive, uint8_t LocalZoneId, uint8_t GroupId, uint8_t ButtonId, uint8_t TimeOut, uint8_t RefCount, uint32_t TimerCount) |
Get information about a specific STOP timer. | |
typedef void(* | dSMStatistics_get_upstream_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t Index) |
Retrieve the current statistics of the Upstream receiver. | |
typedef void(* | dSMStatistics_get_upstream_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t Length, const uint8_t *Statistics) |
Retrieve the current statistics of the Upstream receiver. | |
typedef void(* | dSMStatistics_reset_dS485_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Reset dS485 communications statistics. | |
typedef void(* | dSMStatistics_reset_dS485_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Reset dS485 communications statistics. | |
typedef void(* | dSMStatistics_reset_internals_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Reset the internal debug statistics. | |
typedef void(* | dSMStatistics_reset_internals_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Reset the internal debug statistics. | |
typedef void(* | dSMStatistics_reset_upstream_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Reset the statistics of the Upstream receiver. | |
typedef void(* | dSMStatistics_reset_upstream_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Reset the statistics of the Upstream receiver. | |
typedef void(* | EventCommunicationLog_downstream_long_16bit_parameter_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t Command, uint16_t Data) |
Packet data. | |
typedef void(* | EventCommunicationLog_downstream_long_8bit_parameter_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t Command, uint8_t Data) |
Packet data. | |
typedef void(* | EventCommunicationLog_downstream_long_no_parameter_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t Command) |
Packet data. | |
typedef void(* | EventCommunicationLog_downstream_short_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t Command) |
Packet data. | |
typedef void(* | EventCommunicationLog_upstream_long_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t CircuitId, uint8_t Mainqualifier, uint8_t Subqualifier, uint32_t Data, uint8_t Quality, uint8_t Flags, uint8_t Crosstalk) |
Packet data. | |
typedef void(* | EventCommunicationLog_upstream_short_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t CircuitId, uint8_t Resend, uint8_t Sensor, uint8_t Key, uint8_t Click, uint8_t Quality, uint8_t Flags, uint8_t Crosstalk) |
Packet data. | |
typedef void(* | EventDeviceAccessibility_off_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint16_t ZoneId, uint16_t VendorId, uint32_t SerialNumber) |
Device is now inactive. | |
typedef void(* | EventDeviceAccessibility_on_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint16_t ZoneId, uint16_t VendorId, uint32_t SerialNumber) |
Device is now active. | |
typedef void(* | EventDeviceAction_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint16_t ZoneId, uint8_t GroupId, uint8_t ButtonNr, uint8_t ClickType) |
Sent by the dSM if a button click was received on a group with no associated usage model (StateMachineGroupId). | |
typedef void(* | EventDeviceConfig_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t ConfigClass, uint8_t ConfigIndex, uint8_t Value) |
Parameter response of a device. | |
typedef void(* | EventDeviceGiveUp_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint32_t SerialNumber, uint8_t CircuitId) |
A device gives up its attempts to register with the dSM. | |
typedef void(* | EventDeviceLocalAction_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint16_t ZoneId, uint8_t State) |
Device was switched locally. | |
typedef void(* | EventDeviceModelChanged_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId) |
Device was changed. | |
typedef void(* | EventDeviceSensor_event_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t EventIndex) |
Sensor event. | |
typedef void(* | EventDeviceSensor_type_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t SensorIndex, uint8_t SensorPresent, uint8_t SensorType, uint8_t LastSensor) |
Response to a sensor type request. | |
typedef void(* | EventDeviceSensor_value_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t SensorIndex, uint16_t SensorValue) |
Response to a sensor value request. | |
typedef void(* | EventDeviceStatistics_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t Offset, uint16_t Value) |
Statistics data of a device. | |
typedef void(* | EventDslink_interrupt_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t Priority) |
Notification from a dSLink enabled device. | |
typedef void(* | EventDslink_response_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t Value) |
Notification from a dSLink enabled device. | |
typedef void(* | EventDspDebugData_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t Length, const uint8_t *Data) |
Debug Data from DSP. | |
typedef void(* | EventTestDevicePresence_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t Present) |
Result of the TestDevicePresence call. | |
typedef void(* | EventTestTransmissionQuality_event_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId, uint8_t DownstreamQuality, uint16_t UpstreamQuality) |
Result of the TestTransmissionQuality_get call. | |
typedef void(* | ImageMaintenance_check_image_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Check the validity of the stored image file. | |
typedef void(* | ImageMaintenance_check_image_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ReadCRC, uint16_t ComputedCRC) |
Check the validity of the stored image file. | |
typedef void(* | ImageMaintenance_get_image_info_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Get file information of the stored image file. | |
typedef void(* | ImageMaintenance_get_image_info_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint32_t ManufacturerId, uint32_t DeviceId, uint32_t ContentType, uint32_t ContentSize, uint16_t ContentCRC) |
Get file information of the stored image file. | |
typedef void(* | ImageMaintenance_remove_image_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Remove the stored image file from Flash. | |
typedef void(* | ImageMaintenance_remove_image_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Remove the stored image file from Flash. | |
typedef void(* | ImageMaintenance_start_update_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Start update process. | |
typedef void(* | ImageMaintenance_start_update_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Start update process. | |
typedef void(* | ImageTransfer_data_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint32_t PacketNr, const uint8_t *Data) |
Write a new Image to the Flash of the dSM. | |
typedef void(* | ImageTransfer_data_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint32_t ExpectedPacketNr, uint32_t ReceivedPacketNr) |
Write a new Image to the Flash of the dSM. | |
typedef void(* | ImageTransfer_write_request_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint32_t ManufacturerId, uint32_t DeviceId, uint32_t ContentType, uint32_t ContentSize, uint16_t ContentCRC) |
Write a new Image to the Flash of the dSM. | |
typedef void(* | ImageTransfer_write_request_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Write a new Image to the Flash of the dSM. | |
typedef void(* | TestDevicePresence_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId) |
Ping a single device. | |
typedef void(* | TestDevicePresence_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Ping a single device. | |
typedef void(* | TestTransmissionQuality_get_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t DeviceId) |
Query transmission quality. | |
typedef void(* | TestTransmissionQuality_get_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Query transmission quality. | |
typedef void(* | ZoneCount_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Returns the number of configured zones on the dSM. | |
typedef void(* | ZoneCount_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t ZoneCount) |
Returns the number of configured zones on the dSM. | |
typedef void(* | ZoneDeviceCount_all_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId) |
Returns the number of devices in a zone. | |
typedef void(* | ZoneDeviceCount_all_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t NumberOfDevices) |
Returns the number of devices in a zone. | |
typedef void(* | ZoneDeviceCount_only_active_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId) |
Returns the number of active devices in a zone. | |
typedef void(* | ZoneDeviceCount_only_active_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t NumberOfDevices) |
Returns the number of active devices in a zone. | |
typedef void(* | ZoneDeviceCount_only_inactive_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId) |
Returns the number of inactive devices in a zone. | |
typedef void(* | ZoneDeviceCount_only_inactive_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t NumberOfDevices) |
Returns the number of inactive devices in a zone. | |
typedef void(* | ZoneGroupActionRequest_action_blink_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_blink_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_call_scene_min_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId, uint8_t SceneId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_call_scene_min_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_call_scene_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId, uint8_t SceneId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_call_scene_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_force_call_scene_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId, uint8_t SceneId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_force_call_scene_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_local_stop_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_local_stop_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_programming_mode_off_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_programming_mode_off_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_programming_mode_on_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_programming_mode_on_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_register_scene_local_priority_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId, uint8_t SceneId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_register_scene_local_priority_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_save_scene_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId, uint8_t SceneId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_save_scene_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_select_group_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_select_group_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_set_outval_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId, uint8_t Value) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_set_outval_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_set_scene_local_priority_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId, uint8_t SceneId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_set_scene_local_priority_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_undo_scene_number_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId, uint8_t SceneId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_undo_scene_number_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_undo_scene_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupActionRequest_action_undo_scene_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Execute actions on all devices of a zone/group. | |
typedef void(* | ZoneGroupDslinkSend_last_byte_no_answer_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, uint8_t Value) |
Send UDI commands to all dSLink devices of a group/zone. | |
typedef void(* | ZoneGroupDslinkSend_last_byte_no_answer_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Send UDI commands to all dSLink devices of a group/zone. | |
typedef void(* | ZoneGroupDslinkSend_not_last_byte_no_answer_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, uint8_t Value) |
Send UDI commands to all dSLink devices of a group/zone. | |
typedef void(* | ZoneGroupDslinkSend_not_last_byte_no_answer_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Send UDI commands to all dSLink devices of a group/zone. | |
typedef void(* | ZoneGroupInfo_by_id_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupIdReq) |
Returns information of a group. | |
typedef void(* | ZoneGroupInfo_by_id_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t GroupId, uint8_t StateMachineGroupId, uint16_t NumberOfDevices, const uint8_t *Name, uint8_t StopTimeout, uint8_t RemoteStopTimeout) |
Returns information of a group. | |
typedef void(* | ZoneGroupInfo_by_index_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t Index) |
Returns information of a group. | |
typedef void(* | ZoneGroupInfo_by_index_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t GroupId, uint8_t StateMachineGroupId, uint16_t NumberOfDevices, const uint8_t *Name, uint8_t StopTimeout, uint8_t RemoteStopTimeout) |
Returns information of a group. | |
typedef void(* | ZoneGroupModify_add_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, uint8_t StateMachineGroupId) |
Add group to the given zone. | |
typedef void(* | ZoneGroupModify_add_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Add group to the given zone. | |
typedef void(* | ZoneGroupModify_remove_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId) |
Remove a group from the given zone. | |
typedef void(* | ZoneGroupModify_remove_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Remove a group from the given zone. | |
typedef void(* | ZoneGroupProperties_set_name_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, const uint8_t *Name) |
Set the name of a group. | |
typedef void(* | ZoneGroupProperties_set_name_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Set the name of a group. | |
typedef void(* | ZoneGroupProperties_set_stop_timeout_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, uint8_t StopTimeout) |
Set the STOP timeout of a group. | |
typedef void(* | ZoneGroupProperties_set_stop_timeout_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Set the STOP timeout of a group. | |
typedef void(* | ZoneGroupSceneInfo_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, uint8_t SceneId) |
Returns the properties of a scene. | |
typedef void(* | ZoneGroupSceneInfo_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, const uint8_t *Name) |
Returns the properties of a scene. | |
typedef void(* | ZoneGroupSceneProperties_set_name_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t GroupId, uint8_t SceneId, const uint8_t *Name) |
Set the name of a scene. | |
typedef void(* | ZoneGroupSceneProperties_set_name_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Set the name of a scene. | |
typedef void(* | ZoneInfo_by_id_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneIdReq) |
Get info about a zone. | |
typedef void(* | ZoneInfo_by_id_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t VirtualZoneId, uint8_t NumberOfGroups, const uint8_t *Name) |
Get info about a zone. | |
typedef void(* | ZoneInfo_by_index_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t ZoneIndex) |
Get info about a zone. | |
typedef void(* | ZoneInfo_by_index_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint8_t VirtualZoneId, uint8_t NumberOfGroups, const uint8_t *Name) |
Get info about a zone. | |
typedef void(* | ZoneModify_add_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId) |
Create a new zone with the given zone ID. | |
typedef void(* | ZoneModify_add_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Create a new zone with the given zone ID. | |
typedef void(* | ZoneModify_change_id_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint16_t NewZoneId) |
Change the zone ID of the zone. | |
typedef void(* | ZoneModify_change_id_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Change the zone ID of the zone. | |
typedef void(* | ZoneModify_remove_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId) |
Remove zone with given zone ID. | |
typedef void(* | ZoneModify_remove_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Remove zone with given zone ID. | |
typedef void(* | ZoneProperties_get_scene_history_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId) |
Returns the most recently called scenes in this zone in descending order (e.g. | |
typedef void(* | ZoneProperties_get_scene_history_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint8_t HistorySize, uint8_t GroupId_0, uint8_t Scene_0, uint8_t GroupId_1, uint8_t Scene_1, uint8_t GroupId_2, uint8_t Scene_2, uint8_t GroupId_3, uint8_t Scene_3, uint8_t GroupId_4, uint8_t Scene_4, uint8_t GroupId_5, uint8_t Scene_5, uint8_t GroupId_6, uint8_t Scene_6) |
Returns the most recently called scenes in this zone in descending order (e.g. | |
typedef void(* | ZoneProperties_set_name_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, const uint8_t *Name) |
Set the name of the zone. | |
typedef void(* | ZoneProperties_set_name_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Set the name of the zone. | |
typedef void(* | ZoneSensorPush_request_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId, uint16_t ZoneId, uint32_t SourceDevice, uint8_t SensorType, uint16_t Value, uint8_t Precision) |
Distribute sensor values to devices. | |
typedef void(* | ZoneSensorPush_response_callback_t )(uint8_t error_code, void *arg, dsid_t sourceId, dsid_t destinationId) |
Distribute sensor values to devices. | |
Functions | |
int | CircuitCurrentMeterValue_get (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t *PowerW, uint16_t *PowerQ, uint16_t *Phi) |
Return the current active and reactive power metering values. | |
int | CircuitEnergyMeterValue_calibration (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t *Uaverage, uint16_t *I14average, uint16_t *I180average, uint32_t *PActiveLow, uint32_t *PActiveHigh) |
Read the values necessary for metering calibration. | |
int | CircuitEnergyMeterValue_get (DsmApiHandle_t handle, dsid_t dSMdSID, uint32_t *PowerW, uint32_t *EnergyWh) |
Return the current energy and power metering values. | |
int | CircuitEnergyMeterValue_reset (DsmApiHandle_t handle, dsid_t dSMdSID, uint32_t *PowerW, uint32_t *EnergyWh) |
Return the current energy and power metering values. | |
int | CircuitEnergyMeterValue_Ws_get (DsmApiHandle_t handle, dsid_t dSMdSID, uint32_t *PowerW, uint32_t *EnergyWs) |
Return the current energy and power metering values. | |
int | CircuitPingDevices_automatic (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t IntervalTime) |
Dynamically change the behavior of the pinging of devices. | |
int | CircuitPingDevices_off (DsmApiHandle_t handle, dsid_t dSMdSID) |
Dynamically change the behavior of the pinging of devices. | |
int | CircuitPingDevices_one_time_automatic (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t OneTimeIntervalTime, uint16_t AutoIntervalTime) |
Dynamically change the behavior of the pinging of devices. | |
int | CircuitPingDevices_one_time_off (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t IntervalTime) |
Dynamically change the behavior of the pinging of devices. | |
int | CircuitRemoveDevice (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId) __attribute__((deprecated)) |
Removes the device selected by DeviceId from the data model. | |
int | CircuitRemoveDevice_by_dsid (DsmApiHandle_t handle, dsid_t dSMdSID, uint32_t SerialNumber) |
Removes the device selected by dSID from the data model. | |
int | CircuitRemoveDevice_by_id (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId) |
Removes the device selected by DeviceId from the data model. | |
int | CircuitRemoveInactiveDevices (DsmApiHandle_t handle, dsid_t dSMdSID) |
Removes inactive devices from the data model. | |
int | DeviceActionRequest_action_blink (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId) |
Execute actions on a single device. | |
int | DeviceActionRequest_action_call_scene (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t SceneId) |
Execute actions on a single device. | |
int | DeviceActionRequest_action_force_call_scene (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t SceneId) |
Execute actions on a single device. | |
int | DeviceActionRequest_action_programming_mode_off (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId) |
Execute actions on a single device. | |
int | DeviceActionRequest_action_programming_mode_on (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId) |
Execute actions on a single device. | |
int | DeviceActionRequest_action_save_scene (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t SceneId) |
Execute actions on a single device. | |
int | DeviceActionRequest_action_set_outval (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t Value) |
Execute actions on a single device. | |
int | DeviceActionRequest_action_undo_scene (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId) |
Execute actions on a single device. | |
int | DeviceActionRequest_action_undo_scene_number (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t SceneId) |
Execute actions on a single device. | |
int | DeviceButtonInfo_by_device (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t *ButtonId, uint8_t *GroupMembership, uint8_t *Group, uint8_t *SetLocalPriority) |
Returns the state of the button of a device. | |
int | DeviceConfig_get (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t ConfigClass, uint8_t ConfigIndex) |
Read a configuration parameter of a specific digitalSTROM device. | |
int | DeviceConfig_get_sync_16 (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t ConfigClass, uint8_t ConfigIndex, int timeout, uint16_t *Value) |
Read two configuration parameters of a specific digitalSTROM device simultaneously. | |
int | DeviceConfig_get_sync_8 (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t ConfigClass, uint8_t ConfigIndex, int timeout, uint8_t *Value) |
Read a configuration parameter of a specific digitalSTROM device. | |
int | DeviceConfig_set (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t ConfigClass, uint8_t ConfigIndex, uint8_t Value) |
Write a configuration parameter of a specific digitalSTROM device. | |
int | DeviceDslinkSend_last_byte_no_answer (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t Value) |
Send UDI commands to a single dSLink device. | |
int | DeviceDslinkSend_last_byte_with_answer (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t Value) |
Send UDI commands to a single dSLink device. | |
int | DeviceDslinkSend_last_byte_with_answer_sync (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t Value, int timeout, uint8_t *ReturnValue) |
Send UDI commands to a single dSLink device. | |
int | DeviceDslinkSend_not_last_byte_no_answer (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t Value) |
Send UDI commands to a single dSLink device. | |
int | DeviceDslinkSend_not_last_byte_with_answer (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t Value) |
Send UDI commands to a single dSLink device. | |
int | DeviceDslinkSend_not_last_byte_with_answer_sync (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t Value, int timeout, uint8_t *ReturnValue) |
Send UDI commands to a single dSLink device. | |
int | DeviceGroupMembershipModify_add (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t GroupId) |
Add the device to this group. | |
int | DeviceGroupMembershipModify_remove (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t GroupId) |
remove the device from this group. | |
int | DeviceInfo_by_device_id (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceIdReq, uint16_t *DeviceId, uint16_t *VendorId, uint16_t *ProductId, uint16_t *FunctionId, uint16_t *Version, uint16_t *ZoneId, uint8_t *State, uint8_t *Locked, uint8_t *OutputMode, uint8_t *LTMode, uint8_t *Groups, uint8_t *Name, uint32_t *SerialNumber) |
Returns the properties of a device. | |
int | DeviceInfo_by_index (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneIdReq, uint16_t DeviceIndex, uint16_t *DeviceId, uint16_t *VendorId, uint16_t *ProductId, uint16_t *FunctionId, uint16_t *Version, uint16_t *ZoneId, uint8_t *State, uint8_t *Locked, uint8_t *OutputMode, uint8_t *LTMode, uint8_t *Groups, uint8_t *Name, uint32_t *SerialNumber) |
Returns the properties of a device. | |
int | DeviceInfo_by_index_only_active (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneIdReq, uint16_t DeviceIndex, uint16_t *DeviceId, uint16_t *VendorId, uint16_t *ProductId, uint16_t *FunctionId, uint16_t *Version, uint16_t *ZoneId, uint8_t *State, uint8_t *Locked, uint8_t *OutputMode, uint8_t *LTMode, uint8_t *Groups, uint8_t *Name, uint32_t *SerialNumber) |
Returns the properties of a device. | |
int | DeviceInfo_by_index_only_inactive (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneIdReq, uint16_t DeviceIndex, uint16_t *DeviceId, uint16_t *VendorId, uint16_t *ProductId, uint16_t *FunctionId, uint16_t *Version, uint16_t *ZoneId, uint8_t *State, uint8_t *Locked, uint8_t *OutputMode, uint8_t *LTMode, uint8_t *Groups, uint8_t *Name, uint32_t *SerialNumber) |
Returns the properties of a device. | |
int | DeviceProperties_reset_button_active_group (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId) |
Reset active group of button to default. | |
int | DeviceProperties_set_button_active_group (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t GroupId) |
Define the active group for the button of the device. | |
int | DeviceProperties_set_button_set_local_priority (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t SetLocalPriority) |
Set if the button triggers the local priority. | |
int | DeviceProperties_set_locked_flag (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t LockedFlag) |
A locked device will not become inactive. | |
int | DeviceProperties_set_name (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, const uint8_t *Name) |
Set the name of the device. | |
int | DeviceProperties_set_zone (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint16_t ZoneId) |
Move the device into a new zone. | |
int | DeviceSensor_get_type (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t SensorIndex) |
Access device sensors. | |
int | DeviceSensor_get_type_sync (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t SensorIndex, int timeout, uint8_t *SensorPresent, uint8_t *SensorType, uint8_t *LastSensor) |
Access device sensors. | |
int | DeviceSensor_get_value (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t SensorIndex) |
Access device sensors. | |
int | DeviceSensor_get_value_sync (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t SensorIndex, int timeout, uint16_t *SensorValue) |
Access device sensors. | |
int | DeviceState (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t *ActiveFlag) |
Returns the state of a device. | |
int | DeviceStatisticsRequest_get (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t ParamOffset) |
Requests statistics data of a device. | |
int | DeviceStatisticsRequest_get_sync (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, uint8_t ParamOffset, int timeout, uint16_t *Value) |
Requests statistics data of a device. | |
int | DsmApiCleanup (DsmApiHandle_t handle) |
Free instance memory. | |
int | DsmApiClose (DsmApiHandle_t handle) |
Close the connection to the dS485 bus. | |
int | DsmApiExpandDeviceDSID (uint16_t vendorId, uint32_t serialNumber, dsid_t *dsid) |
Expand a combination of VendorId and Serial number to a unique dSID. | |
int | DsmApiGetBusMembers (DsmApiHandle_t handle, dsid_t *device_list, int device_list_size) |
Request a list of the current bus members. | |
int | DsmApiGetBusState (DsmApiHandle_t handle, bus_state_t *state) |
Get the current state of the dS485 bus. | |
int | DsmApiGetOwnDSID (DsmApiHandle_t handle, dsid_t *dsid) |
Get the dSID of the daeomon/socket interface. | |
DsmApiHandle_t | DsmApiInitialize (void) |
Initialize the internal memory structures of the library. | |
int | DsmApiIsdSM (dsid_t dSMdSID) |
Check if a given dSID belongs to a dSM. | |
int | DsmApiLibraryVersion (void) |
Get the API version of the library. | |
int | DsmApiOpen (DsmApiHandle_t handle, const char *connection, int flags) |
Open a new connection to the dS485 bus. | |
int | DsmApiSetBusChangeCallback (DsmApiHandle_t handle, DsmApiCallback_t *callback_struct) |
Register a callback function for BusChange events. | |
int | DsmApiSetBusStateCallback (DsmApiHandle_t handle, DsmApiCallback_t *callback_struct) |
Register a callback function for BusState events. | |
int | DsmApiSetCallback (DsmApiHandle_t handle, container_type_t MessageType, uint8_t MessageId, uint8_t ModifierId, DsmApiCallback_t *callback_struct) |
Register callback functions for dsm-api asynchronous responses, requests and events. | |
int | dSMConfig_get_DSP_config (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t *Size, uint8_t *Config) |
Read DSP configuration as byte stream. | |
int | dSMConfig_get_hash (DsmApiHandle_t handle, dsid_t dSMdSID, uint32_t *Hash, uint32_t *ConfigurationCount) |
Get a hash of the whole dSM datamodel. | |
int | dSMConfig_set_dSM_config (DsmApiHandle_t handle, dsid_t dSMdSID, dsid_t DSID, uint32_t HWVersion) |
Set dSMdSID and Hardware version. | |
int | dSMConfig_set_DSP_config (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t Size, const uint8_t *Config) |
Program DSP configuration as byte stream. | |
int | dSMDebugMode_disable_jumble (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t Disable) |
Disable the Jumble process. | |
int | dSMDebugMode_get_communication_log_state (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t *State) |
Get the state of the digitalSTROM communication logging. | |
int | dSMDebugMode_get_MMI_flag (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t *DebugFlag) |
Get the current state of the LED/button test mode. | |
int | dSMDebugMode_inject_long_upstream (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t Source, uint8_t Circuit, uint8_t Mainqualifier, uint8_t Subqualifier, uint32_t Data, uint8_t Quality, uint8_t Flags) |
Test command. | |
int | dSMDebugMode_inject_short_upstream (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t Source, uint8_t Circuit, uint8_t Key, uint8_t Click, uint8_t Sensor, uint8_t Resend, uint8_t Quality, uint8_t Flags) |
Test command. | |
int | dSMDebugMode_read_flash (DsmApiHandle_t handle, dsid_t dSMdSID, uint32_t Index, uint8_t *Data) |
Read raw flash data in 64 byte chunks. | |
int | dSMDebugMode_restart_dsp (DsmApiHandle_t handle, dsid_t dSMdSID) |
Restart the DSP. | |
int | dSMDebugMode_restart_registration (DsmApiHandle_t handle, dsid_t dSMdSID) |
Invalidate active registration on all devices and restart the device registration. | |
int | dSMDebugMode_set_communication_log_state (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t State) |
Set the state of the digitalSTROM communication logging. | |
int | dSMDebugMode_set_MMI_flag (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t DebugFlag) |
Test front LEDs and button. | |
int | dSMDebugMode_stop_select_b (DsmApiHandle_t handle, dsid_t dSMdSID) |
Stops all actions on SELECT_B (e.g. | |
int | dSMDebugMode_write_flash (DsmApiHandle_t handle, dsid_t dSMdSID, uint32_t Index, const uint8_t *Data) |
Write raw flash data in 64 byte chunks. | |
int | dSMFactoryReset (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t Password) |
Removes all user specific data form the dSM. | |
int | dSMInfo (DsmApiHandle_t handle, dsid_t dSMdSID, uint32_t *HWVersion, uint32_t *ARMSWVersion, uint32_t *DSPSWVersion, uint16_t *ApiVersion, dsid_t *DSID, uint8_t *Name) |
Returns the properties of the dSM. | |
int | dSMProperties_get_apartment_id (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t *ApartmentId) |
Change persistent configuration settings of the dSM. | |
int | dSMProperties_get_current_temperature (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t *Temperature) |
Change persistent configuration settings of the dSM. | |
int | dSMProperties_get_flags (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t *Flags) |
Change persistent configuration settings of the dSM. | |
int | dSMProperties_get_max_temperature (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t *MaxTemperature) |
Change persistent configuration settings of the dSM. | |
int | dSMProperties_get_ping_intervals (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t *AutoPingInterval, uint16_t *OnePingInterval) |
Change persistent configuration settings of the dSM. | |
int | dSMProperties_get_power_down_duration (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t *Duration) |
Change persistent configuration settings of the dSM. | |
int | dSMProperties_get_temperature_limits (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t *WarnTemperature, uint8_t *ErrorTemperature) |
Change persistent configuration settings of the dSM. | |
int | dSMProperties_get_upstream_frequency (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t *UpstreamFrequency) |
Change persistent configuration settings of the dSM. | |
int | dSMProperties_reset_max_temperature (DsmApiHandle_t handle, dsid_t dSMdSID) |
Change persistent configuration settings of the dSM. | |
int | dSMProperties_set_apartment_id (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t ApartmentId) |
Change persistent configuration settings of the dSM. | |
int | dSMProperties_set_flags (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t Flags) |
Change persistent configuration settings of the dSM. | |
int | dSMProperties_set_name (DsmApiHandle_t handle, dsid_t dSMdSID, const uint8_t *Name) |
Change persistent configuration settings of the dSM. | |
int | dSMProperties_set_ping_intervals (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t AutoPingInterval, uint16_t OnePingInterval) |
Change persistent configuration settings of the dSM. | |
int | dSMProperties_set_temperature_limits (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t WarnTemperature, uint8_t ErrorTemperature) |
Change persistent configuration settings of the dSM. | |
int | dSMProperties_set_upstream_frequency (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t UpstreamFrequency) |
Change persistent configuration settings of the dSM. | |
int | dSMReboot (DsmApiHandle_t handle, dsid_t dSMdSID) |
Reboots the dSM. | |
int | dSMState (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t *Hardware, uint8_t *DSP, uint8_t *Temperature, uint8_t *Config, uint8_t *dS485, uint8_t *Line) |
Returns the current operation state as indicated with the front LEDs. | |
int | dSMStatistics_get_dS485 (DsmApiHandle_t handle, dsid_t dSMdSID, uint32_t *TxToken, uint16_t *TxStartupRequest, uint16_t *TxStartupResponse, uint16_t *TxJoinRequest, uint16_t *TxJoinResponse, uint16_t *TxGetAddressRequest, uint16_t *TxGetAddressResponse, uint16_t *TxSetAddressRequest, uint16_t *TxSetAddressResponse, uint16_t *TxSetSuccessorAddressRequest, uint16_t *TxSetSuccessorAddressResponse, uint16_t *TxResponse, uint16_t *TxDataRequest, uint16_t *TxDataResponse, uint16_t *TxDataEvent, uint16_t *RxResponse, uint16_t *RxDataRequest, uint16_t *RxDataResponse, uint16_t *RxDataEvent, uint16_t *StartRegisterStation, uint16_t *DoneRegisterStation, uint16_t *EnterOperational, uint16_t *SuccessorLost) |
Returns dS485 communications statistics. | |
int | dSMStatistics_get_internals (DsmApiHandle_t handle, dsid_t dSMdSID, uint32_t *RxShortUpstream, uint32_t *RxLongUpstream, uint32_t *TxDownstream, uint32_t *TxErrorSelectA, uint32_t *TxErrorSelectB, uint32_t *DSPResets, uint32_t *DSPMsgSizeError, uint32_t *DSPMsgMagicError, uint32_t *DSPMsgUnknown) |
Get the current internal debug statistics. | |
int | dSMStatistics_get_pool_margins (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t *SmallPoolMargin, uint8_t *MediumPoolMargin, uint8_t *LargePoolMargin, uint8_t *FreescaleQueueMargin, uint8_t *MMIQueueMargin, uint8_t *dSMAPIQueueMargin, uint8_t *DatamodelQueueMargin, uint8_t *SelectBQueueMargin, uint8_t *SelectAQueueMargin, uint8_t *SPIQueueMargin, uint8_t *dS485QueueMargin, uint8_t *ReceiverQueueMargin, uint8_t *dSMAPIDeferredQueue, uint8_t *dS485TxMessageQueue, uint8_t *dS485DeferredTxMessageQueue, uint8_t *FreescaleDeferredQueue, uint8_t *MMIDeferredQueue, uint8_t *SelectADeferredQueue, uint8_t *SelectBDeferredCommandQueue, uint8_t *SelectBDeferredDsidQueue, uint8_t *SPIFrontPanelDeferredQueue, uint8_t *SPIPrioDeferredQueue, uint8_t *SPIDSPTxMessageQueue) |
Get the pool/event queue margins. | |
int | dSMStatistics_get_stop_timer (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t Index, uint8_t *TimerActive, uint8_t *LocalZoneId, uint8_t *GroupId, uint8_t *ButtonId, uint8_t *TimeOut, uint8_t *RefCount, uint32_t *TimerCount) |
Get information about a specific STOP timer. | |
int | dSMStatistics_get_upstream (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t Index, uint8_t *Length, uint8_t *Statistics) |
Retrieve the current statistics of the Upstream receiver. | |
int | dSMStatistics_reset_dS485 (DsmApiHandle_t handle, dsid_t dSMdSID) |
Reset dS485 communications statistics. | |
int | dSMStatistics_reset_internals (DsmApiHandle_t handle, dsid_t dSMdSID) |
Reset the internal debug statistics. | |
int | dSMStatistics_reset_upstream (DsmApiHandle_t handle, dsid_t dSMdSID) |
Reset the statistics of the Upstream receiver. | |
int | ImageMaintenance_check_image (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t *ReadCRC, uint16_t *ComputedCRC) |
Check the validity of the stored image file. | |
int | ImageMaintenance_get_image_info (DsmApiHandle_t handle, dsid_t dSMdSID, uint32_t *ManufacturerId, uint32_t *DeviceId, uint32_t *ContentType, uint32_t *ContentSize, uint16_t *ContentCRC) |
Get file information of the stored image file. | |
int | ImageMaintenance_remove_image (DsmApiHandle_t handle, dsid_t dSMdSID) |
Remove the stored image file from Flash. | |
int | ImageMaintenance_start_update (DsmApiHandle_t handle, dsid_t dSMdSID) |
Start update process. | |
int | ImageTransfer_data (DsmApiHandle_t handle, dsid_t dSMdSID, uint32_t PacketNr, const uint8_t *Data, uint32_t *ExpectedPacketNr, uint32_t *ReceivedPacketNr) |
Write a new Image to the Flash of the dSM. | |
int | ImageTransfer_write_request (DsmApiHandle_t handle, dsid_t dSMdSID, uint32_t ManufacturerId, uint32_t DeviceId, uint32_t ContentType, uint32_t ContentSize, uint16_t ContentCRC) |
Write a new Image to the Flash of the dSM. | |
int | TestDevicePresence (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId) |
Ping a single device. | |
int | TestTransmissionQuality_get (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId) |
Query transmission quality. | |
int | TestTransmissionQuality_get_sync (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t DeviceId, int timeout, uint8_t *DownstreamQuality, uint16_t *UpstreamQuality) |
Query transmission quality. | |
int | ZoneCount (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t *ZoneCount) |
Returns the number of configured zones on the dSM. | |
int | ZoneDeviceCount_all (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint16_t *NumberOfDevices) |
Returns the number of devices in a zone. | |
int | ZoneDeviceCount_only_active (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint16_t *NumberOfDevices) |
Returns the number of active devices in a zone. | |
int | ZoneDeviceCount_only_inactive (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint16_t *NumberOfDevices) |
Returns the number of inactive devices in a zone. | |
int | ZoneGroupActionRequest_action_blink (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId) |
Execute actions on all devices of a zone/group. | |
int | ZoneGroupActionRequest_action_call_scene (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId, uint8_t SceneId) |
Execute actions on all devices of a zone/group. | |
int | ZoneGroupActionRequest_action_call_scene_min (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId, uint8_t SceneId) |
Execute actions on all devices of a zone/group. | |
int | ZoneGroupActionRequest_action_force_call_scene (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId, uint8_t SceneId) |
Execute actions on all devices of a zone/group. | |
int | ZoneGroupActionRequest_action_local_stop (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId) |
Execute actions on all devices of a zone/group. | |
int | ZoneGroupActionRequest_action_programming_mode_off (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId) |
Execute actions on all devices of a zone/group. | |
int | ZoneGroupActionRequest_action_programming_mode_on (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId) |
Execute actions on all devices of a zone/group. | |
int | ZoneGroupActionRequest_action_register_scene_local_priority (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId, uint8_t SceneId) |
Execute actions on all devices of a zone/group. | |
int | ZoneGroupActionRequest_action_save_scene (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId, uint8_t SceneId) |
Execute actions on all devices of a zone/group. | |
int | ZoneGroupActionRequest_action_select_group (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId) |
Execute actions on all devices of a zone/group. | |
int | ZoneGroupActionRequest_action_set_outval (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId, uint8_t Value) |
Execute actions on all devices of a zone/group. | |
int | ZoneGroupActionRequest_action_set_scene_local_priority (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId, uint8_t SceneId) |
Execute actions on all devices of a zone/group. | |
int | ZoneGroupActionRequest_action_undo_scene (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId) |
Execute actions on all devices of a zone/group. | |
int | ZoneGroupActionRequest_action_undo_scene_number (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, uint16_t OriginDeviceId, uint8_t SceneId) |
Execute actions on all devices of a zone/group. | |
int | ZoneGroupDslinkSend_last_byte_no_answer (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, uint8_t Value) |
Send UDI commands to all dSLink devices of a group/zone. | |
int | ZoneGroupDslinkSend_not_last_byte_no_answer (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, uint8_t Value) |
Send UDI commands to all dSLink devices of a group/zone. | |
int | ZoneGroupInfo_by_id (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupIdReq, uint8_t *GroupId, uint8_t *StateMachineGroupId, uint16_t *NumberOfDevices, uint8_t *Name, uint8_t *StopTimeout, uint8_t *RemoteStopTimeout) |
Returns information of a group. | |
int | ZoneGroupInfo_by_index (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t Index, uint8_t *GroupId, uint8_t *StateMachineGroupId, uint16_t *NumberOfDevices, uint8_t *Name, uint8_t *StopTimeout, uint8_t *RemoteStopTimeout) |
Returns information of a group. | |
int | ZoneGroupModify_add (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, uint8_t StateMachineGroupId) |
Add group to the given zone. | |
int | ZoneGroupModify_remove (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId) |
Remove a group from the given zone. | |
int | ZoneGroupProperties_set_name (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, const uint8_t *Name) |
Set the name of a group. | |
int | ZoneGroupProperties_set_stop_timeout (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, uint8_t StopTimeout) |
Set the STOP timeout of a group. | |
int | ZoneGroupSceneInfo (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, uint8_t SceneId, uint8_t *Name) |
Returns the properties of a scene. | |
int | ZoneGroupSceneProperties_set_name (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t GroupId, uint8_t SceneId, const uint8_t *Name) |
Set the name of a scene. | |
int | ZoneInfo_by_id (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneIdReq, uint16_t *ZoneId, uint8_t *VirtualZoneId, uint8_t *NumberOfGroups, uint8_t *Name) |
Get info about a zone. | |
int | ZoneInfo_by_index (DsmApiHandle_t handle, dsid_t dSMdSID, uint8_t ZoneIndex, uint16_t *ZoneId, uint8_t *VirtualZoneId, uint8_t *NumberOfGroups, uint8_t *Name) |
Get info about a zone. | |
int | ZoneModify_add (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId) |
Create a new zone with the given zone ID. | |
int | ZoneModify_change_id (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint16_t NewZoneId) |
Change the zone ID of the zone. | |
int | ZoneModify_remove (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId) |
Remove zone with given zone ID. | |
int | ZoneProperties_get_scene_history (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint8_t *HistorySize, uint8_t *GroupId_0, uint8_t *Scene_0, uint8_t *GroupId_1, uint8_t *Scene_1, uint8_t *GroupId_2, uint8_t *Scene_2, uint8_t *GroupId_3, uint8_t *Scene_3, uint8_t *GroupId_4, uint8_t *Scene_4, uint8_t *GroupId_5, uint8_t *Scene_5, uint8_t *GroupId_6, uint8_t *Scene_6) |
Returns the most recently called scenes in this zone in descending order (e.g. | |
int | ZoneProperties_set_name (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, const uint8_t *Name) |
Set the name of the zone. | |
int | ZoneSensorPush (DsmApiHandle_t handle, dsid_t dSMdSID, uint16_t ZoneId, uint32_t SourceDevice, uint8_t SensorType, uint16_t Value, uint8_t Precision) |
Distribute sensor values to devices. |
This is the dSM-API declaration.
General remark: If any return parameters are of no interest to the caller NULL can be passed instead of a variable reference.
#define DSM_API_VERSION 0x0204 |