/*******************************************************************************
* Project:      Amped'RF Bluetooth
* File name:    SDK_BP_Signals.h
* Description:  BP Signals
*
* Copyright (c) 2016 Amped'RF Technology Inc, All rights reserved.
*******************************************************************************/
#ifndef _SDK_BP_SIGNALS_H_
#define _SDK_BP_SIGNALS_H_


/*******************************************************************************/
// BTI
/*******************************************************************************/

#define SIG_BTU_BASE                                        7000
#define SIG_BTI_BASE                                        8000


//==============================================================================
//  GAP : API to BTI
#define SIG_BTI_GAP_API_TO_BTI_BASE                         SIG_BTI_BASE

#define SIG_BTI_GAP_DEVICE_SETUP                            (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  1)
#define SIG_BTI_GAP_START_INQUIRY                           (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  2)
#define SIG_BTI_GAP_CANCEL_INQUIRY                          (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  3)
#define SIG_BTI_GAP_REMOTE_NAME_REQ                         (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  4)
#define SIG_BTI_GAP_SECURITY_SETUP                          (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  5)
#define SIG_BTI_GAP_PINCODE_REPLY                           (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  6)
#define SIG_BTI_CREATE_DEVICE_DATABASE                      (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  7)
#define SIG_BTI_DELETE_DEVICE_DATABASE                      (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  8)
#define SIG_BTI_GAP_AUTHORIZE_RESPONSE                      (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  9)
#define SIG_BTI_GAP_SETUP                                   (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  10)
#define SIG_BTI_GAP_RESET_REQ                               (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  11)
#define SIG_BTI_GAP_READ_BD_ADDR_REQ                        (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  12)
#define SIG_BTI_GAP_BOND                                    (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  13)
#define SIG_BTI_READ_DEVICE_DATABASE                        (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  14)
#define SIG_BTI_HOLD_MODE                                   (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  15)
#define SIG_BTI_SNIFF_MODE                                  (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  16)
#define SIG_BTI_EXIT_SNIFF_MODE                             (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  17)
#define SIG_BTI_PARK_MODE                                   (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  18)
#define SIG_BTI_EXIT_PARK_MODE                              (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  19)
#define SIG_BTI_SWITCH_ROLE                                 (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  20)
#define SIG_BTI_ADD_SCO                                     (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  21)
#define SIG_BTI_SETUP_SYNC                                  (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  22)
#define SIG_BTI_PACKET_TYPE                                 (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  23)
#define SIG_BTI_SET_FLUSH_TIMEOUT                           (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  24)

#define SIG_BTI_GAP_LE_DEVICE_SETUP                         (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  25)
#define SIG_BTI_GAP_LE_LINK_CREATE                          (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  26)
#define SIG_BTI_GAP_LE_LINK_TERMINATE                       (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  27)
#define SIG_BTI_DELETE_LE_DEVICE_DATABASE                   (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  28)

#define SIG_BTI_GAP_API_TO_BTI_END                          (tBP_SignalNo)(SIG_BTI_GAP_API_TO_BTI_BASE +  29)


//------------------------------------------------------------------------------
//  GAP : BTI to API
#define SIG_BTI_GAP_BTI_TO_API_BASE                         (SIG_BTI_BASE+ 50)

