我查了半天我也没搞明白为什么我用一下osal_snv_write函数,我接收到的蓝牙数据会异常,这是为什么啊
我跟踪了程序运行,在
static bStatus_t simpleProfile_WriteAttrCB( uint16 connHandle, gattAttribute_t *pAttr,
uint8 *pValue, uint8 len, uint16 offset )函数中,看到得到的数据是正常的,
但是到了static void simpleProfileChangeCB( uint8 paramID )这个函数,数据完全变了,昨天HalFlashWrite写不进去,今天osal_snv_write又出问题,我都无语了