蓝牙从机例程里面,在这个函数里面
sta
tic bStatus_t simpleProfile_ReadAttrCB( uint16 connHandle, gattAttribute_t *pAttr,
uint8 *pValue, uint16 *pLen, uint16 offset, uint16 maxLen,uint8 method )
我把下面这个注销,为什么还是能接收到数据呢?
case SIMPLEPROFILE_CHAR4_UUID:
// *pLen = SIMPLEPROFILE_CHAR4_LEN;
// tmos_memcpy( pValue, pAttr->pValue, SIMPLEPROFILE_CHAR4_LEN );
break;