?藍(lán)牙從機(jī)例程里面,在這個(gè)函數(shù)里面?
?static bStatus_t simpleProfile_ReadAttrCB( uint16 connHandle, gattAttribute_t *pAttr,?
? ? ? ? ? ? ? ? ? ? ? ? ? ? uint8 *pValue, uint16 *pLen, uint16 offset, uint16 maxLen,uint8 method? )
我把下面這個(gè)注銷,為什么還是能接收到數(shù)據(jù)呢?
? ? ? case SIMPLEPROFILE_CHAR4_UUID:
//? ? ? ? *pLen = SIMPLEPROFILE_CHAR4_LEN;
//? ? ? ? tmos_memcpy( pValue, pAttr->pValue, SIMPLEPROFILE_CHAR4_LEN );
? ? ? ? break;