Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
151 lines (138 sloc) 5.05 KB
/**
* This file is autogenerated by nRFgo Studio 1.21.1.3
*/
#ifndef SETUP_MESSAGES_H__
#define SETUP_MESSAGES_H__
#include "hal_platform.h"
#include "aci.h"
#define SETUP_ID 1
#define SETUP_FORMAT 3 /** nRF8001 D */
#define ACI_DYNAMIC_DATA_SIZE 119
/* Service: Example Service - Characteristic: PWM duty cycle - Pipe: RX */
#define PIPE_EXAMPLE_SERVICE_PWM_DUTY_CYCLE_RX 1
#define PIPE_EXAMPLE_SERVICE_PWM_DUTY_CYCLE_RX_MAX_SIZE 1
/* Service: Example Service - Characteristic: Button state - Pipe: TX */
#define PIPE_EXAMPLE_SERVICE_BUTTON_STATE_TX 2
#define PIPE_EXAMPLE_SERVICE_BUTTON_STATE_TX_MAX_SIZE 1
#define NUMBER_OF_PIPES 2
#define SERVICES_PIPE_TYPE_MAPPING_CONTENT {\
{ACI_STORE_LOCAL, ACI_RX}, \
{ACI_STORE_LOCAL, ACI_TX}, \
}
#define GAP_PPCP_MAX_CONN_INT 0x6 /**< Maximum connection interval as a multiple of 1.25 msec , 0xFFFF means no specific value requested */
#define GAP_PPCP_MIN_CONN_INT 0x6 /**< Minimum connection interval as a multiple of 1.25 msec , 0xFFFF means no specific value requested */
#define GAP_PPCP_SLAVE_LATENCY 0
#define GAP_PPCP_CONN_TIMEOUT 0xffff /** Connection Supervision timeout multiplier as a multiple of 10msec, 0xFFFF means no specific value requested */
#define NB_SETUP_MESSAGES 19
#define SETUP_MESSAGES_CONTENT {\
{0x00,\
{\
0x07,0x06,0x00,0x00,0x03,0x02,0x42,0x07,\
},\
},\
{0x00,\
{\
0x1f,0x06,0x10,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x02,0x01,0x01,0x00,0x00,0x06,0x00,0x01,\
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
},\
},\
{0x00,\
{\
0x1f,0x06,0x10,0x1c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x50,0x03,0x90,0x01,0xff,\
},\
},\
{0x00,\
{\
0x1f,0x06,0x10,0x38,0xff,0xff,0x02,0x58,0x0a,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,\
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
},\
},\
{0x00,\
{\
0x05,0x06,0x10,0x54,0x00,0x00,\
},\
},\
{0x00,\
{\
0x1f,0x06,0x20,0x00,0x04,0x04,0x02,0x02,0x00,0x01,0x28,0x00,0x01,0x00,0x18,0x04,0x04,0x05,0x05,0x00,\
0x02,0x28,0x03,0x01,0x02,0x03,0x00,0x00,0x2a,0x04,0x04,0x14,\
},\
},\
{0x00,\
{\
0x1f,0x06,0x20,0x1c,0x0b,0x00,0x03,0x2a,0x00,0x01,0x41,0x56,0x52,0x20,0x6e,0x52,0x46,0x38,0x30,0x30,\
0x31,0x63,0x6f,0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,\
},\
},\
{0x00,\
{\
0x1f,0x06,0x20,0x38,0x05,0x05,0x00,0x04,0x28,0x03,0x01,0x02,0x05,0x00,0x01,0x2a,0x06,0x04,0x03,0x02,\
0x00,0x05,0x2a,0x01,0x01,0x00,0x00,0x04,0x04,0x05,0x05,0x00,\
},\
},\
{0x00,\
{\
0x1f,0x06,0x20,0x54,0x06,0x28,0x03,0x01,0x02,0x07,0x00,0x04,0x2a,0x06,0x04,0x09,0x08,0x00,0x07,0x2a,\
0x04,0x01,0x06,0x00,0x06,0x00,0x00,0x00,0xff,0xff,0x04,0x04,\
},\
},\
{0x00,\
{\
0x1f,0x06,0x20,0x70,0x02,0x02,0x00,0x08,0x28,0x00,0x01,0x01,0x18,0x04,0x04,0x10,0x10,0x00,0x09,0x28,\
0x00,0x01,0x81,0xf5,0x74,0x38,0xb3,0x20,0x71,0xab,0x43,0x4c,\
},\
},\
{0x00,\
{\
0x1f,0x06,0x20,0x8c,0x96,0xc6,0x01,0xa0,0x15,0x42,0x04,0x04,0x13,0x13,0x00,0x0a,0x28,0x03,0x01,0x06,\
0x0b,0x00,0x81,0xf5,0x74,0x38,0xb3,0x20,0x71,0xab,0x43,0x4c,\
},\
},\
{0x00,\
{\
0x1f,0x06,0x20,0xa8,0x96,0xc6,0x01,0xc0,0x15,0x42,0x46,0x14,0x02,0x01,0x00,0x0b,0xc0,0x01,0x02,0x00,\
0x04,0x04,0x13,0x13,0x00,0x0c,0x28,0x03,0x01,0x10,0x0d,0x00,\
},\
},\
{0x00,\
{\
0x1f,0x06,0x20,0xc4,0x81,0xf5,0x74,0x38,0xb3,0x20,0x71,0xab,0x43,0x4c,0x96,0xc6,0x02,0xc0,0x15,0x42,\
0x16,0x00,0x02,0x01,0x00,0x0d,0xc0,0x02,0x02,0x00,0x46,0x14,\
},\
},\
{0x00,\
{\
0x1f,0x06,0x20,0xe0,0x03,0x02,0x00,0x0e,0x29,0x02,0x01,0x00,0x00,0x04,0x04,0x13,0x13,0x00,0x0f,0x28,\
0x03,0x01,0x02,0x10,0x00,0x81,0xf5,0x74,0x38,0xb3,0x20,0x71,\
},\
},\
{0x00,\
{\
0x1a,0x06,0x20,0xfc,0xab,0x43,0x4c,0x96,0xc6,0x00,0xcf,0x15,0x42,0x06,0x04,0x05,0x04,0x00,0x10,0xcf,\
0x00,0x02,0xb0,0x0b,0xfa,0xce,0x00,\
},\
},\
{0x00,\
{\
0x17,0x06,0x40,0x00,0xc0,0x01,0x02,0x00,0x08,0x04,0x00,0x0b,0x00,0x00,0xc0,0x02,0x02,0x00,0x02,0x04,\
0x00,0x0d,0x00,0x0e,\
},\
},\
{0x00,\
{\
0x13,0x06,0x50,0x00,0x81,0xf5,0x74,0x38,0xb3,0x20,0x71,0xab,0x43,0x4c,0x96,0xc6,0x00,0x00,0x15,0x42,\
},\
},\
{0x00,\
{\
0x09,0x06,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
},\
},\
{0x00,\
{\
0x06,0x06,0xf0,0x00,0x03,0x48,0xec,\
},\
},\
}
#endif