#define SIG_BTI_GAP_RESULT                                  (tBP_SignalNo)(SIG_BTI_GAP_BTI_TO_API_BASE +  1)
#define SIG_BTI_GAP_INQUIRY_RESULT                          (tBP_SignalNo)(SIG_BTI_GAP_BTI_TO_API_BASE +  2)
#define SIG_BTI_GAP_REMOTE_NAME_CON                         (tBP_SignalNo)(SIG_BTI_GAP_BTI_TO_API_BASE +  3)
#define SIG_BTI_GAP_PIN_CODE_REQUEST                        (tBP_SignalNo)(SIG_BTI_GAP_BTI_TO_API_BASE +  4)
#define SIG_BTI_GAP_AUTHORIZE_REQUEST                       (tBP_SignalNo)(SIG_BTI_GAP_BTI_TO_API_BASE +  5)
#define SIG_BTI_GAP_ABORT_SECURITY                          (tBP_SignalNo)(SIG_BTI_GAP_BTI_TO_API_BASE +  6)
#define SIG_BTI_GAP_AUTH_COMPLETE                           (tBP_SignalNo)(SIG_BTI_GAP_BTI_TO_API_BASE +  7)
#define SIG_BTI_GAP_RESET_CON                               (tBP_SignalNo)(SIG_BTI_GAP_BTI_TO_API_BASE +  8)
#define SIG_BTI_GAP_DATA_BUFFER_FREED                       (tBP_SignalNo)(SIG_BTI_GAP_BTI_TO_API_BASE +  9)
#define SIG_BTI_GAP_READ_BD_ADDR_RES                        (tBP_SignalNo)(SIG_BTI_GAP_BTI_TO_API_BASE +  10)
#define SIG_BTI_GAP_DEVICE_DB_RESULT                        (tBP_SignalNo)(SIG_BTI_GAP_BTI_TO_API_BASE +  11)
#define SIG_BTI_GAP_LINK_KEY_NOTIFY                         (tBP_SignalNo)(SIG_BTI_GAP_BTI_TO_API_BASE +  12)
#define SIG_BTI_MODE_CHANGE_RESULT                          (tBP_SignalNo)(SIG_BTI_GAP_BTI_TO_API_BASE +  13)
#define SIG_BTI_GAP_LL_CONN_DOWN                            (tBP_SignalNo)(SIG_BTI_GAP_BTI_TO_API_BASE +  14)
#define SIG_BTI_SWITCH_ROLE_RESULT                          (tBP_SignalNo)(SIG_BTI_GAP_BTI_TO_API_BASE +  15)
// KS 120902
#define SIG_BTI_GAP_CONFIRMATION_REQUEST                    (tBP_SignalNo)(SIG_BTI_GAP_BTI_TO_API_BASE +  16)

#define SIG_BTI_GAP_BTI_TO_API_END                          (tBP_SignalNo)(SIG_BTI_GAP_BTI_TO_API_BASE +  16)


//==============================================================================
//  SPP : API to BTI
#define SIG_BTI_SPP_API_TO_BTI_BASE                         (SIG_BTI_BASE+100)

#define SIG_BTI_SPP_SEND                                    (tBP_SignalNo)(SIG_BTI_SPP_API_TO_BTI_BASE +  1)
#define SIG_BTI_SPP_LISTEN_REQ                              (tBP_SignalNo)(SIG_BTI_SPP_API_TO_BTI_BASE +  2)
#define SIG_BTI_SPP_CONNECT_REQ                             (tBP_SignalNo)(SIG_BTI_SPP_API_TO_BTI_BASE +  3)
#define SIG_BTI_SPP_DISCONNECT_REQ                          (tBP_SignalNo)(SIG_BTI_SPP_API_TO_BTI_BASE +  4)
#define SIG_BTI_SPP_SETUP                                   (tBP_SignalNo)(SIG_BTI_SPP_API_TO_BTI_BASE +  5)
#define SIG_BTI_SPP_LAP_LISTEN_REQ                          (tBP_SignalNo)(SIG_BTI_SPP_API_TO_BTI_BASE +  6)
#define SIG_BTI_SPP_GENERIC_LISTEN_REQ                      (tBP_SignalNo)(SIG_BTI_SPP_API_TO_BTI_BASE +  7)
#define SIG_BTI_SPP_GENERIC_CONNECT_REQ                     (tBP_SignalNo)(SIG_BTI_SPP_API_TO_BTI_BASE +  8)
#define SIG_BTI_SPP_ADD_PORT_REQ                            (tBP_SignalNo)(SIG_BTI_SPP_API_TO_BTI_BASE +  9)
#define SIG_BTI_SPP_SERVICE_REQ                             (tBP_SignalNo)(SIG_BTI_SPP_API_TO_BTI_BASE +  10)
#define SIG_BTI_PORT_DISCONNECT_REQ                         (tBP_SignalNo)(SIG_BTI_SPP_API_TO_BTI_BASE +  11)
#define SIG_BTI_LINK_DISCONNECT_REQ                         (tBP_SignalNo)(SIG_BTI_SPP_API_TO_BTI_BASE +  12)
#define SIG_BTI_SAVE_RECONNECT_INFO                         (tBP_SignalNo)(SIG_BTI_SPP_API_TO_BTI_BASE +  13)

