MonitoringAndDiagnosticsProfile
An implementation of the Monitoring & Diagnostics Service (MDS) that streams diagnostic data from the collector over Bluetooth Low Energy.
This profile can be attached to any connected Peripheral using Peripheral.profile. It does not create or manage the Bluetooth LE connection itself.
Once attached, it reads the device configuration, subscribes to the data export characteristic, and exposes the result using state and chunks, which can be consumed directly, or passed to ObservabilityManager.connect.
Example
// Create the profile and attach it to the Peripheral object.
val profile = MonitoringAndDiagnosticsProfile()
peripheral.profile(profile)
// Connect the profile with observability manager to upload chunks to nRF Cloud.
observabilityManager.connect(profile)Content copied to clipboard