Corrected spelling of functions ending in apdu. [note API change for BACnet clients] Thank you, Nikola Jelić!

This commit is contained in:
skarg
2012-11-01 14:13:49 +00:00
parent eb9bfca4a3
commit 271f2e0b46
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ uint8_t Send_COV_Subscribe(
&npdu_data); &npdu_data);
/* encode the APDU portion of the packet */ /* encode the APDU portion of the packet */
len = len =
cov_subscribe_encode_adpu(&Handler_Transmit_Buffer[pdu_len], cov_subscribe_encode_apdu(&Handler_Transmit_Buffer[pdu_len],
invoke_id, cov_data); invoke_id, cov_data);
pdu_len += len; pdu_len += len;
/* will it fit in the sender? /* will it fit in the sender?
+1 -1
View File
@@ -79,7 +79,7 @@ uint8_t Send_Life_Safety_Operation_Data(
npdu_encode_pdu(&Handler_Transmit_Buffer[0], &dest, &my_address, npdu_encode_pdu(&Handler_Transmit_Buffer[0], &dest, &my_address,
&npdu_data); &npdu_data);
len = len =
lso_encode_adpu(&Handler_Transmit_Buffer[pdu_len], invoke_id, lso_encode_apdu(&Handler_Transmit_Buffer[pdu_len], invoke_id,
data); data);
pdu_len += len; pdu_len += len;
/* will it fit in the sender? /* will it fit in the sender?
+1 -1
View File
@@ -44,7 +44,7 @@ extern "C" {
} BACNET_LSO_DATA; } BACNET_LSO_DATA;
int lso_encode_adpu( int lso_encode_apdu(
uint8_t * apdu, uint8_t * apdu,
uint8_t invoke_id, uint8_t invoke_id,
BACNET_LSO_DATA * data); BACNET_LSO_DATA * data);
+2 -2
View File
@@ -37,7 +37,7 @@
/** @file lso.c BACnet Life Safety Operation encode/decode */ /** @file lso.c BACnet Life Safety Operation encode/decode */
int lso_encode_adpu( int lso_encode_apdu(
uint8_t * apdu, uint8_t * apdu,
uint8_t invoke_id, uint8_t invoke_id,
BACNET_LSO_DATA * data) BACNET_LSO_DATA * data)
@@ -158,7 +158,7 @@ void testLSO(
data.targetObject.instance = 0x1000; data.targetObject.instance = 0x1000;
data.targetObject.type = OBJECT_BINARY_INPUT; data.targetObject.type = OBJECT_BINARY_INPUT;
len = lso_encode_adpu(apdu, 100, &data); len = lso_encode_apdu(apdu, 100, &data);
lso_decode_service_request(&apdu[4], len, &rxdata); lso_decode_service_request(&apdu[4], len, &rxdata);