1 /* 2 * Copyright 2024 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 #pragma once 18 19 #include <cstddef> 20 21 #include "stack/test/sdp/raw_packet.h" 22 23 namespace bluetooth { 24 namespace testing { 25 namespace stack { 26 namespace sdp { 27 namespace packets00 { 28 29 // b/321872406#comment32 30 // Frame (103 bytes) 31 static const unsigned char pkt1017[103] = { 32 0x02, 0x0b, 0x20, 0x62, 0x00, 0x5e, 0x00, 0x46, // .. b.^.F 33 0x00, 0x07, 0x00, 0x00, 0x00, 0x59, 0x00, 0x56, // .....Y.V 34 0x36, 0x00, 0x53, 0x36, 0x00, 0x50, 0x09, 0x00, // 6.S6.P.. 35 0x00, 0x0a, 0x00, 0x01, 0x00, 0x09, 0x09, 0x00, // ........ 36 0x01, 0x35, 0x11, 0x1c, 0x4d, 0xe1, 0x7a, 0x00, // .5..M.z. 37 0x52, 0xcb, 0x11, 0xe6, 0xbd, 0xf4, 0x08, 0x00, // R....... 38 0x20, 0x0c, 0x9a, 0x66, 0x09, 0x00, 0x02, 0x0a, // ..f.... 39 0x00, 0x8f, 0x51, 0x62, 0x09, 0x00, 0x04, 0x35, // ..Qb...5 40 0x0c, 0x35, 0x03, 0x19, 0x01, 0x00, 0x35, 0x05, // .5....5. 41 0x19, 0x00, 0x03, 0x08, 0x03, 0x09, 0x00, 0x05, // ........ 42 0x35, 0x03, 0x19, 0x10, 0x02, 0x09, 0x00, 0x09, // 5....... 43 0x35, 0x08, 0x35, 0x06, 0x19, 0x11, 0x01, 0x09, // 5.5..... 44 0x01, 0x02, 0x09, 0x01, 0x00, 0x00, 0x00 // ....... 45 }; 46 47 const raw_packet_t rx_pkts[] = { 48 {pkt1017, sizeof(pkt1017)}, 49 }; 50 const size_t kNumRxPkts = sizeof(rx_pkts) / sizeof(rx_pkts[0]); 51 52 } // namespace packets00 53 } // namespace sdp 54 } // namespace stack 55 } // namespace testing 56 } // namespace bluetooth 57