#define SIG_BTI_SPP_API_TO_BTI_END                          (tBP_SignalNo)(SIG_BTI_SPP_API_TO_BTI_BASE +  14)


//==============================================================================
//  AVDTP : API to BTI
enum {
    SIG_BTI_AVDTP_API_TO_BTI_BASE = (SIG_BTI_BASE+130),
    SIG_BTI_AVDTP_LISTEN_REQ,
    SIG_BTI_AVDTP_ABORT_REQ,
    SIG_BTI_AVDTP_ERASE_MEDIA_BUFFER,
    SIG_BTI_AVDTP_DMA_BLOCK_COLLISION,
    SIG_BTI_AVDTP_API_TO_BTI_END
};


//==============================================================================
//  SPP : BTI to API
#define SIG_BTI_SPP_BTI_TO_API_BASE                         (SIG_BTI_BASE+150)

#define SIG_BTI_SPP_RECV                                    (tBP_SignalNo)(SIG_BTI_SPP_BTI_TO_API_BASE +  1)
#define SIG_BTI_SPP_CONNECT_STATUS                          (tBP_SignalNo)(SIG_BTI_SPP_BTI_TO_API_BASE +  2)
#define SIG_BTI_SPP_LISTEN_CON                              (tBP_SignalNo)(SIG_BTI_SPP_BTI_TO_API_BASE +  3)
#define SIG_BTI_SPP_CONNECT_CON                             (tBP_SignalNo)(SIG_BTI_SPP_BTI_TO_API_BASE +  4)
#define SIG_BTI_SPP_DISCONNECT_IND                          (tBP_SignalNo)(SIG_BTI_SPP_BTI_TO_API_BASE +  5)
#define SIG_BTI_SPP_DISCONNECT_CON                          (tBP_SignalNo)(SIG_BTI_SPP_BTI_TO_API_BASE +  6)
#define SIG_BTI_SPP_SETUP_RESULT                            (tBP_SignalNo)(SIG_BTI_SPP_BTI_TO_API_BASE +  7)

#define SIG_BTI_SPP_BTI_TO_API_END                          (tBP_SignalNo)(SIG_BTI_SPP_BTI_TO_API_BASE +  8)

//------------------------------------------------------------------------------


//==============================================================================
//  PAN : API to BTI
#define SIG_BTI_PAN_API_TO_BTI_BASE                          (SIG_BTI_BASE+200)

#define SIG_BTI_PAN_LISTEN_CONFIRM                           (tBP_SignalNo)(SIG_BTI_PAN_API_TO_BTI_BASE +  1)
#define SIG_BTI_PAN_CONNECT_CONFIRM                          (tBP_SignalNo)(SIG_BTI_PAN_API_TO_BTI_BASE +  2)
#define SIG_BTI_PAN_DISCONNECT_CONFIRM                       (tBP_SignalNo)(SIG_BTI_PAN_API_TO_BTI_BASE +  3)
#define SIG_BTI_PAN_DISCONNECT_INDICATION                    (tBP_SignalNo)(SIG_BTI_PAN_API_TO_BTI_BASE +  4)
#define SIG_BTI_PAN_EVENT                                    (tBP_SignalNo)(SIG_BTI_PAN_API_TO_BTI_BASE +  5)
#define SIG_BTI_PAN_UNITDATA_INDICATION                      (tBP_SignalNo)(SIG_BTI_PAN_API_TO_BTI_BASE +  6)
#define SIG_BTI_PAN_ERROR                                    (tBP_SignalNo)(SIG_BTI_PAN_API_TO_BTI_BASE +  7)
#define SIG_BTI_PAN_STATUS_DATA_INDICATION                   (tBP_SignalNo)(SIG_BTI_PAN_API_TO_BTI_BASE +  8)

