Moved send I-Am to a send module and out of iam.c.
This commit is contained in:
@@ -39,6 +39,9 @@ extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
/* unconfirmed requests */
|
||||
void Send_I_Am(
|
||||
uint8_t * buffer);
|
||||
|
||||
void Send_WhoIs(
|
||||
int32_t low_limit,
|
||||
int32_t high_limit);
|
||||
|
||||
@@ -77,6 +77,7 @@
|
||||
defined(BACAPP_UNSIGNED) || \
|
||||
defined(BACAPP_SIGNED) || \
|
||||
defined(BACAPP_REAL) || \
|
||||
defined(BACAPP_DOUBLE) || \
|
||||
defined(BACAPP_OCTET_STRING) || \
|
||||
defined(BACAPP_CHARACTER_STRING) || \
|
||||
defined(BACAPP_BIT_STRING) || \
|
||||
@@ -93,7 +94,7 @@
|
||||
#define BACAPP_UNSIGNED
|
||||
#define BACAPP_SIGNED
|
||||
#define BACAPP_REAL
|
||||
/* FIXME: not implemented #define BACAPP_DOUBLE */
|
||||
#define BACAPP_DOUBLE
|
||||
#define BACAPP_OCTET_STRING
|
||||
#define BACAPP_CHARACTER_STRING
|
||||
#define BACAPP_BIT_STRING
|
||||
|
||||
@@ -58,14 +58,6 @@ extern "C" {
|
||||
int *pSegmentation,
|
||||
uint16_t * pVendor_id);
|
||||
|
||||
int iam_encode_pdu(
|
||||
uint8_t * buffer,
|
||||
BACNET_ADDRESS * dest,
|
||||
BACNET_NPDU_DATA * npdu_data);
|
||||
|
||||
int iam_send(
|
||||
uint8_t * buffer);
|
||||
|
||||
#ifdef TEST
|
||||
#include "ctest.h"
|
||||
int iam_decode_apdu(
|
||||
|
||||
Reference in New Issue
Block a user