Corrected spelling of functions ending in apdu. [note API change for BACnet clients] Thank you, Nikola Jelić!
This commit is contained in:
@@ -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?
|
||||||
|
|||||||
@@ -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?
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
@@ -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)
|
||||||
@@ -60,7 +60,7 @@ int lso_encode_adpu(
|
|||||||
&data->requestingSrc);
|
&data->requestingSrc);
|
||||||
apdu_len += len;
|
apdu_len += len;
|
||||||
/*
|
/*
|
||||||
Operation
|
Operation
|
||||||
*/
|
*/
|
||||||
len = encode_context_enumerated(&apdu[apdu_len], 2, data->operation);
|
len = encode_context_enumerated(&apdu[apdu_len], 2, data->operation);
|
||||||
apdu_len += len;
|
apdu_len += len;
|
||||||
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user