#define SIG_BTI_PAN_API_TO_BTI_END                           (tBP_SignalNo)(SIG_BTI_PAN_API_TO_BTI_BASE +  9)

//==============================================================================
//  PAN : BTI to API
#define SIG_BTI_PAN_BTI_TO_API_BASE                         (SIG_BTI_BASE+250)

#define SIG_BTI_PAN_LISTEN_REQUEST                          (tBP_SignalNo)(SIG_BTI_PAN_BTI_TO_API_BASE +  1)
#define SIG_BTI_PAN_CONNECT_REQUEST                         (tBP_SignalNo)(SIG_BTI_PAN_BTI_TO_API_BASE +  2)
#define SIG_BTI_PAN_DISCONNECT_REQUEST                      (tBP_SignalNo)(SIG_BTI_PAN_BTI_TO_API_BASE +  3)
#define SIG_BTI_PAN_UNITDATA_REQUEST                        (tBP_SignalNo)(SIG_BTI_PAN_BTI_TO_API_BASE +  4)

#define SIG_BTI_PAN_BTI_TO_API_END                          (tBP_SignalNo)(SIG_BTI_PAN_BTI_TO_API_BASE +  5)

//==============================================================================
//  OPP : API to BTI
#define SIG_BTI_OPP_API_TO_BTI_BASE                         (SIG_BTI_BASE+300)

#define SIG_BTI_OPP_SETUP                                   (tBP_SignalNo)(SIG_BTI_OPP_API_TO_BTI_BASE +  1)

// Server Signals
#define SIG_BTI_OPP_SERVER_REGISTER_REQ                     (tBP_SignalNo)(SIG_BTI_OPP_API_TO_BTI_BASE +  2)
#define SIG_BTI_OPP_SERVER_PUSH_OBJECT_CON                  (tBP_SignalNo)(SIG_BTI_OPP_API_TO_BTI_BASE +  3)
#define SIG_BTI_OPP_SERVER_PULL_OBJECT_CON                  (tBP_SignalNo)(SIG_BTI_OPP_API_TO_BTI_BASE +  4)
#define SIG_BTI_OPP_SERVER_UNREGISTER_REQ                   (tBP_SignalNo)(SIG_BTI_OPP_API_TO_BTI_BASE +  5)
#define SIG_BTI_OPP_SERVER_ABORT_CON                        (tBP_SignalNo)(SIG_BTI_OPP_API_TO_BTI_BASE +  6)
#define SIG_BTI_OPP_SERVER_CLOSE_CON                        (tBP_SignalNo)(SIG_BTI_OPP_API_TO_BTI_BASE +  7)
#define SIG_BTI_OPP_SERVER_OPEN_CON                         (tBP_SignalNo)(SIG_BTI_OPP_API_TO_BTI_BASE +  8)

// Client Signals
#define SIG_BTI_OPP_CLIENT_OPEN_REQ                         (tBP_SignalNo)(SIG_BTI_OPP_API_TO_BTI_BASE +  9)
#define SIG_BTI_OPP_CLIENT_PUSH_OBJECT_REQ                  (tBP_SignalNo)(SIG_BTI_OPP_API_TO_BTI_BASE +  10)
#define SIG_BTI_OPP_CLIENT_PULL_OBJECT_REQ                  (tBP_SignalNo)(SIG_BTI_OPP_API_TO_BTI_BASE +  11)
#define SIG_BTI_OPP_CLIENT_EXCHANGE_OBJECTS_REQ             (tBP_SignalNo)(SIG_BTI_OPP_API_TO_BTI_BASE +  12)
#define SIG_BTI_OPP_CLIENT_ABORT_REQ                        (tBP_SignalNo)(SIG_BTI_OPP_API_TO_BTI_BASE +  13)
#define SIG_BTI_OPP_CLIENT_CLOSE_REQ                        (tBP_SignalNo)(SIG_BTI_OPP_API_TO_BTI_BASE +  14)


