glnet_distr/inc/glinr.h File Reference

Interface to NetReporter. More...

#include "glgpsapi.h"
#include "glsupllogapi.h"
Include dependency graph for glinr.h:
This graph shows which files directly or indirectly include this file:

Classes

class  INetReporter
 Network Actitivty Reporter Interface. More...

Defines

#define INR_PGLOR_NET_DONE   INR_PG_BIT(19)
 Indicate end of session (EOS) for non-assisted cases.

Enumerations

enum  INR_PGLOR_NET_SESSION_TYPE { , INR_PGLOR_NET_SESSION_TYPE_SI = 1, INR_PGLOR_NET_SESSION_TYPE_NI = 2, INR_PGLOR_NET_SESSION_TYPE_WARM = 3, INR_PGLOR_NET_SESSION_TYPE_ASST = 4 }
enum  INR_PGLOR_NET_ERROR_TYPE {
  INR_PGLOR_NET_ERR_NO_ERROR = 0, INR_PGLOR_NET_ERR_FAKE, INR_PGLOR_NET_ERR_LCS_SOCKET_NOT_READY, INR_PGLOR_NET_ERR_LCS_SOCKET_WRITE,
  INR_PGLOR_NET_ERR_NOT_STARTED, INR_PGLOR_NET_ERR_NOT_CONNECTED, INR_PGLOR_NET_ERR_TIMEOUT, INR_PGLOR_NET_ERR_RESPONSE_MISMATCH,
  INR_PGLOR_NET_ERR_WRONG_SESSION, INR_PGLOR_NET_ERR_OUT_OF_FORMAT, INR_PGLOR_NET_ERR_NET_TYPE_UNSUPPORTED, INR_PGLOR_NET_ERR_MISSING_CALLBACK,
  INR_PGLOR_NET_ERR_MARSHALL_OUT_OF_FORMAT, INR_PGLOR_NET_ERR_MARSHALL_FEW_ARG, INR_PGLOR_NET_ERR_MARSHALL_PAYLOAD, INR_PGLOR_NET_ERR_CALL_FAIL_BUSY,
  INR_PGLOR_NET_ERR_CALL_FAIL_NO_USER_RESPONDING, INR_PGLOR_NET_ERR_CALL_FAIL_USER_ALERTING_NO_ANSWER, INR_PGLOR_NET_ERR_CALL_FAIL_CAUSE_REJECTED, INR_PGLOR_NET_ERR_CALL_FAIL_ERROR_UNSPECIFIED,
  INR_PGLOR_NET_ERR_CALL_FAIL_CALL_BARRED, INR_PGLOR_NET_ERR_CALL_FAIL_ACM_LIMIT_EXCEEDED, INR_PGLOR_NET_ERR_CALL_FAIL_SERVER_NO_RESPONSE, INR_PGLOR_NET_ERR_CALL_FAIL_PREMATURE_STOP
}

Functions

int GpsHalNrControl (int iFlags, unsigned long ulTimeOffsetMS)
 Control options:

Detailed Description

Interface to NetReporter.

Copyright 2012 Broadcom Corporation -- http://www.broadcom.com This program is the proprietary software of Broadcom Corporation and/or its licensors, and may only be used, duplicated, modified or distributed pursuant to the terms and conditions of a separate, written license agreement executed between you and Broadcom (an "Authorized License"). Except as set forth in an Authorized License, Broadcom grants no license (express or implied), right to use, or waiver of any kind with respect to the Software, and Broadcom expressly reserves all rights in and to the Software and all intellectual property rights therein. IF YOU HAVE NO AUTHORIZED LICENSE, THEN YOU HAVE NO RIGHT TO USE THIS SOFTWARE IN ANY WAY, AND SHOULD IMMEDIATELY NOTIFY BROADCOM AND DISCONTINUE ALL USE OF THE SOFTWARE.


Enumeration Type Documentation

Enumerator:
INR_PGLOR_NET_ERR_NO_ERROR 

There is no error.

INR_PGLOR_NET_ERR_FAKE 

The fake (debug) error.

INR_PGLOR_NET_ERR_LCS_SOCKET_NOT_READY 

The LCS socket used for internal IPC is not initialized.

INR_PGLOR_NET_ERR_LCS_SOCKET_WRITE 

During the session, we get an error while writing to LCS socket.

INR_PGLOR_NET_ERR_NOT_STARTED 

During the session fix attempt didn't even start.

INR_PGLOR_NET_ERR_NOT_CONNECTED 

During the session, the connection is lost or the session is closed.

INR_PGLOR_NET_ERR_TIMEOUT 

During the session, the other side took too much time.

INR_PGLOR_NET_ERR_RESPONSE_MISMATCH 

The received response does not match the requested.

INR_PGLOR_NET_ERR_WRONG_SESSION 

We cannot recover the session or session is not there.

INR_PGLOR_NET_ERR_OUT_OF_FORMAT 

During the session, the other side's reported data is out of format.

INR_PGLOR_NET_ERR_NET_TYPE_UNSUPPORTED 

The given network type is not supported.

INR_PGLOR_NET_ERR_MISSING_CALLBACK 

One of the callback function is missing.

INR_PGLOR_NET_ERR_MARSHALL_OUT_OF_FORMAT 

During the session, marshalled request/response is not internally correct.

INR_PGLOR_NET_ERR_MARSHALL_FEW_ARG 

During the session, marshalled parameters are missing.

INR_PGLOR_NET_ERR_MARSHALL_PAYLOAD 

During the session, marshalled payload is wrong.

INR_PGLOR_NET_ERR_CALL_FAIL_BUSY 

Control Plane Error from RIL: The other side is busy calling.

INR_PGLOR_NET_ERR_CALL_FAIL_NO_USER_RESPONDING 

Control Plane Error from RIL: The other side didn't answer.

INR_PGLOR_NET_ERR_CALL_FAIL_USER_ALERTING_NO_ANSWER 

Control Plane Error from RIL:

INR_PGLOR_NET_ERR_CALL_FAIL_CAUSE_REJECTED 

Control Plane Error from RIL: Call rejected.

INR_PGLOR_NET_ERR_CALL_FAIL_ERROR_UNSPECIFIED 

Control Plane Error from RIL: All other call errors.

INR_PGLOR_NET_ERR_CALL_FAIL_CALL_BARRED 

Control Plane Error from RIL: Call barred from above layer.

INR_PGLOR_NET_ERR_CALL_FAIL_ACM_LIMIT_EXCEEDED 

Control Plane Error from RIL: Certain limit exceeded.

INR_PGLOR_NET_ERR_CALL_FAIL_SERVER_NO_RESPONSE 

Control Plane Error from RIL: Server's response not received.

INR_PGLOR_NET_ERR_CALL_FAIL_PREMATURE_STOP 

Control Plane Error: This or other side stopped call before the fix.

Enumerator:
INR_PGLOR_NET_SESSION_TYPE_SI 

'U' - unspecified

INR_PGLOR_NET_SESSION_TYPE_NI 

'S' - set initiated

INR_PGLOR_NET_SESSION_TYPE_WARM 

'N' - network initiated

INR_PGLOR_NET_SESSION_TYPE_ASST 

'W' - stay warm


Function Documentation

int GpsHalNrControl ( int  iFlags,
unsigned long  ulTimeOffsetMS 
)

Control options:

  • FAKE - a successful GPS first fix becomes session done. Otherwise end of GPS run becomes session done.
  • DEBUG - Report internal details of the glgps_hal_net operations. Otherwise end of GPS run becomes session done.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines