Ability to compile the project without INTRINSIC_REPORTING.
This commit is contained in:
@@ -118,6 +118,7 @@ void Analog_Value_Init(
|
||||
AV_Descr[i].Priority_Array[j] = ANALOG_LEVEL_NULL;
|
||||
}
|
||||
AV_Descr[i].Units = UNITS_PERCENT;
|
||||
#if defined(INTRINSIC_REPORTING)
|
||||
AV_Descr[i].Event_State = EVENT_STATE_NORMAL;
|
||||
/* notification class not connected */
|
||||
AV_Descr[i].Notification_Class = BACNET_MAX_INSTANCE;
|
||||
@@ -125,6 +126,7 @@ void Analog_Value_Init(
|
||||
for (j = 0; j < MAX_BACNET_EVENT_TRANSITION; j++) {
|
||||
datetime_wildcard_set(&AV_Descr[i].Event_Time_Stamps[j]);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
return;
|
||||
@@ -719,6 +721,7 @@ bool Analog_Value_Write_Property(
|
||||
|
||||
void Analog_Value_Intrinsic_Reporting(uint32_t object_instance)
|
||||
{
|
||||
#if defined(INTRINSIC_REPORTING)
|
||||
BACNET_EVENT_NOTIFICATION_DATA event_data;
|
||||
BACNET_CHARACTER_STRING msgText;
|
||||
ANALOG_VALUE_DESCR *CurrentAV;
|
||||
@@ -933,6 +936,7 @@ void Analog_Value_Intrinsic_Reporting(uint32_t object_instance)
|
||||
/* add data from notification class */
|
||||
Notification_Class_common_reporting_function(&event_data);
|
||||
}
|
||||
#endif /* defined(INTRINSIC_REPORTING) */
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1487,6 +1487,7 @@ bool Device_Encode_Value_List(
|
||||
|
||||
void Device_local_reporting(uint32_t milliseconds)
|
||||
{
|
||||
#if defined(INTRINSIC_REPORTING)
|
||||
struct object_functions *pObject;
|
||||
uint32_t objects_count;
|
||||
uint32_t object_instance;
|
||||
@@ -1512,6 +1513,7 @@ void Device_local_reporting(uint32_t milliseconds)
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/** Looks up the requested Object to see if the functionality is supported.
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(INTRINSIC_REPORTING)
|
||||
static NOTIFICATION_CLASS_INFO NC_Info[MAX_NOTIFICATION_CLASSES];
|
||||
|
||||
/* These three arrays are used by the ReadPropertyMultiple handler */
|
||||
@@ -120,7 +121,7 @@ void Notification_Class_Init(void)
|
||||
// NC_Info[0].Recipient_List[0].Recipient._.Address.mac[0] = 0xC0;
|
||||
// NC_Info[0].Recipient_List[0].Recipient._.Address.mac[1] = 0xA8;
|
||||
// NC_Info[0].Recipient_List[0].Recipient._.Address.mac[2] = 0x01;
|
||||
// NC_Info[0].Recipient_List[0].Recipient._.Address.mac[3] = 0x65;
|
||||
// NC_Info[0].Recipient_List[0].Recipient._.Address.mac[3] = 0xFF;
|
||||
// NC_Info[0].Recipient_List[0].Recipient._.Address.mac[4] = 0xBA;
|
||||
// NC_Info[0].Recipient_List[0].Recipient._.Address.mac[5] = 0xC0;
|
||||
// NC_Info[0].Recipient_List[0].Recipient._.Address.mac_len = 6;
|
||||
@@ -890,3 +891,4 @@ void Notification_Class_find_recipient(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /* defined(INTRINSIC_REPORTING) */
|
||||
|
||||
Reference in New Issue
Block a user