/********************************************************************************************************
 * @file     ble.h 
 *
 * @brief    for TLSR chips
 *
 * @author	 public@telink-semi.com;
 * @date     Sep. 18, 2015
 *
 * @par      Copyright (c) Telink Semiconductor (Shanghai) Co., Ltd.
 *           All rights reserved.
 *           
 *			 The information contained herein is confidential and proprietary property of Telink 
 * 		     Semiconductor (Shanghai) Co., Ltd. and is available under the terms 
 *			 of Commercial License Agreement between Telink Semiconductor (Shanghai) 
 *			 Co., Ltd. and the licensee in separate contract or the terms described here-in. 
 *           This heading MUST NOT be removed from this file.
 *
 * 			 Licensees are granted free, non-transferable use of the information in this 
 *			 file under Mutual Non-Disclosure Agreement. NO WARRENTY of ANY KIND is provided. 
 *           
 *******************************************************************************************************/

#ifndef BLE_H_
#define BLE_H_


#include "proj_lib/ble/blt_config.h"
#include "ble_common.h"


#include "l2cap/l2cap.h"
//#include "phy/phy.h"
//#include "phy/phy_test.h"


#include "proj_lib/ble/att.h"
#include "attr/gatt.h"
#include "proj_lib/ble/uuid.h"



//#include "smp/smp.h"
//#include "smp/smp_const.h"
//#include "smp/smp_central.h"
//#include "smp/smp_peripheral.h"
//#include "smp/smp_storage.h"

#include "gap/gap.h"
#include "gap/gap_event.h"


//#include "crypt/aes_ccm.h"
//#include "crypt/le_crypto.h"
//#include "crypt/aes/aes_att.h"

//#include "hci/hci.h"
//#include "hci/hci_const.h"
//#include "hci/hci_event.h"
//#include "hci/usb_desc.h"

#include "proj_lib/ble/service/ble_ll_ota.h"
//#include "service/device_information.h"
//#include "service/hids.h"

#include "ll/ll.h"
#include "ll/ll_adv.h"
#include "ll/ll_encrypt.h"
#include "ll/ll_init.h"
#include "ll/ll_pm.h"
#include "ll/ll_scan.h"
#include "ll/ll_whitelist.h"
#include "ll/ll_conn/ll_conn.h"
#include "ll/ll_conn/ll_slave.h"
#include "ll/ll_conn/ll_master.h"
#include "ll/ll_conn/ll_conn_phy.h"
#include "ll/ll_conn/ll_conn_csa.h"

#include "ll/ll_ext.h"
//#include "ll/ll_ext_adv.h"
//#include "ll/ll_ext_scan.h"


#if (LL_MULTI_MASTER_SINGLE_SLAVE_ENABLE)
	#include "llms/llms.h"
	#include "llms/llms_slot.h"
	#include "llms/llms_adv.h"
	#include "llms/llms_scan.h"
	#include "llms/llms_init.h"
	#include "llms/llms_slave.h"
	#include "llms/llms_master.h"
	#include "llms/llms_conn.h"

	#include "attr/ms_att.h"
#endif

//#include "bqb/bqb_ll.h"





volatile void  smemset(register char * dest,register int val,register unsigned int len);
volatile void * smemcpy(register char * out, register char * in, register unsigned int len);



#endif /* BLE_H_ */
