corrected compile errors.
This commit is contained in:
@@ -55,6 +55,7 @@ int abort_decode_apdu(
|
|||||||
uint8_t *abort_reason);
|
uint8_t *abort_reason);
|
||||||
|
|
||||||
#ifdef TEST
|
#ifdef TEST
|
||||||
|
#include "ctest.h"
|
||||||
void testAbort(Test * pTest);
|
void testAbort(Test * pTest);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
+24
-3
@@ -50,8 +50,9 @@ typedef struct BACnet_Read_Property_Data
|
|||||||
// encode service - use -1 for limit if you want unlimited
|
// encode service - use -1 for limit if you want unlimited
|
||||||
int rp_encode_apdu(
|
int rp_encode_apdu(
|
||||||
uint8_t *apdu,
|
uint8_t *apdu,
|
||||||
|
uint8_t invoke_id,
|
||||||
BACNET_OBJECT_TYPE object_type,
|
BACNET_OBJECT_TYPE object_type,
|
||||||
uint32_t object_instance
|
uint32_t object_instance,
|
||||||
BACNET_PROPERTY_ID object_property,
|
BACNET_PROPERTY_ID object_property,
|
||||||
int32_t array_index);
|
int32_t array_index);
|
||||||
|
|
||||||
@@ -60,19 +61,39 @@ int rp_decode_service_request(
|
|||||||
uint8_t *apdu,
|
uint8_t *apdu,
|
||||||
unsigned apdu_len,
|
unsigned apdu_len,
|
||||||
BACNET_OBJECT_TYPE *object_type,
|
BACNET_OBJECT_TYPE *object_type,
|
||||||
uint32_t *object_instance
|
uint32_t *object_instance,
|
||||||
BACNET_PROPERTY_ID *object_property,
|
BACNET_PROPERTY_ID *object_property,
|
||||||
int32_t *array_index);
|
int32_t *array_index);
|
||||||
|
|
||||||
int rp_decode_apdu(
|
int rp_decode_apdu(
|
||||||
uint8_t *apdu,
|
uint8_t *apdu,
|
||||||
unsigned apdu_len,
|
unsigned apdu_len,
|
||||||
|
uint8_t *invoke_id,
|
||||||
BACNET_OBJECT_TYPE *object_type,
|
BACNET_OBJECT_TYPE *object_type,
|
||||||
uint32_t *object_instance
|
uint32_t *object_instance,
|
||||||
BACNET_PROPERTY_ID *object_property,
|
BACNET_PROPERTY_ID *object_property,
|
||||||
int32_t *array_index);
|
int32_t *array_index);
|
||||||
|
|
||||||
|
int rp_ack_encode_apdu(
|
||||||
|
uint8_t *apdu,
|
||||||
|
uint8_t invoke_id,
|
||||||
|
BACNET_READ_PROPERTY_DATA *data);
|
||||||
|
|
||||||
|
int rp_ack_decode_service_request(
|
||||||
|
uint8_t *apdu,
|
||||||
|
int apdu_len, // total length of the apdu
|
||||||
|
BACNET_READ_PROPERTY_DATA *data);
|
||||||
|
|
||||||
|
int rp_ack_decode_apdu(
|
||||||
|
uint8_t *apdu,
|
||||||
|
int apdu_len, // total length of the apdu
|
||||||
|
uint8_t *invoke_id,
|
||||||
|
BACNET_READ_PROPERTY_DATA *data);
|
||||||
|
|
||||||
|
|
||||||
#ifdef TEST
|
#ifdef TEST
|
||||||
|
#include "ctest.h"
|
||||||
|
|
||||||
void test_ReadProperty(Test * pTest);
|
void test_ReadProperty(Test * pTest);
|
||||||
void test_ReadPropertyAck(Test * pTest);
|
void test_ReadPropertyAck(Test * pTest);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user