toDataItem

Generates CBOR compliant with the CDDL for DeviceRequest according to ISO 18013-5.

Return

a DataItem.