getDeviceMetadata

abstract suspend fun getDeviceMetadata(): AdminResult<DeviceMetadata>(source)

Request DeviceMetadata from the device (firmware version, hardware model, etc.).

For the local node, this is cached during handshake and available via RadioClient.deviceConfig. For remote nodes, use forNode to target the desired node:

val metadata = client.admin.forNode(remoteNodeId).getDeviceMetadata()

Return

the device's metadata

Since

0.2.0