Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi

 

I am Able to set the privilages for getting the GPS information but when i try to get the IPOSDET_GetGPSInfo()

It Return me a Error Code 14(Invalid parameter) i am passing the below parameter

IPOSDET_GetGPSInfo(pMe->m_pIPosDet,AEEGPS_GETINFO_LOCATION|AEEGPS_GETINFO_ALTITUDE,AEEGPS_ACCURACY_LEVEL1,pMe->m_pGPSinfo,&pMe->m_cbgps);

 

Please Help me on this...

 

 

Thanks

Pradeep

check the parameters u are passing.
 
IPOSDET_GetGPSInfo(IPosDet *pif, AEEGPSReq req, AEEGPSAccuracy accuracy,                          AEEGPSInfo *pGPSInfo, AEECallback *pcb );
 
EBADPARM : This error is returned if the pGPSInfo or pcb parameter specified are invalid (NULL), or the accuracy level specified is invalid.
 

check the parameters u are passing.
 
IPOSDET_GetGPSInfo(IPosDet *pif, AEEGPSReq req, AEEGPSAccuracy accuracy,                          AEEGPSInfo *pGPSInfo, AEECallback *pcb );
 
EBADPARM : This error is returned if the pGPSInfo or pcb parameter specified are invalid (NULL), or the accuracy level specified is invalid.
 

thanks Shivendra ... i passed the pMe->m_pGPSinfo with  Null value Now i changed it is working...

thanks Shivendra ... i passed the pMe->m_pGPSinfo with  Null value Now i changed it is working...