aboutsummaryrefslogtreecommitdiff
path: root/drive-sdk/test/adv_data.h
blob: c5581be58e82ac5896612c6fc771eaafc9dbada5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
 * Copyright (c) 2014 Anki, Inc.
 *
 * Licensed 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.
 */

#ifndef ADV_DATA_H
#define ADV_DATA_H

// scan data from Anki Drive vehicles
static uint8_t adv0_scan[] = { 
    0x02, 0x01, 0x06, 
    0x11, 0x07, 0xF4, 0x8D, 0x4D, 0x9C, 0xD8, 0x0B, 0x81, 0x83, 0x7E, 0x40, 0x86, 0x61, 0xEF, 0xBE, 0x15, 0xBE,
    0x09, 0xFF, 0xBE, 0xEF, 0x00, 0x01, 0x00, 0xE0, 0x0A, 0xA3
};
static uint8_t adv1_scan[] = {
    0x13, 0x09, 0x50, 0x20, 0x21, 0x01, 0x20, 0x20, 0x5A, 0x39, 0x41, 0x41, 0x33, 0x20, 0x54, 0x4F, 0x4D, 0x4D, 0x59, 0x00,
    0x02, 0x0A, 0x00
};

// scan data from Ti SensorTag
static uint8_t st0_scan[] = { 0x02, 0x01, 0x05 };
static uint8_t st1_scan[] = { 
    0x0A, 0x09, 0x53, 0x65, 0x6E, 0x73, 0x6F, 0x72, 0x54, 0x61, 0x67,
    0x05, 0x12, 0x50, 0x00, 0x20, 0x03,
    0x02, 0x0A, 0x00
};

#endif // ADV_DATA_H