Fixed some white space inconsistencies.
This commit is contained in:
@@ -78,13 +78,13 @@ static void Init_Object(
|
|||||||
handler_read_property_object_set(
|
handler_read_property_object_set(
|
||||||
object_type,
|
object_type,
|
||||||
rp_function,
|
rp_function,
|
||||||
object_valid_function);
|
object_valid_function);
|
||||||
handler_write_property_object_set(
|
handler_write_property_object_set(
|
||||||
object_type,
|
object_type,
|
||||||
wp_function);
|
wp_function);
|
||||||
handler_read_property_multiple_list_set(
|
handler_read_property_multiple_list_set(
|
||||||
object_type,
|
object_type,
|
||||||
rpm_list_function);
|
rpm_list_function);
|
||||||
Device_Object_Function_Set(
|
Device_Object_Function_Set(
|
||||||
object_type,
|
object_type,
|
||||||
count_function,
|
count_function,
|
||||||
@@ -99,7 +99,7 @@ static void Init_Objects(void)
|
|||||||
OBJECT_DEVICE,
|
OBJECT_DEVICE,
|
||||||
Device_Property_Lists,
|
Device_Property_Lists,
|
||||||
Device_Encode_Property_APDU,
|
Device_Encode_Property_APDU,
|
||||||
Device_Valid_Object_Instance_Number,
|
Device_Valid_Object_Instance_Number,
|
||||||
Device_Write_Property,
|
Device_Write_Property,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
@@ -110,7 +110,7 @@ static void Init_Objects(void)
|
|||||||
OBJECT_ANALOG_INPUT,
|
OBJECT_ANALOG_INPUT,
|
||||||
Analog_Input_Property_Lists,
|
Analog_Input_Property_Lists,
|
||||||
Analog_Input_Encode_Property_APDU,
|
Analog_Input_Encode_Property_APDU,
|
||||||
Analog_Input_Valid_Instance,
|
Analog_Input_Valid_Instance,
|
||||||
NULL,
|
NULL,
|
||||||
Analog_Input_Count,
|
Analog_Input_Count,
|
||||||
Analog_Input_Index_To_Instance,
|
Analog_Input_Index_To_Instance,
|
||||||
@@ -121,7 +121,7 @@ static void Init_Objects(void)
|
|||||||
OBJECT_ANALOG_OUTPUT,
|
OBJECT_ANALOG_OUTPUT,
|
||||||
Analog_Output_Property_Lists,
|
Analog_Output_Property_Lists,
|
||||||
Analog_Output_Encode_Property_APDU,
|
Analog_Output_Encode_Property_APDU,
|
||||||
Analog_Output_Valid_Instance,
|
Analog_Output_Valid_Instance,
|
||||||
Analog_Output_Write_Property,
|
Analog_Output_Write_Property,
|
||||||
Analog_Output_Count,
|
Analog_Output_Count,
|
||||||
Analog_Output_Index_To_Instance,
|
Analog_Output_Index_To_Instance,
|
||||||
@@ -132,7 +132,7 @@ static void Init_Objects(void)
|
|||||||
OBJECT_ANALOG_VALUE,
|
OBJECT_ANALOG_VALUE,
|
||||||
Analog_Value_Property_Lists,
|
Analog_Value_Property_Lists,
|
||||||
Analog_Value_Encode_Property_APDU,
|
Analog_Value_Encode_Property_APDU,
|
||||||
Analog_Value_Valid_Instance,
|
Analog_Value_Valid_Instance,
|
||||||
Analog_Value_Write_Property,
|
Analog_Value_Write_Property,
|
||||||
Analog_Value_Count,
|
Analog_Value_Count,
|
||||||
Analog_Value_Index_To_Instance,
|
Analog_Value_Index_To_Instance,
|
||||||
@@ -143,7 +143,7 @@ static void Init_Objects(void)
|
|||||||
OBJECT_BINARY_INPUT,
|
OBJECT_BINARY_INPUT,
|
||||||
Binary_Input_Property_Lists,
|
Binary_Input_Property_Lists,
|
||||||
Binary_Input_Encode_Property_APDU,
|
Binary_Input_Encode_Property_APDU,
|
||||||
Binary_Input_Valid_Instance,
|
Binary_Input_Valid_Instance,
|
||||||
NULL,
|
NULL,
|
||||||
Binary_Input_Count,
|
Binary_Input_Count,
|
||||||
Binary_Input_Index_To_Instance,
|
Binary_Input_Index_To_Instance,
|
||||||
@@ -154,7 +154,7 @@ static void Init_Objects(void)
|
|||||||
OBJECT_BINARY_OUTPUT,
|
OBJECT_BINARY_OUTPUT,
|
||||||
Binary_Output_Property_Lists,
|
Binary_Output_Property_Lists,
|
||||||
Binary_Output_Encode_Property_APDU,
|
Binary_Output_Encode_Property_APDU,
|
||||||
Binary_Output_Valid_Instance,
|
Binary_Output_Valid_Instance,
|
||||||
Binary_Output_Write_Property,
|
Binary_Output_Write_Property,
|
||||||
Binary_Output_Count,
|
Binary_Output_Count,
|
||||||
Binary_Output_Index_To_Instance,
|
Binary_Output_Index_To_Instance,
|
||||||
@@ -165,7 +165,7 @@ static void Init_Objects(void)
|
|||||||
OBJECT_BINARY_VALUE,
|
OBJECT_BINARY_VALUE,
|
||||||
Binary_Value_Property_Lists,
|
Binary_Value_Property_Lists,
|
||||||
Binary_Value_Encode_Property_APDU,
|
Binary_Value_Encode_Property_APDU,
|
||||||
Binary_Value_Valid_Instance,
|
Binary_Value_Valid_Instance,
|
||||||
Binary_Value_Write_Property,
|
Binary_Value_Write_Property,
|
||||||
Binary_Value_Count,
|
Binary_Value_Count,
|
||||||
Binary_Value_Index_To_Instance,
|
Binary_Value_Index_To_Instance,
|
||||||
@@ -176,7 +176,7 @@ static void Init_Objects(void)
|
|||||||
OBJECT_LIFE_SAFETY_POINT,
|
OBJECT_LIFE_SAFETY_POINT,
|
||||||
Life_Safety_Point_Property_Lists,
|
Life_Safety_Point_Property_Lists,
|
||||||
Life_Safety_Point_Encode_Property_APDU,
|
Life_Safety_Point_Encode_Property_APDU,
|
||||||
Life_Safety_Point_Valid_Instance,
|
Life_Safety_Point_Valid_Instance,
|
||||||
Life_Safety_Point_Write_Property,
|
Life_Safety_Point_Write_Property,
|
||||||
Life_Safety_Point_Count,
|
Life_Safety_Point_Count,
|
||||||
Life_Safety_Point_Index_To_Instance,
|
Life_Safety_Point_Index_To_Instance,
|
||||||
@@ -187,7 +187,7 @@ static void Init_Objects(void)
|
|||||||
OBJECT_LOAD_CONTROL,
|
OBJECT_LOAD_CONTROL,
|
||||||
Load_Control_Property_Lists,
|
Load_Control_Property_Lists,
|
||||||
Load_Control_Encode_Property_APDU,
|
Load_Control_Encode_Property_APDU,
|
||||||
Load_Control_Valid_Instance,
|
Load_Control_Valid_Instance,
|
||||||
Load_Control_Write_Property,
|
Load_Control_Write_Property,
|
||||||
Load_Control_Count,
|
Load_Control_Count,
|
||||||
Load_Control_Index_To_Instance,
|
Load_Control_Index_To_Instance,
|
||||||
@@ -198,7 +198,7 @@ static void Init_Objects(void)
|
|||||||
OBJECT_MULTI_STATE_OUTPUT,
|
OBJECT_MULTI_STATE_OUTPUT,
|
||||||
Multistate_Output_Property_Lists,
|
Multistate_Output_Property_Lists,
|
||||||
Multistate_Output_Encode_Property_APDU,
|
Multistate_Output_Encode_Property_APDU,
|
||||||
Multistate_Output_Valid_Instance,
|
Multistate_Output_Valid_Instance,
|
||||||
Multistate_Output_Write_Property,
|
Multistate_Output_Write_Property,
|
||||||
Multistate_Output_Count,
|
Multistate_Output_Count,
|
||||||
Multistate_Output_Index_To_Instance,
|
Multistate_Output_Index_To_Instance,
|
||||||
@@ -210,7 +210,7 @@ static void Init_Objects(void)
|
|||||||
OBJECT_FILE,
|
OBJECT_FILE,
|
||||||
BACfile_Property_Lists,
|
BACfile_Property_Lists,
|
||||||
bacfile_encode_property_apdu,
|
bacfile_encode_property_apdu,
|
||||||
bacfile_valid_instance,
|
bacfile_valid_instance,
|
||||||
bacfile_write_property,
|
bacfile_write_property,
|
||||||
bacfile_count,
|
bacfile_count,
|
||||||
bacfile_index_to_instance,
|
bacfile_index_to_instance,
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ static void Init_Service_Handlers(
|
|||||||
handler_read_property_object_set(
|
handler_read_property_object_set(
|
||||||
OBJECT_DEVICE,
|
OBJECT_DEVICE,
|
||||||
Device_Encode_Property_APDU,
|
Device_Encode_Property_APDU,
|
||||||
Device_Valid_Object_Instance_Number);
|
Device_Valid_Object_Instance_Number);
|
||||||
/* we need to handle who-is
|
/* we need to handle who-is
|
||||||
to support dynamic device binding to us */
|
to support dynamic device binding to us */
|
||||||
apdu_set_unconfirmed_handler(SERVICE_UNCONFIRMED_WHO_IS, handler_who_is);
|
apdu_set_unconfirmed_handler(SERVICE_UNCONFIRMED_WHO_IS, handler_who_is);
|
||||||
|
|||||||
Reference in New Issue
Block a user