Moved ucov_notify_send to handler/s_ucov.c file, and refactored PDU encoding.
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include "bacapp.h"
|
||||
#include "bacenum.h"
|
||||
#include "rpm.h"
|
||||
#include "cov.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -68,6 +69,15 @@ extern "C" {
|
||||
uint32_t object_instance,
|
||||
char *object_name);
|
||||
|
||||
int Send_UCOV_Notify(
|
||||
uint8_t * buffer,
|
||||
BACNET_COV_DATA * cov_data);
|
||||
int ucov_notify_encode_pdu(
|
||||
uint8_t * buffer,
|
||||
BACNET_ADDRESS * dest,
|
||||
BACNET_NPDU_DATA * npdu_data,
|
||||
BACNET_COV_DATA * cov_data);
|
||||
|
||||
/* returns the invoke ID for confirmed request, or 0 if failed */
|
||||
uint8_t Send_Read_Property_Request(
|
||||
uint32_t device_id, /* destination device */
|
||||
|
||||
Reference in New Issue
Block a user