Allow processing of Who-Has when DCC initiation is disabled
This commit is contained in:
@@ -143,6 +143,7 @@ static bool apdu_unconfirmed_dcc_disabled(uint8_t service_choice)
|
|||||||
/* WhoIs will be processed and I-Am initiated as response. */
|
/* WhoIs will be processed and I-Am initiated as response. */
|
||||||
switch (service_choice) {
|
switch (service_choice) {
|
||||||
case SERVICE_UNCONFIRMED_WHO_IS:
|
case SERVICE_UNCONFIRMED_WHO_IS:
|
||||||
|
case SERVICE_UNCONFIRMED_WHO_HAS:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
status = true;
|
status = true;
|
||||||
|
|||||||
@@ -143,6 +143,7 @@ static bool apdu_unconfirmed_dcc_disabled(uint8_t service_choice)
|
|||||||
/* WhoIs will be processed and I-Am initiated as response. */
|
/* WhoIs will be processed and I-Am initiated as response. */
|
||||||
switch (service_choice) {
|
switch (service_choice) {
|
||||||
case SERVICE_UNCONFIRMED_WHO_IS:
|
case SERVICE_UNCONFIRMED_WHO_IS:
|
||||||
|
case SERVICE_UNCONFIRMED_WHO_HAS:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
status = true;
|
status = true;
|
||||||
|
|||||||
@@ -531,9 +531,10 @@ static bool apdu_unconfirmed_dcc_disabled(uint8_t service_choice)
|
|||||||
can be processed in this state */
|
can be processed in this state */
|
||||||
status = true;
|
status = true;
|
||||||
} else if (dcc_communication_initiation_disabled()) {
|
} else if (dcc_communication_initiation_disabled()) {
|
||||||
/* WhoIs will be processed and I-Am initiated as response. */
|
/* WhoIs & WhoHas will be processed */
|
||||||
switch (service_choice) {
|
switch (service_choice) {
|
||||||
case SERVICE_UNCONFIRMED_WHO_IS:
|
case SERVICE_UNCONFIRMED_WHO_IS:
|
||||||
|
case SERVICE_UNCONFIRMED_WHO_HAS:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
status = true;
|
status = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user