Update HAP.cpp

This commit is contained in:
Gregg 2024-06-19 13:02:11 -05:00
parent 7de8f1abb4
commit 2279c30510
1 changed files with 3 additions and 3 deletions

View File

@ -695,9 +695,9 @@ int HAPClient::postPairVerifyURL(uint8_t *content, size_t len){
Controller *tPair; // temporary pointer to Controller Controller *tPair; // temporary pointer to Controller
if(!(tPair=findController(*itIdentifier))){ if(!(tPair=findController(*itIdentifier))){
LOG0("\n*** ERROR: Unrecognized Controller ID: "); LOG1("\n*** WARNING: Unrecognized Controller ID: ");
charPrintRow(*itIdentifier,hap_controller_IDBYTES,2); charPrintRow(*itIdentifier,hap_controller_IDBYTES,1);
LOG0("\n\n"); LOG1("\n\n");
responseTLV.add(kTLVType_State,pairState_M4); // set State=<M4> responseTLV.add(kTLVType_State,pairState_M4); // set State=<M4>
responseTLV.add(kTLVType_Error,tagError_Authentication); // set Error=Authentication responseTLV.add(kTLVType_Error,tagError_Authentication); // set Error=Authentication
tlvRespond(responseTLV); // send response to client tlvRespond(responseTLV); // send response to client