Skip to content

Commit

Permalink
Merge branch 'master' into 26225-add-concentration-measurement-cluste…
Browse files Browse the repository at this point in the history
…r-definition
  • Loading branch information
p0fi authored May 22, 2023
2 parents f897c68 + 853691d commit 41c386d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/crypto/CHIPCryptoPALPSA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1773,7 +1773,7 @@ CHIP_ERROR ExtractRawDNFromX509Cert(bool extractSubject, const ByteSpan & certif
dn.reduce_size(len);

exit:
_log_mbedTLS_error(result);
logMbedTLSError(result);
mbedtls_x509_crt_free(&mbedCertificate);

#else
Expand Down
7 changes: 6 additions & 1 deletion src/platform/Ameba/BLEManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,12 @@ CHIP_ERROR BLEManagerImpl::HandleGAPDisconnect(uint16_t conn_id, uint16_t disc_c
disconReason = BLE_ERROR_CHIPOBLE_PROTOCOL_ABORT;
break;
}
HandleConnectionError(conn_id, disconReason);

ChipDeviceEvent event;
event.Type = DeviceEventType::kCHIPoBLEConnectionError;
event.CHIPoBLEConnectionError.ConId = conn_id;
event.CHIPoBLEConnectionError.Reason = disconReason;
PlatformMgr().PostEventOrDie(&event);

// Force a reconfiguration of advertising in case we switched to non-connectable mode when
// the BLE connection was established.
Expand Down
1 change: 1 addition & 0 deletions src/setup_payload/AdditionalDataPayload.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

#pragma once

#include <cstdint>
#include <string>

namespace chip {
Expand Down

0 comments on commit 41c386d

Please sign in to comment.