Broadcom LBS API to IPS. More...
Classes | |
struct | GlLbsIpsCallbacks |
Structure for IPS HAL callbacks. More... | |
Typedefs | |
typedef LBS_CONN_ID(* | GlLbsIpsReqDownloadCb )(const char *pcPath) |
Request download from IPS server. | |
typedef struct GlLbsIpsCallbacks | GlLbsIpsCallbacks |
Structure for IPS HAL callbacks. | |
Functions | |
GLLBS_ERRORS | GlLbsIpsInit (const GlLbsIpsCallbacks *cb) |
Initialize LBS interface to IPS HAL. | |
void | GlLbsIpsData (LBS_CONN_ID conn_id, OSOCTET *data, OSUINT32 size) |
HAL direct calls to LBS. |
Broadcom LBS API to IPS.
Copyright (c) 2009 by Broadcom Corp. All Rights Reserved.
The information contained herein is confidential property of Broadcom. The use, copying, transfer or disclosure of such information is prohibited except by express written agreement with Broadcom.
Usage notes:
1. During main initialization "GlLbsIpsInit" function must be called to specify function which can be used by LBS core library
example:
GlLbsIpsCallbacks cb; cb.cbLbsIpsDataReq = MyIpsDataReq; GlLbsIpsInit(&cb);
NOTE !!! NOTE !!! NOTE !!! NOTE !!! NOTE !!! All LBS functions must be called from the same GPS thread !!
IPS Initialization is a synchronous process
typedef LBS_CONN_ID(* GlLbsIpsReqDownloadCb)(const char *pcPath) |
Request download from IPS server.
path | - relative path of requested file. |
void GlLbsIpsData | ( | LBS_CONN_ID | conn_id, |
OSOCTET * | data, | ||
OSUINT32 | size | ||
) |
HAL direct calls to LBS.
Provide data received from IPS server to the LBS library
conn_id | - value returned by GlLbsIpsReqDownloadCb This value used by the LBS library to identify download request |
data | - address of buffer |
size | - length of the buffer |
GLLBS_ERRORS GlLbsIpsInit | ( | const GlLbsIpsCallbacks * | cb | ) |
Initialize LBS interface to IPS HAL.
cb | - pointer to the structure for IPS HAL callbacks. |