added debugging

Fork of BLE_nRF8001 by RedBearLab

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers acilib.h Source File

acilib.h

Go to the documentation of this file.
00001 /* Copyright (c) 2014, Nordic Semiconductor ASA
00002  *
00003  * Permission is hereby granted, free of charge, to any person obtaining a copy
00004  * of this software and associated documentation files (the "Software"), to deal
00005  * in the Software without restriction, including without limitation the rights
00006  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
00007  * copies of the Software, and to permit persons to whom the Software is
00008  * furnished to do so, subject to the following conditions:
00009  *
00010  * The above copyright notice and this permission notice shall be included in all
00011  * copies or substantial portions of the Software.
00012  *
00013  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00014  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00015  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
00016  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
00017  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
00018  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
00019  * SOFTWARE.
00020  */
00021 
00022 /**
00023  * @file
00024  *
00025  * @ingroup group_acilib
00026  *
00027  * @brief Internal prototype for acilib module.
00028  */
00029 
00030 #ifndef _acilib_H_
00031 #define _acilib_H_
00032 
00033 #define MSG_SET_LOCAL_DATA_BASE_LEN              2
00034 #define MSG_CONNECT_LEN                          5
00035 #define MSG_BOND_LEN                             5
00036 #define MSG_DISCONNECT_LEN                       2
00037 #define MSG_BASEBAND_RESET_LEN                   1
00038 #define MSG_WAKEUP_LEN                           1
00039 #define MSG_SET_RADIO_TX_POWER_LEN               2
00040 #define MSG_GET_DEVICE_ADDR_LEN                  1
00041 #define MSG_SEND_DATA_BASE_LEN                   2
00042 #define MSG_DATA_REQUEST_LEN                     2
00043 #define MSG_OPEN_REMOTE_PIPE_LEN                 2
00044 #define MSG_CLOSE_REMOTE_PIPE_LEN                2
00045 #define MSG_DTM_CMD                              3
00046 #define MSG_WRITE_DYNAMIC_DATA_BASE_LEN          2
00047 #define MSG_SETUP_CMD_BASE_LEN                   1
00048 #define MSG_ECHO_MSG_CMD_BASE_LEN                1
00049 #define MSG_CHANGE_TIMING_LEN                    9
00050 #define MSG_SET_APP_LATENCY_LEN                  4
00051 #define MSG_CHANGE_TIMING_LEN_GAP_PPCP           1
00052 #define MSG_DIRECT_CONNECT_LEN                   1
00053 #define MSG_SET_KEY_REJECT_LEN                   2
00054 #define MSG_SET_KEY_PASSKEY_LEN                  8
00055 #define MSG_SET_KEY_OOB_LEN                      18
00056 #define MSG_ACK_LEN                              2
00057 #define MSG_NACK_LEN                             3
00058 #define MSG_BROADCAST_LEN                        5
00059 #define MSG_OPEN_ADV_PIPES_LEN                   9
00060 
00061 #endif /* _acilib_H_ */