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);
/* encode the APDU portion of the packet */
len =
cov_subscribe_encode_adpu(&Handler_Transmit_Buffer[pdu_len],
cov_subscribe_encode_apdu(&Handler_Transmit_Buffer[pdu_len],
invoke_id, cov_data);
pdu_len += len;
/* 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_data);
len =
lso_encode_adpu(&Handler_Transmit_Buffer[pdu_len], invoke_id,
lso_encode_apdu(&Handler_Transmit_Buffer[pdu_len], invoke_id,
data);
pdu_len += len;
/* will it fit in the sender?
+1 -1
View File
@@ -44,7 +44,7 @@ extern "C" {
} BACNET_LSO_DATA;
int lso_encode_adpu(
int lso_encode_apdu(
uint8_t * apdu,
uint8_t invoke_id,
BACNET_LSO_DATA * data);
+3 -3
View File
@@ -37,7 +37,7 @@
/** @file lso.c BACnet Life Safety Operation encode/decode */
int lso_encode_adpu(
int lso_encode_apdu(
uint8_t * apdu,
uint8_t invoke_id,
BACNET_LSO_DATA * data)
@@ -60,7 +60,7 @@ int lso_encode_adpu(
&data->requestingSrc);
apdu_len += len;
/*
Operation
Operation
*/
len = encode_context_enumerated(&apdu[apdu_len], 2, data->operation);
apdu_len += len;
@@ -158,7 +158,7 @@ void testLSO(
data.targetObject.instance = 0x1000;
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);