BG95 I2C API not understandable

Hello ,

I am running i2c example code from quecopen SDK for BG95 without external i2c slave connection. so how can I find that my i2c command is not success? from document and example code that thing is not clear.
I also read one api (qapi_I2CM_Get_QStatus_Code()) in its i2c related document but i was not find in any i2c related file, can any one help me to find that api ? and what is purpose of that ?

Thanks,
Dinkar

  1. for example we have to connect the slave adress , e.g: codec 5616

  2. In example code, we judge whether the transmission is successful according to the return value of callback

  3. since the function (qapi_I2CM_Get_QStatus_Code()qapi_I2CM_Get_QStatus_Code())is no useful to customers , so there is no description in document 。

  4. pls use the below function

Hello ,

Thanks for reply.
Then how can i know that qapi_I2CM_Transfer fail or success? Because i run example code and that function always return success even if there is not slave connected.

Thanks,
Dinkar