Moved send I-Am to a send module and out of iam.c.

This commit is contained in:
skarg
2008-11-12 15:38:43 +00:00
parent 2284a70bc2
commit c7a5c05ac7
27 changed files with 171 additions and 94 deletions
+3
View File
@@ -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);
+2 -1
View File
@@ -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
-8
View File
@@ -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(