ANCS 怎么获得详细的信息
你好TI工程师
我现在获得了俩个CCID 分别是16 17 我查的资料他们说小的是NOTICE 大的是datasource
我现在已经能够正确的接收短信,和电话,但是我要的到详细信息 信息发不出去
当有电话进来我发送了下列信息
if(pMsg->msg.handleValueNoti.value[0]==0x00 && pMsg->msg.handleValueNoti.value[2]==0x01 /*calling*/)
{
//new incomming call
HalLedSet( HAL_LED_1 , HAL_LED_MODE_ON );
osal_start_timerEx( timeAppTaskId,START_INCOMMING_CALL_EVT , 100 );
attWriteReq_t writeReq;
writeReq.len = 10;
writeReq.value[0] = 0;
writeReq.value[1] = pMsg->msg.handleValueNoti.value[4];
writeReq.value[2] = pMsg->msg.handleValueNoti.value[5];
writeReq.value[3] = pMsg->msg.handleValueNoti.value[6];
writeReq.value[4] = pMsg->msg.handleValueNoti.value[7];
writeReq.value[5] = 0;
writeReq.value[6] = 1;
writeReq.value[7] = 0xff;
writeReq.value[8] = 0xff;
writeReq.value[9] = 5;
writeReq.sig = 0;
writeReq.cmd = 0;
writeReq.handle =17;
status= GATT_WriteCharValue( timeAppConnHandle, &writeReq, timeAppTaskId);
NPI_WriteTransport("status\n",7); printv(status) ; }
因为我不知道 control point 的handle 是多少 所以我这里发送了 17 我想问一下 我怎么查找control point的handle
以及我这样发送是否正确