mirror of
https://github.com/stargieg/bacnet-stack
synced 2025-10-26 23:35:52 +08:00
[r3079] Added function to get the DCC password from demo handler.
This commit is contained in:
committed by
Patrick Grimm
parent
85e3109f58
commit
61fc4614f1
@@ -32,6 +32,7 @@
|
||||
#include "apdu.h"
|
||||
#include "bacapp.h"
|
||||
#include "ptransfer.h"
|
||||
#include "npdu.h"
|
||||
#include "rd.h"
|
||||
#include "rp.h"
|
||||
#include "rpm.h"
|
||||
@@ -57,6 +58,25 @@ extern "C" {
|
||||
uint8_t * pdu, /* PDU data */
|
||||
uint16_t pdu_len); /* length PDU */
|
||||
|
||||
void npdu_handler_cleanup(void);
|
||||
void npdu_handler_init(
|
||||
uint16_t bip_net,
|
||||
uint16_t mstp_net);
|
||||
void npdu_router_handler(
|
||||
uint16_t snet,
|
||||
BACNET_ADDRESS * src,
|
||||
uint8_t * pdu,
|
||||
uint16_t pdu_len);
|
||||
int npdu_router_send_pdu(
|
||||
uint16_t dnet,
|
||||
BACNET_ADDRESS * dest,
|
||||
BACNET_NPDU_DATA * npdu_data,
|
||||
uint8_t * pdu,
|
||||
unsigned int pdu_len);
|
||||
void npdu_router_get_my_address(
|
||||
uint16_t dnet,
|
||||
BACNET_ADDRESS * my_address);
|
||||
|
||||
void routing_npdu_handler(
|
||||
BACNET_ADDRESS * src,
|
||||
int *DNET_list,
|
||||
@@ -171,6 +191,7 @@ extern "C" {
|
||||
BACNET_CONFIRMED_SERVICE_DATA * service_data);
|
||||
void handler_dcc_password_set(
|
||||
char *new_password);
|
||||
char *handler_dcc_password(void);
|
||||
|
||||
void handler_i_have(
|
||||
uint8_t * service_request,
|
||||
@@ -191,10 +212,15 @@ extern "C" {
|
||||
uint8_t * apdu,
|
||||
int max_apdu);
|
||||
void handler_timesync_task(BACNET_DATE_TIME *bdatetime);
|
||||
void handler_timesync_init(
|
||||
void);
|
||||
void handler_timesync_init(void);
|
||||
bool handler_timesync_recipient_write(
|
||||
BACNET_WRITE_PROPERTY_DATA * wp_data);
|
||||
uint32_t handler_timesync_interval(void);
|
||||
bool handler_timesync_interval_set(uint32_t minutes);
|
||||
uint32_t handler_timesync_interval_offset(void);
|
||||
bool handler_timesync_interval_offset_set(uint32_t minutes);
|
||||
bool handler_timesync_interval_align(void);
|
||||
bool handler_timesync_interval_align_set(bool flag);
|
||||
bool handler_timesync_recipient_address_set(
|
||||
unsigned index,
|
||||
BACNET_ADDRESS * address);
|
||||
|
||||
Reference in New Issue
Block a user