Created I-Have service encoding/decoding/unit test.
Added handlers for I-Have and Who-Has. Added send for I-Have and Who-Has. Created demo for WhoHas. Added I-Have handling in server demo.
This commit is contained in:
@@ -48,7 +48,7 @@ int whohas_encode_apdu(
|
||||
|
||||
if (apdu && data) {
|
||||
apdu[0] = PDU_TYPE_UNCONFIRMED_SERVICE_REQUEST;
|
||||
apdu[1] = SERVICE_UNCONFIRMED_WHO_IS; // service choice
|
||||
apdu[1] = SERVICE_UNCONFIRMED_WHO_HAS; // service choice
|
||||
apdu_len = 2;
|
||||
// optional limits - must be used as a pair
|
||||
if ((data->low_limit >= 0) && (data->low_limit <= BACNET_MAX_INSTANCE) &&
|
||||
|
||||
Reference in New Issue
Block a user