Skip to content

NordicSemiconductor/Android-Memfault-Library

Repository files navigation

Android Memfault Library

An Android library that can connect to a Bluetooth LE device, download dump logs and upload them to the Memfault console.

The device should contain characteristics defined in the Memfault documentation.

Example usage

val memfaultBleManager = MemfaultBleManager()

//Receive status and data
memfaultBleManager.state.collect {

}

//To start
viewModelScope.launch {
    memfaultBleManager.connect(context, device)
}

//When finished
memfaultBleManager.disconnect()

Application

Get it on Google Play

Library

The library is available on Maven Central repository. Add it to your project by adding the following dependency:

implementation 'no.nordicsemi.android:memfault:1.0.2'

Dependencies

Application under the hood uses:

  1. BLE Library - for managing BLE connection and reading data from the remote device.
  2. MemfaultCloud Android - for uploading chunks to the cloud.

About

An Android library for sending heap dumps to the Memfault cloud.

Resources

License

Stars

Watchers

Forks

Packages

No packages published