Skip to content

Commit

Permalink
Followup for project-chip#3909. no viable conversion from 'chip::Syst…
Browse files Browse the repository at this point in the history
…em::PacketBuffer *' to 'System::PacketBufferHandle' in src/platform/Darwin/BleConnectionDelegateImpl.mm
  • Loading branch information
vivien-apple committed Nov 25, 2020
1 parent ddac4b1 commit fe8227d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/Darwin/BleConnectionDelegateImpl.mm
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ - (void)peripheral:(CBPeripheral *)peripheral
std::is_same<decltype(msgBuf->MaxDataLength()), uint16_t>::value, "Unexpected type for max data length");
msgBuf->SetDataLength(static_cast<uint16_t>(characteristic.value.length));

if (!_mBleLayer->HandleIndicationReceived((__bridge void *) peripheral, &svcId, &charId, msgBuf.Release_ForNow())) {
if (!_mBleLayer->HandleIndicationReceived((__bridge void *) peripheral, &svcId, &charId, std::move(msgBuf))) {
// since this error comes from device manager core
// we assume it would do the right thing, like closing the connection
ChipLogError(Ble, "Failed at handling incoming BLE data");
Expand Down

0 comments on commit fe8227d

Please sign in to comment.