133***482
1、请问GH3018支持轮询读取佩戴状态,不亮其他灯吗?
2、我这边轮询读取PPG数据,执行HBD_GetIntStatus,在刚上电时开始佩戴,可以正常读取数据;佩戴了一段时间后,脱落(不佩戴),再把手指放到传感器上,就再也无法回到佩戴状态,返回的状态一直是gh30x_irq_status == 6,怎么优化?读取日志如下:
3、产测能测出LED、PD是否正常吗?我这边用gh30x_systemtest_start(HBDTEST_TEST_ALL_TEST);拆了两个绿灯识别不到异常。
问题2的日志:
[gh30x]: [Gh30xDemoFuncEnable] from NULL/ADT mode to Main func mode, we need diable ADT function
[gh30x]: chnl0: uchLogicLedIndex = 0, color = Green
[gh30x]: chnl1: uchLogicLedIndex = 1, color = Ir
[gh30x]: g_uchNeedReadRawdataCount = 2
[gh30x]: [Gh30xUpdateFunctionDivder]FUN_ID = 0x1, ChipSampleRate = 100, usSampleRateAfterDiv = 25, uchDivder = 4.
[gh30x]: [Gh30xUpdateFunctionDivder]FUN_ID = 0x2, ChipSampleRate = 100, usSampleRateAfterDiv = 25, uchDivder = 4.
[gh30x]: [Gh30xUpdateFunctionDivder]FUN_ID = 0x4, ChipSampleRate = 100, usSampleRateAfterDiv = 100, uchDivder = 1.
[gh30x]: [Gh30xUpdateFunctionDivder]FUN_ID = 0x8, ChipSampleRate = 100, usSampleRateAfterDiv = 100, uchDivder = 1.
[gh30x]: [Gh30xUpdateFunctionDivder]FUN_ID = 0x10, ChipSampleRate = 100, usSampleRateAfterDiv = 25, uchDivder = 4.
[gh30x]: [Gh30xHBD_SampleStart] usIrgEnAndState:0xfe2e, RATE_REG:327, plusWidh:255
[gh30x]: usIrqRegVal:2.
[gh30x]: gh30x_int_msg_handler gh30x_irq_status = 2 chip_state = 40
[gh30x]: [Gh30xGetFifoRawdata] usRawdataFifoRealCnt = 178, 2.[gh30x]: [gh30x_fifo_evt_handler] g_unGh30xDemoFuncMode: 0x17, g_uchGh30xSoftEvent:0x0
[gh30x]: usIrqRegVal:2.
[gh30x]: gh30x_int_msg_handler gh30x_irq_status = 2 chip_state = 40
[gh30x]: [Gh30xGetFifoRawdata] usRawdataFifoRealCnt = 182, 2.[gh30x]: [gh30x_fifo_evt_handler] g_unGh30xDemoFuncMode: 0x17, g_uchGh30xSoftEvent:0x0
[gh30x]: usIrqRegVal:2.
[gh30x]: gh30x_int_msg_handler gh30x_irq_status = 2 chip_state = 40
[gh30x]: [Gh30xGetFifoRawdata] usRawdataFifoRealCnt = 182, 2.[gh30x]: [gh30x_fifo_evt_handler] g_unGh30xDemoFuncMode: 0x17, g_uchGh30xSoftEvent:0x0
[gh30x]: usIrqRegVal:2.
[gh30x]: gh30x_int_msg_handler gh30x_irq_status = 2 chip_state = 40
[gh30x]: [Gh30xGetFifoRawdata] usRawdataFifoRealCnt = 182, 2.[gh30x]: [gh30x_fifo_evt_handler] g_unGh30xDemoFuncMode: 0x17, g_uchGh30xSoftEvent:0x0
[gh30x]: usIrqRegVal:2.
[gh30x]: gh30x_int_msg_handler gh30x_irq_status = 2 chip_state = 40
[gh30x]: [Gh30xGetFifoRawdata] usRawdataFifoRealCnt = 182, 2.[gh30x]: [gh30x_fifo_evt_handler] g_unGh30xDemoFuncMode: 0x17, g_uchGh30xSoftEvent:0x1
[gh30x]: [handle_wear_status_result] wear off! 0x17[gh30x]: [gh30x_module_stop].
[gh30x]: [gh30x_module_start] unFunctionMode = 0x1, 2, 101, 25, 25
[gh30x]: [Gh30xDemoFuncEnable] 1, 1
[gh30x]: chnl0: uchLogicLedIndex = 0, color = Ir
[gh30x]: g_uchNeedReadRawdataCount = 1
[gh30x]: [Gh30xUpdateFunctionDivder]FUN_ID = 0x1, ChipSampleRate = 25, usSampleRateAfterDiv = 25, uchDivder = 1.
[gh30x]: [Gh30xUpdateFunctionDivder]FUN_ID = 0x2, ChipSampleRate = 25, usSampleRateAfterDiv = 25, uchDivder = 1.
[gh30x]: [Gh30xUpdateFunctionDivder]FUN_ID = 0x4, ChipSampleRate = 25, usSampleRateAfterDiv = 100, uchDivder = 0.
[gh30x]: [Gh30xUpdateFunctionDivder]FUN_ID = 0x8, ChipSampleRate = 25, usSampleRateAfterDiv = 100, uchDivder = 0.
[gh30x]: [Gh30xUpdateFunctionDivder]FUN_ID = 0x10, ChipSampleRate = 25, usSampleRateAfterDiv = 25, uchDivder = 1.
[gh30x]: [Gh30xHBD_SampleStart] usIrgEnAndState:0xfe2e, RATE_REG:1310, plusWidh:255
[gh30x]: usIrqRegVal:0.
[gh30x]: gh30x_int_msg_handler gh30x_irq_status = 6 chip_state = 0
[gh30x]: usIrqRegVal:2.
[gh30x]: gh30x_int_msg_handler gh30x_irq_status = 2 chip_state = 40
[gh30x]: [Gh30xGetFifoRawdata] usRawdataFifoRealCnt = 44, 1.[gh30x]: [GH30xAdtAlgoExe]rawdata = 628, unDownTrd = 1307.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 630, unDownTrd = 1307.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 632, unDownTrd = 1307.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 603, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 635, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 646, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 641, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 644, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 630, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 628, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 635, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 623, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 669, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 666, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 662, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 655, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 655, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 666, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 621, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 619, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 637, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 632, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 616, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 625, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 619, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 594, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 591, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 578, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 596, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 625, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 616, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 566, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 566, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 585, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 573, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 569, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 619, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 580, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 585, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 614, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 589, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 594, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 601, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [GH30xAdtAlgoExe]rawdata = 619, unDownTrd = 1307.
[gh30x]: [GH30X_AdtAlgorithmResultReport]snResult = 0.
[gh30x]: [gh30x_fifo_evt_handler] g_unGh30xDemoFuncMode: 0x1, g_uchGh30xSoftEvent:0x1
[gh30x]: [Gh30xAdtWearDetectStart] wear on detecting.
[gh30x]: [handle_wear_status_result] wear off! 0x1[gh30x]: usIrqRegVal:0.
[gh30x]: gh30x_int_msg_handler gh30x_irq_status = 6 chip_state = 20
[gh30x]: usIrqRegVal:0.
[gh30x]: gh30x_int_msg_handler gh30x_irq_status = 6 chip_state = 20
[gh30x]: usIrqRegVal:0.
[gh30x]: gh30x_int_msg_handler gh30x_irq_status = 6 chip_state = 20
打开微信,使用“扫一扫”即可关注
登录后可回答问题,请 登录 或 注册