Skip to content

Commit f184be7

Browse files
committed
Renaming MDS to Monitoring & Diagnostics Service
1 parent ee358de commit f184be7

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

lib/observability/src/main/java/no/nordicsemi/memfault/observability/MemfaultDiagnosticsManager.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ import no.nordicsemi.memfault.observability.internal.MemfaultScope
4343

4444
/**
4545
* Class responsible for managing connection with the remote IoT device which supports
46-
* Memfault Diagnostic Service.
46+
* Memfault Monitoring & Diagnostic Service.
4747
*
4848
* The manager connects to the device and uploads all downloaded chunks to the cloud.
4949
*
5050
* Data can be emitted any time so the connection should be maintained as long as needed.
5151
*
5252
* @see <a href="https://app.memfault.com">Memfault console</a>
53-
* @see <a href="https://memfault.notion.site/Memfault-Diagnostic-GATT-Service-MDS-ffd5a430062649cd9bf6edbf64e2563b">Memfault Diagnostic GATT Service</a>
53+
* @see <a href="https://docs.memfault.com/docs/mcu/mds">Memfault Monitoring & Diagnostic GATT Service</a>
5454
*/
5555
interface MemfaultDiagnosticsManager {
5656

lib/observability/src/main/java/no/nordicsemi/memfault/observability/bluetooth/MemfaultDiagnosticsService.kt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ import kotlin.uuid.ExperimentalUuidApi
7373
import kotlin.uuid.Uuid
7474

7575
/**
76-
* Memfault Diagnostics Service UUID.
76+
* Memfault Monitoring & Diagnostics Service UUID.
7777
*
7878
* Find specification ih the [Documentation](https://docs.memfault.com/docs/mcu/mds).
7979
*/
@@ -86,7 +86,8 @@ private val MDS_AUTHORISATION_CHARACTERISTIC_UUID = Uuid.parse("54220004-f6
8686
private val MDS_DATA_EXPORT_CHARACTERISTIC_UUID = Uuid.parse("54220005-f6a5-4007-a371-722f4ebd8436")
8787

8888
/**
89-
* A client implementation of Memfault Diagnostics Service (MDS) that streams data from the device.
89+
* A client implementation of Memfault Monitoring & Diagnostics Service (MDS) that streams data
90+
* from the device.
9091
*
9192
* This class connects to the device, discovers the MDS service, reads the configuration,
9293
* and streams diagnostics [chunks] from the device.
@@ -316,7 +317,7 @@ class MemfaultDiagnosticsService {
316317

317318
// Check if the MDS service is supported.
318319
// The exception will be caught in the catch block below.
319-
checkNotNull(mds) { "Memfault Diagnostics Service not supported" }
320+
checkNotNull(mds) { "Monitoring & Diagnostics Service not supported" }
320321

321322
_state.emit(value = DeviceState.Initializing)
322323

@@ -328,7 +329,7 @@ class MemfaultDiagnosticsService {
328329
// Make sure the chunks are enabled only after the state changed to Connected.
329330
start(mds)
330331

331-
logger.info("Memfault Diagnostics Service started successfully")
332+
logger.info("Monitoring & Diagnostics Service started successfully")
332333
}
333334
.catch { throwable ->
334335
logger.error(throwable.message)

0 commit comments

Comments
 (0)