Resources | Resources |



Relationship among interfaces

ISensorUtil is a utility interface used to create request commands and parse the response commands between the app and the chipset. There are four possible, mutually exclusive scenarios for sensors-related interfaces:

  1. The app calls the ISensorUtil API to create the request string.
  2. The app calls IPort1_Write to set configuration/get data.
  3. The app calls IPort1_Read to read the response message.
  4. The app calls ISensorUtil API’s to parse the response message. There are API’s in ISensorUtil to get the error code in the response, to get the echoed request string in response and to get the sensor value in the response.