frame_cbor.v1.json (1215B)
1 { 2 "suite": "mesh", 3 "contract_version": "1.0.0", 4 "vectors": [ 5 { 6 "id": "mesh_frame_cbor_default_001", 7 "kind": "mesh.frame_cbor.valid", 8 "input": { 9 "hex": "a70001010002656c6f63616c03696d6573736167652d3104182a0519ea6006a0" 10 }, 11 "expected": { 12 "message_id": "message-1", 13 "scope": "local" 14 } 15 }, 16 { 17 "id": "mesh_frame_cbor_unsupported_version_002", 18 "kind": "mesh.frame_cbor.invalid", 19 "input": { 20 "hex": "a70002010002656c6f63616c03696d6573736167652d3104182a0519ea6006a0" 21 }, 22 "expected": { 23 "error": "unsupported_version" 24 } 25 }, 26 { 27 "id": "mesh_frame_cbor_wrong_key_order_003", 28 "kind": "mesh.frame_cbor.invalid", 29 "input": { 30 "hex": "a70001020002656c6f63616c03696d6573736167652d3104182a0519ea6006a0" 31 }, 32 "expected": { 33 "error": "invalid_cbor" 34 } 35 }, 36 { 37 "id": "mesh_frame_cbor_payload_bytes_004", 38 "kind": "mesh.frame_cbor.invalid", 39 "input": { 40 "hex": "a70001010002656c6f63616c03696d6573736167652d3104182a0519ea600643010203" 41 }, 42 "expected": { 43 "error": "payload_transmission_forbidden" 44 } 45 } 46 ] 47 }