Linux SDK (lite-qmi)  MBPL_SDK_R25_ENG3
unpack_loc_GeofenceBreachInd_t Struct Reference

#include <loc.h>

Data Fields

uint32_t geofenceId
 
uint32_t breachType
 
QmiGeofencePosition_tpGeofencePosition
 
uint32_t * pBreachConfidence
 
uint16_t Tlvresult
 
swi_uint256_t ParamPresenceMask
 

Detailed Description

Contain the parameters fo Geofence breach notification

Parameters
geofenceId
  • ID of the Geofence for which this notification was generated.
  • Bit to check in ParamPresenceMask - 0x01
breachType
  • The type of breach that generated this event.
    • Valid values:
      • eQMI_LOC_GEOFENCE_BREACH_TYPE_ENTERING (1) – Denotes that a client entered the Geofence
      • eQMI_LOC_GEOFENCE_BREACH_TYPE_LEAVING (2) – Denotes that a client left the Geofence
  • Bit to check in ParamPresenceMask - 0x02
pGeofencePosition
  • Geofence Position
  • Position of the client when it breached the Geofence. This TLV is included if the client configures the Geofence to
  • report position. The position is reported at the same confidence level that was specified in the Add Circular Geofence request.
  • Bit to check in ParamPresenceMask - 0x10
pBreachConfidence
  • Given a breach event, the confidence determines the probability that the breach happened at the Geofence boundary.
    • Valid values:
      • eQMI_LOC_GEOFENCE_CONFIDENCE_LOW (0x01) - Geofence engine indicates a breach with low confidence; this setting results in lower power usage, and it can impact the yield because incorrect breach events can be sent
      • eQMI_LOC_GEOFENCE_CONFIDENCE_MED (0x02) - (Default) Geofence engine indicates a breach with medium confidence
      • eQMI_LOC_GEOFENCE_CONFIDENCE_HIGH (0x03) - Geofence engine indicates a breach with high confidence; this setting results in higher power usage
  • Bit to check in ParamPresenceMask - 0x11

The documentation for this struct was generated from the following file: