text: /********************************************************************************************************
   * @file	app_att.h
   *
   * @brief	This is the header file for BLE SDK
   *
   * @author	BLE GROUP
   * @date	2020.06
   *
   * @par     Copyright (c) 2020, Telink Semiconductor (Shanghai) Co., Ltd. ("TELINK")
   *
   *          Licensed under the Apache License, Version 2.0 (the "License");
   *          you may not use this file except in compliance with the License.
   *          You may obtain a copy of the License at
   *
   *              http://www.apache.org/licenses/LICENSE-2.0
   *
   *          Unless required by applicable law or agreed to in writing, software
   *          distributed under the License is distributed on an "AS IS" BASIS,
   *          WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   *          See the License for the specific language governing permissions and
   *          limitations under the License.
   *******************************************************************************************************/
  #ifndef DEFAULT_ATT_H_
  #define DEFAULT_ATT_H_
  
  #include "app_config.h"
  
  
  #if (FEATURE_TEST_MODE == TEST_GATT_SECURITY)
  
  ///////////////////////////////////// ATT  HANDLER define ///////////////////////////////////////
  /**
   *  @brief  Attribute handler define
   */
  typedef enum
  {
  	ATT_H_START = 0,
  
  
  	//// Gap ////
  	/**********************************************************************************************/
  	GenericAccess_PS_H, 					//UUID: 2800, 	VALUE: uuid 1800
  	GenericAccess_DeviceName_CD_H,			//UUID: 2803, 	VALUE:  			Prop: Read | Notify
  	GenericAccess_DeviceName_DP_H,			//UUID: 2A00,   VALUE: device name
  	GenericAccess_Appearance_CD_H,			//UUID: 2803, 	VALUE:  			Prop: Read
  	GenericAccess_Appearance_DP_H,			//UUID: 2A01,	VALUE: appearance
  	CONN_PARAM_CD_H,						//UUID: 2803, 	VALUE:  			Prop: Read
  	CONN_PARAM_DP_H,						//UUID: 2A04,   VALUE: connParameter
  
  
  	//// gatt ////
  	/**********************************************************************************************/
  	GenericAttribute_PS_H,					//UUID: 2800, 	VALUE: uuid 1801
  	GenericAttribute_ServiceChanged_CD_H,	//UUID: 2803, 	VALUE:  			Prop: Indicate
  	GenericAttribute_ServiceChanged_DP_H,   //UUID:	2A05,	VALUE: service change
  	GenericAttribute_ServiceChanged_CCB_H,	//UUID: 2902,	VALUE: serviceChangeCCC
  
  
  	//// device information ////
  	/**********************************************************************************************/
  	DeviceInformation_PS_H,					 //UUID: 2800, 	VALUE: uuid 180A
  	DeviceInformation_pnpID_CD_H,			 //UUID: 2803, 	VALUE:  			Prop: Read
  	DeviceInformation_pnpID_DP_H,			 //UUID: 2A50,	VALUE: PnPtrs
  
  	//// SPP ////
  	/**********************************************************************************************/
  	SPP_PS_H, 							 //UUID: 2800, 	VALUE: telink spp service uuid
  
  	//server to client
  	SPP_SERVER_TO_CLIENT_CD_H,		     //UUID: 2803, 	VALUE:  			Prop: read | Notify
  	SPP_SERVER_TO_CLIENT_DP_H,			 //UUID: telink spp s2c uuid,  VALUE: SppDataServer2ClientData
  	SPP_SERVER_TO_CLIENT_CCB_H,			 //UUID: 2902, 	VALUE: SppDataServer2ClientDataCCC
  	SPP_SERVER_TO_CLIENT_DESC_H,		 //UUID: 2901, 	VALUE: TelinkSPPS2CDescriptor
  
  	//client to server
  	SPP_CLIENT_TO_SERVER_CD_H,		     //UUID: 2803, 	VALUE:  			Prop: read | write_without_rsp
  	SPP_CLIENT_TO_SERVER_DP_H,			 //UUID: telink spp c2s uuid,  VALUE: SppDataClient2ServerData
  	SPP_CLIENT_TO_SERVER_DESC_H,		 //UUID: 2901, 	VALUE: TelinkSPPC2SDescriptor
  
  	//// Ota ////
  	/**********************************************************************************************/
  	OTA_PS_H, 								//UUID: 2800, 	VALUE: telink ota service uuid
  	OTA_CMD_OUT_CD_H,						//UUID: 2803, 	VALUE:  			Prop: read | write_without_rsp | Notify
  	OTA_CMD_OUT_DP_H,						//UUID: telink ota uuid,  VALUE: otaData
  	OTA_CMD_INPUT_CCB_H,					//UUID: 2902, 	VALUE: otaDataCCC
  	OTA_CMD_OUT_DESC_H,						//UUID: 2901, 	VALUE: otaName
  
  	ATT_END_H,
  
  }ATT_HANDLE;
  
  
  
  
  
  
  
  
  
  
  
  
  #endif  //end of APP_USE_DEFAULT_HID_BATTERY_OTA_ATT_TABLE
  #endif /* DEFAULT_ATT_H_ */
  