#define SIG_BTI_OPP_API_TO_BTI_END                          (tBP_SignalNo)(SIG_BTI_OPP_API_TO_BTI_BASE +  15)

//==============================================================================
//  OPP : BTI to API
#define SIG_BTI_OPP_BTI_TO_API_BASE                         (SIG_BTI_BASE+350)

#define SIG_BTI_OPP_RESULT                                  (tBP_SignalNo)(SIG_BTI_OPP_BTI_TO_API_BASE +  1)

// Server signals
#define SIG_BTI_OPP_SERVER_PUSH_OBJECT_IND                  (tBP_SignalNo)(SIG_BTI_OPP_BTI_TO_API_BASE +  2)
#define SIG_BTI_OPP_SERVER_PULL_OBJECT_IND                  (tBP_SignalNo)(SIG_BTI_OPP_BTI_TO_API_BASE +  3)
#define SIG_BTI_OPP_SERVER_ABORT_IND                        (tBP_SignalNo)(SIG_BTI_OPP_BTI_TO_API_BASE +  4)
#define SIG_BTI_OPP_SERVER_CLOSE_IND                        (tBP_SignalNo)(SIG_BTI_OPP_BTI_TO_API_BASE +  5)
#define SIG_BTI_OPP_SERVER_UNREGISTER_RSP                   (tBP_SignalNo)(SIG_BTI_OPP_BTI_TO_API_BASE +  6)
#define SIG_BTI_OPP_SERVER_REGISTER_RSP                     (tBP_SignalNo)(SIG_BTI_OPP_BTI_TO_API_BASE +  7)
#define SIG_BTI_OPP_SERVER_OPEN_IND                         (tBP_SignalNo)(SIG_BTI_OPP_BTI_TO_API_BASE +  8)

// Client Signals
#define SIG_BTI_OPP_CLIENT_PUSH_OBJECT_RSP                  (tBP_SignalNo)(SIG_BTI_OPP_BTI_TO_API_BASE +  9)
#define SIG_BTI_OPP_CLIENT_PULL_OBJECT_RSP                  (tBP_SignalNo)(SIG_BTI_OPP_BTI_TO_API_BASE +  10)
#define SIG_BTI_OPP_CLIENT_EXCHANGE_OBJECTS_RSP             (tBP_SignalNo)(SIG_BTI_OPP_BTI_TO_API_BASE +  11)
#define SIG_BTI_OPP_CLIENT_ABORT_RSP                        (tBP_SignalNo)(SIG_BTI_OPP_BTI_TO_API_BASE +  12)
#define SIG_BTI_OPP_CLIENT_CLOSE_RSP                        (tBP_SignalNo)(SIG_BTI_OPP_BTI_TO_API_BASE +  13)
#define SIG_BTI_OPP_CLIENT_OPEN_RSP                         (tBP_SignalNo)(SIG_BTI_OPP_BTI_TO_API_BASE +  14)

#define SIG_BTI_OPP_BTI_TO_API_END                          (tBP_SignalNo)(SIG_BTI_OPP_BTI_TO_API_BASE +  15)

//==============================================================================
//  SDAP : API to BTI
#define SIG_BTI_SDAP_API_TO_BTI_BASE                         (SIG_BTI_BASE+400)

