Companion
Functions
Decodes a list of DeviceRetrievalMethod CBOR DataItem elements into single-mode MdocConnectionMethod instances.
Decodes an NFC Connection Handover carrier configuration NdefRecord into zero or more single-mode MdocConnectionMethod instances.
Encodes a list of single-mode MdocConnectionMethod entries into DeviceRetrievalMethods CBOR items, coalescing all Ble entries into a single [2, 1, BleOptions] item at the position of the first Ble entry (satisfying ISO/IEC 18013-5 clause 9.2's uniqueness rule for (type, version) tuples).
Encodes a list of single-mode MdocConnectionMethod entries into NFC Forum Connection Handover HandoverCarrierRecords bundles, coalescing all Ble entries into a single BLE OOB ("0") + optional ChBleOptions ("chble") carrier at the position of the first Ble entry.
Decodes a single DeviceRetrievalMethod CBOR byte array into one or more single-mode MdocConnectionMethod instances (or an empty list if the method type/version is unsupported).