New code for alarms and events: new functions get_alarm_summary_encode_apdu, Send_Get_Alarm_Summary_Address, Send_Get_Alarm_Summary, Send_Get_Event_Information_Address, Send_Get_Event_Information, get_event_ack_handler. Thank you Daniel Blazevic!

This commit is contained in:
skarg
2014-01-14 19:49:39 +00:00
parent 92559791ba
commit bfa26b769f
8 changed files with 390 additions and 0 deletions
+16
View File
@@ -231,6 +231,22 @@ extern "C" {
BACNET_ADDRESS * dest,
BACNET_PRIVATE_TRANSFER_DATA * private_data);
uint8_t Send_Get_Alarm_Summary_Address(
BACNET_ADDRESS *dest,
uint16_t max_apdu);
uint8_t Send_Get_Alarm_Summary(
uint32_t device_id);
uint8_t Send_Get_Event_Information_Address(
BACNET_ADDRESS *dest,
uint16_t max_apdu,
BACNET_OBJECT_ID * lastReceivedObjectIdentifier);
uint8_t Send_Get_Event_Information(
uint32_t device_id,
BACNET_OBJECT_ID * lastReceivedObjectIdentifier);
#ifdef __cplusplus
}
#endif /* __cplusplus */
+4
View File
@@ -53,6 +53,10 @@ typedef int (
extern "C" {
#endif /* __cplusplus */
int get_alarm_summary_encode_apdu(
uint8_t * apdu,
uint8_t invoke_id);
/* set GetAlarmSummary function */
void handler_get_alarm_summary_set(
BACNET_OBJECT_TYPE object_type,
+6
View File
@@ -325,6 +325,12 @@ extern "C" {
BACNET_ADDRESS * src,
BACNET_CONFIRMED_SERVICE_ACK_DATA * service_data);
void get_event_ack_handler(
uint8_t *service_request,
uint16_t service_len,
BACNET_ADDRESS *src,
BACNET_CONFIRMED_SERVICE_ACK_DATA *service_data);
#ifdef __cplusplus
}