Skip to content

Commit d1b0642

Browse files
committed
BLE: rename AdvertisingReportEvent::getAdvertisingData into getPayload.
This change makes it consistent with PeriodicAdvertisingReportEvent.
1 parent ed426c5 commit d1b0642

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/FEATURE_BLE/ble/gap/Events.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ struct AdvertisingReportEvent {
152152
}
153153

154154
/** Get payload. */
155-
const mbed::Span<const uint8_t> &getAdvertisingData() const
155+
const mbed::Span<const uint8_t> &getPayload() const
156156
{
157157
return advertisingData;
158158
}

0 commit comments

Comments
 (0)