Create a DeviceDetails instance based on raw CBOR data.
public static func decode(cbor: Data) throws -> DeviceDetails
- Raw CBOR data (as received through a CoAP call to a Nabto Embedded SDK device).
- If the specified data could not be decoded into a DeviceDetails instance.
a DeviceDetails instance representing the input raw CBOR data