uint8_t charValue4=OneShotADC(0x80)/16;
在1秒的定时器回调中添加--------------
static attHandleValueNoti_t pReport ;//声明attHandleValueNoti_t这个结构体
uint16 noti_cHandle; //存放handle
pReport.handle = simpleProfileAttrTbl[11].handle;//读取notification对应的
handle GAPRole_GetParameter( 0x30E, ¬i_cHandle);//获取Connection Handle
pReport.len = 1;//数据长度
pReport.pValue[0] = charValue4;//赋值
GATT_Notification(noti_cHandle,&pReport,FALSE);
结果一开始定时器就死机