#define SIG_BTI_SDAP_SETUP                                   (tBP_SignalNo)(SIG_BTI_SDAP_API_TO_BTI_BASE +  1)
#define SIG_BTI_SDAP_SERVICE_SEARCH_REQ                      (tBP_SignalNo)(SIG_BTI_SDAP_API_TO_BTI_BASE +  2)
#define SIG_BTI_SDAP_ENUM_REM_DEV_REQ                        (tBP_SignalNo)(SIG_BTI_SDAP_API_TO_BTI_BASE +  3)
#define SIG_BTI_SDAP_REM_DEV_LIST_CONSUMED                   (tBP_SignalNo)(SIG_BTI_SDAP_API_TO_BTI_BASE +  4)

#define SIG_BTI_SDAP_API_TO_BTI_END                          (tBP_SignalNo)(SIG_BTI_SDAP_API_TO_BTI_BASE +  5)

//==============================================================================
//  SDAP : BTI to API
#define SIG_BTI_SDAP_BTI_TO_API_BASE                         (SIG_BTI_BASE+450)

#define SIG_BTI_SDAP_RESULT                                  (tBP_SignalNo)(SIG_BTI_SDAP_BTI_TO_API_BASE +  1)
#define SIG_BTI_SDAP_SERVICE_SEARCH_CON                      (tBP_SignalNo)(SIG_BTI_SDAP_BTI_TO_API_BASE +  2)
#define SIG_BTI_SDAP_REM_DEV_LIST_CON                        (tBP_SignalNo)(SIG_BTI_SDAP_BTI_TO_API_BASE +  3)
#define SIG_BTI_SDAP_BTI_TO_API_END                          (tBP_SignalNo)(SIG_BTI_SDAP_BTI_TO_API_BASE +  4)

//------------------------------------------------------------------------------
//==============================================================================
//  DUN : API to BTI
#define SIG_BTI_DUN_API_TO_BTI_BASE                         (SIG_BTI_BASE+500)

#define SIG_BTI_DUN_LISTEN_REQ                              (tBP_SignalNo)(SIG_BTI_DUN_API_TO_BTI_BASE +  1)
#define SIG_BTI_DUN_CONNECT_REQ                             (tBP_SignalNo)(SIG_BTI_DUN_API_TO_BTI_BASE +  2)
#define SIG_BTI_DUN_SEND_DATA_REQ                           (tBP_SignalNo)(SIG_BTI_DUN_API_TO_BTI_BASE +  3)
#define SIG_BTI_DUN_CLOSE_REQ                               (tBP_SignalNo)(SIG_BTI_DUN_API_TO_BTI_BASE +  4)
#define SIG_BTI_DUN_SHUTDOWN_REQ                            (tBP_SignalNo)(SIG_BTI_DUN_API_TO_BTI_BASE +  5)
#define SIG_BTI_DUN_SETUP_REQ                               (tBP_SignalNo)(SIG_BTI_DUN_API_TO_BTI_BASE +  6)
#define SIG_BTI_DUN_FLOW_CONTROL_REQ                        (tBP_SignalNo)(SIG_BTI_DUN_API_TO_BTI_BASE +  7)

#define SIG_BTI_DUN_API_TO_BTI_END                          (tBP_SignalNo)(SIG_BTI_DUN_API_TO_BTI_BASE +  8)

//==============================================================================
//  DUN : BTI to API
#define SIG_BTI_DUN_BTI_TO_API_BASE                         (SIG_BTI_BASE+550)

#define SIG_BTI_DUN_RESULT_IND                              (tBP_SignalNo)(SIG_BTI_DUN_BTI_TO_API_BASE +  1)
#define SIG_BTI_DUN_OPEN_CON                                (tBP_SignalNo)(SIG_BTI_DUN_BTI_TO_API_BASE +  2)
#define SIG_BTI_DUN_CLOSE_CON                               (tBP_SignalNo)(SIG_BTI_DUN_BTI_TO_API_BASE +  3)
#define SIG_BTI_DUN_RECV_IND                                (tBP_SignalNo)(SIG_BTI_DUN_BTI_TO_API_BASE +  4)
#define SIG_BTI_DUN_MODEM_STATUS_IND                        (tBP_SignalNo)(SIG_BTI_DUN_BTI_TO_API_BASE +  5)
#define SIG_BTI_DUN_ERROR_IND                               (tBP_SignalNo)(SIG_BTI_DUN_BTI_TO_API_BASE +  6)
#define SIG_BTI_DUN_SETUP_RESULT_IND                        (tBP_SignalNo)(SIG_BTI_DUN_BTI_TO_API_BASE +  7)
#define SIG_BTI_DUN_FLOW_CONTROL_STATUS_IND                 (tBP_SignalNo)(SIG_BTI_DUN_BTI_TO_API_BASE +  8)

