Created handler for AtomicWriteFile service. Added it to the demo/server example.
This commit is contained in:
@@ -31,6 +31,7 @@ SRCS = main.c \
|
||||
$(BACNET_HANDLER)/h_rp.c \
|
||||
$(BACNET_HANDLER)/h_wp.c \
|
||||
$(BACNET_HANDLER)/h_arf.c \
|
||||
$(BACNET_HANDLER)/h_awf.c \
|
||||
$(BACNET_HANDLER)/h_rd.c \
|
||||
$(BACNET_HANDLER)/h_dcc.c \
|
||||
$(BACNET_HANDLER)/h_ts.c \
|
||||
@@ -63,6 +64,7 @@ SRCS = main.c \
|
||||
$(BACNET_ROOT)/rp.c \
|
||||
$(BACNET_ROOT)/wp.c \
|
||||
$(BACNET_ROOT)/arf.c \
|
||||
$(BACNET_ROOT)/awf.c \
|
||||
$(BACNET_ROOT)/rd.c \
|
||||
$(BACNET_ROOT)/dcc.c \
|
||||
$(BACNET_ROOT)/timesync.c \
|
||||
|
||||
@@ -70,6 +70,8 @@ static void Init_Service_Handlers(void)
|
||||
handler_write_property);
|
||||
apdu_set_confirmed_handler(SERVICE_CONFIRMED_ATOMIC_READ_FILE,
|
||||
handler_atomic_read_file);
|
||||
apdu_set_confirmed_handler(SERVICE_CONFIRMED_ATOMIC_WRITE_FILE,
|
||||
handler_atomic_write_file);
|
||||
apdu_set_confirmed_handler(SERVICE_CONFIRMED_REINITIALIZE_DEVICE,
|
||||
handler_reinitialize_device);
|
||||
apdu_set_unconfirmed_handler
|
||||
|
||||
@@ -28,6 +28,7 @@ SRCS = main.c \
|
||||
..\..\demo\handler\h_rp.c \
|
||||
..\..\demo\handler\h_wp.c \
|
||||
..\..\demo\handler\h_arf.c \
|
||||
..\..\demo\handler\h_awf.c \
|
||||
..\..\demo\handler\h_rd.c \
|
||||
..\..\demo\handler\h_dcc.c \
|
||||
..\..\demo\handler\h_ts.c \
|
||||
|
||||
Reference in New Issue
Block a user