mq5:: added new sensor
[contrib/upm.git] / examples / nrf8001_broadcast.h
1 #include "hal_platform.h"
2 #include "aci.h"
3
4 #pragma once
5
6 #define PIPE_GAP_DEVICE_NAME_SET 1
7
8 #define NUMBER_OF_PIPES 1
9
10 #define SERVICES_PIPE_TYPE_MAPPING_CONTENT {\
11   {ACI_STORE_LOCAL, ACI_SET},   \
12 }
13
14 #define GAP_PPCP_MAX_CONN_INT 0xffff /**< Maximum connection interval as a multiple of 1.25 msec , 0xFFFF means no specific value requested */
15 #define GAP_PPCP_MIN_CONN_INT  0xffff /**< Minimum connection interval as a multiple of 1.25 msec , 0xFFFF means no specific maximum*/
16 #define GAP_PPCP_SLAVE_LATENCY 0
17 #define GAP_PPCP_CONN_TIMEOUT 0xffff /** Connection Supervision timeout multiplier as a multiple of 10msec, 0xFFFF means no specific value requested */
18
19 #define NB_SETUP_MESSAGES 13
20 #define SETUP_MESSAGES_CONTENT {\
21     {0x00,\
22         {\
23             0x07,0x06,0x00,0x00,0x03,0x02,0x41,0xd7,\
24         },\
25     },\
26     {0x00,\
27         {\
28             0x1f,0x06,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x01,0x01,0x01,0x00,0x00,0x06,0x00,0x01,\
29             0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
30         },\
31     },\
32     {0x00,\
33         {\
34             0x1f,0x06,0x10,0x1c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
35             0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x90,0x00,0x64,\
36         },\
37     },\
38     {0x00,\
39         {\
40             0x1f,0x06,0x10,0x38,0x02,0xff,0x02,0x58,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
41             0x00,0x50,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
42         },\
43     },\
44     {0x00,\
45         {\
46             0x05,0x06,0x10,0x54,0x00,0x00,\
47         },\
48     },\
49     {0x00,\
50         {\
51             0x1f,0x06,0x20,0x00,0x04,0x04,0x02,0x02,0x00,0x01,0x28,0x00,0x01,0x00,0x18,0x04,0x04,0x05,0x05,0x00,\
52             0x02,0x28,0x03,0x01,0x0e,0x03,0x00,0x00,0x2a,0x04,0x14,0x0b,\
53         },\
54     },\
55     {0x00,\
56         {\
57             0x1f,0x06,0x20,0x1c,0x05,0x00,0x03,0x2a,0x00,0x01,0x62,0x63,0x61,0x73,0x74,0x63,0x73,0x65,0x6d,0x69,\
58             0x2e,0x04,0x04,0x05,0x05,0x00,0x04,0x28,0x03,0x01,0x02,0x05,\
59         },\
60     },\
61     {0x00,\
62         {\
63             0x1f,0x06,0x20,0x38,0x00,0x01,0x2a,0x06,0x04,0x03,0x02,0x00,0x05,0x2a,0x01,0x01,0x00,0x00,0x04,0x04,\
64             0x05,0x05,0x00,0x06,0x28,0x03,0x01,0x02,0x07,0x00,0x04,0x2a,\
65         },\
66     },\
67     {0x00,\
68         {\
69             0x1f,0x06,0x20,0x54,0x06,0x04,0x09,0x08,0x00,0x07,0x2a,0x04,0x01,0xff,0xff,0xff,0xff,0x00,0x00,0xff,\
70             0xff,0x04,0x04,0x02,0x02,0x00,0x08,0x28,0x00,0x01,0x01,0x18,\
71         },\
72     },\
73     {0x00,\
74         {\
75             0x04,0x06,0x20,0x70,0x00,\
76         },\
77     },\
78     {0x00,\
79         {\
80             0x0d,0x06,0x40,0x00,0x2a,0x00,0x01,0x00,0x80,0x04,0x00,0x03,0x00,0x00,\
81         },\
82     },\
83     {0x00,\
84         {\
85             0x06,0x06,0x60,0x00,0x00,0x00,0x00,\
86         },\
87     },\
88     {0x00,\
89         {\
90             0x06,0x06,0xf0,0x00,0x03,0x4c,0xf2,\
91         },\
92     },\
93 }