#define SIG_BTI_DUN_BTI_TO_API_END                          (tBP_SignalNo)(SIG_BTI_DUN_BTI_TO_API_BASE +  9)


//==============================================================================
//  BLE : BTI to API
#define SIG_BTI_BLE_BTI_TO_API_BASE                         (SIG_BTI_BASE+600)

#define SIG_BTI_BLE_CONNECT_IND                             (tBP_SignalNo)(SIG_BTI_BLE_BTI_TO_API_BASE +  1)
#define SIG_BTI_BLE_DISCONNECT_IND                          (tBP_SignalNo)(SIG_BTI_BLE_BTI_TO_API_BASE +  2)
#define SIG_BTI_BLE_RECV                                    (tBP_SignalNo)(SIG_BTI_BLE_BTI_TO_API_BASE +  3)

#define SIG_BTI_BLE_BTI_TO_API_END                          (tBP_SignalNo)(SIG_BTI_BLE_BTI_TO_API_BASE +  4)


#ifdef CUSTOM_HID
//==============================================================================
//  HID : API to BTI
#define SIG_BTI_HID_API_TO_BTI_BASE                         (SIG_BTI_BASE+650)

#define SIG_BTI_HID_LISTEN_REQ                              (tBP_SignalNo)(SIG_BTI_HID_API_TO_BTI_BASE +  1)
#define SIG_BTI_HID_CONFIG_ProductName                      (tBP_SignalNo)(SIG_BTI_HID_API_TO_BTI_BASE +  2)
#define SIG_BTI_HID_CONFIG_ProviderName                     (tBP_SignalNo)(SIG_BTI_HID_API_TO_BTI_BASE +  3)
#define SIG_BTI_HID_CONFIG_ReportDescriptor                 (tBP_SignalNo)(SIG_BTI_HID_API_TO_BTI_BASE +  4)
#define SIG_BTI_HID_CONFIG_DeviceSubclass					(tBP_SignalNo)(SIG_BTI_HID_API_TO_BTI_BASE +  5)
#define SIG_BTI_HID_CONNECT_REQ                             (tBP_SignalNo)(SIG_BTI_HID_API_TO_BTI_BASE +  6)
#define SIG_BTI_HID_DISCONNECT_REQ                          (tBP_SignalNo)(SIG_BTI_HID_API_TO_BTI_BASE +  7)
#define SIG_BTI_HID_SEND                                    (tBP_SignalNo)(SIG_BTI_HID_API_TO_BTI_BASE +  8)
#define SIG_BTI_HID_SetReport                                    (tBP_SignalNo)(SIG_BTI_HID_API_TO_BTI_BASE +  9)//only for tuv hid set_report
#define SIG_BTI_HID_SEND_Control                            (tBP_SignalNo)(SIG_BTI_HID_API_TO_BTI_BASE +  10)
#define SIG_BTI_HID_GET_CONNECT_STATUS	                    (tBP_SignalNo)(SIG_BTI_HID_API_TO_BTI_BASE +  11)
#define SIG_BTI_HID_API_TO_BTI_END                          (tBP_SignalNo)(SIG_BTI_HID_API_TO_BTI_BASE +  12)



//==============================================================================
//  HID : BTI to API
#define SIG_BTI_HID_BTI_TO_API_BASE                         (SIG_BTI_BASE+700)

