#include #include "yc11xx.h" #include "yc11xx_uart.h" #include "yc11xx_gpio.h" #include "btreg.h" #include "yc11xx_spi.h" //#define SEND_DEBUG //#define updata_connecnt_param_test #define ble_handle 0x0006 #define indicate_enable1 0x0007 #define indicate_enable2 0x0013 #define adv_len 19 #define IO_TXA 28 #define IO_RXA 25 #define IO_TXB 6 #define IO_RXB 25 #define UARTBUFSIZE 128 //void delay(uint16_t X) //{ // int i,j; // for(i=0; i