| /* |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| */ |
| |
| #include "test_cborattr.h" |
| /* |
| * {"a": "A", "b": "B", "c": "C", "d": "D", "e": "E"} |
| */ |
| static const uint8_t test_data1[] = { |
| 0xa5, 0x61, 0x61, 0x61, 0x41, 0x61, 0x62, 0x61, |
| 0x42, 0x61, 0x63, 0x61, 0x43, 0x61, 0x64, 0x61, |
| 0x44, 0x61, 0x65, 0x61, 0x45 |
| }; |
| |
| const uint8_t * |
| test_str1(int *len) |
| { |
| *len = sizeof(test_data1); |
| return (test_data1); |
| } |