#define SIG_BTI_HID_HANDSHAKE                               (tBP_SignalNo)(SIG_BTI_HID_BTI_TO_API_BASE +  1)
#define SIG_BTI_HID_CONTROL                                 (tBP_SignalNo)(SIG_BTI_HID_BTI_TO_API_BASE +  2)
#define SIG_BTI_HID_REPORT                                  (tBP_SignalNo)(SIG_BTI_HID_BTI_TO_API_BASE +  3)
#define SIG_BTI_HID_GETREPORT                               (tBP_SignalNo)(SIG_BTI_HID_BTI_TO_API_BASE +  4)
#define SIG_BTI_HID_CONFIG_CON                              (tBP_SignalNo)(SIG_BTI_HID_BTI_TO_API_BASE +  5)
#define SIG_BTI_HID_LISTEN_CON                              (tBP_SignalNo)(SIG_BTI_HID_BTI_TO_API_BASE +  6)
#define SIG_BTI_HID_CONNECT_CON                             (tBP_SignalNo)(SIG_BTI_HID_BTI_TO_API_BASE +  7)
#define SIG_BTI_HID_CONNECT_STATUS                          (tBP_SignalNo)(SIG_BTI_HID_BTI_TO_API_BASE +  8)
#define SIG_BTI_HID_DISCONNECT_CON                          (tBP_SignalNo)(SIG_BTI_HID_BTI_TO_API_BASE +  9)
#define SIG_BTI_HID_SEND_CON								(tBP_SignalNo)(SIG_BTI_HID_BTI_TO_API_BASE +  10)

#define SIG_BTI_HID_BTI_TO_API_END                          (tBP_SignalNo)(SIG_BTI_HID_BTI_TO_API_BASE +  11)


#endif

//==============================================================================
//  LAP : API to BTI (Same as SPP signals except for the Listen
#define SIG_BTI_LAP_API_TO_BTI_BASE                         SIG_BTI_SPP_API_TO_BTI_BASE

#define SIG_BTI_LAP_SEND                                    SIG_BTI_SPP_SEND
#define SIG_BTI_LAP_LISTEN_REQ                              SIG_BTI_SPP_LAP_LISTEN_REQ
#define SIG_BTI_LAP_CONNECT_REQ                             SIG_BTI_SPP_CONNECT_REQ
#define SIG_BTI_LAP_DISCONNECT_REQ                          SIG_BTI_SPP_DISCONNECT_REQ
#define SIG_BTI_LAP_SETUP                                   SIG_BTI_SPP_SETUP

#define SIG_BTI_LAP_API_TO_BTI_END                          SIG_BTI_SPP_API_TO_BTI_END

//==============================================================================
//  LAP : BTI to API
#define SIG_BTI_LAP_BTI_TO_API_BASE                         SIG_BTI_LAP_BTI_TO_API_BASE

#define SIG_BTI_LAP_RECV                                    SIG_BTI_SPP_RECV
#define SIG_BTI_LAP_CONNECT_STATUS                          SIG_BTI_SPP_CONNECT_STATUS
#define SIG_BTI_LAP_LISTEN_CON                              SIG_BTI_SPP_LISTEN_CON
#define SIG_BTI_LAP_CONNECT_CON                             SIG_BTI_SPP_CONNECT_CON
#define SIG_BTI_LAP_DISCONNECT_IND                          SIG_BTI_SPP_DISCONNECT_IND
#define SIG_BTI_LAP_DISCONNECT_CON                          SIG_BTI_SPP_DISCONNECT_CON
#define SIG_BTI_LAP_SETUP_RESULT                            SIG_BTI_SPP_SETUP_RESULT

#define SIG_BTI_LAP_BTI_TO_API_END                          SIG_BTI_SPP_BTI_TO_API_END



//==============================================================================
// DEVKIT :
#define SIG_DEVKIT_SPP_RECV                                 (tBP_SignalNo)(SIG_DEVKIT_BASE + 1)


#endif // _SDK_BP_SIGNALS_H_

