import

suspend fun import(array: ByteArray): MeshNetwork

Imports a Mesh Network from a byte array containing a Json defined by the Mesh Configuration Database profile.

Return

a mesh network configuration decoded from the given byte array.

Throws

if deserializing fails.