94b3809a58
* Added reject in all confirmed service handlers, except GetEventInformation, when confirmed services with zero length occur which rejects with required parameters are missing message. * Refactored errno use in service using debug_perror. Changed debug_perror usage to debug_fprintf. * Updated file and function headers in basic/service modules. * Changed NDPU priority on confirmed messages to use requested NDPU priority. * Renamed debug_aprintf to debug_printf_stdout for clarity. * Convert most debug_fprintf usage to debug_print to reduce text bloat in AVR build
41 lines
885 B
C
41 lines
885 B
C
/**
|
|
* @file
|
|
* @author Steve Karg
|
|
* @date October 2019
|
|
* @brief Header file for a basic UnconfirmedCOV notification handler
|
|
*
|
|
* @section LICENSE
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
#ifndef HANDLER_UCOV_NOTIFICATION_H
|
|
#define HANDLER_UCOV_NOTIFICATION_H
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
/* BACnet Stack defines - first */
|
|
#include "bacnet/bacdef.h"
|
|
/* BACnet Stack API */
|
|
#include "bacnet/apdu.h"
|
|
#include "bacnet/cov.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
BACNET_STACK_EXPORT
|
|
void handler_ucov_notification_add(BACNET_COV_NOTIFICATION *callback);
|
|
|
|
BACNET_STACK_EXPORT
|
|
void handler_ucov_data_print(BACNET_COV_DATA *cov_data);
|
|
|
|
BACNET_STACK_EXPORT
|
|
void handler_ucov_notification(
|
|
uint8_t *service_request, uint16_t service_len, BACNET_ADDRESS *src);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
#endif
|