Hi all, I'm trying to undestand how to develop an application web based for Audi MMI 3G system. Audi MMi 3G unit is based on qnx 6.4 and I'd like to find a way to get gps coordinates to use in an application. Is there any api I can call to get current gps coordinates? Thansk
You would need to contact Audi or whoever made the system for them. -----Message d'origine----- De : marco spinetti [mailto:community-noreply@qnx.com] Envoyé : Friday, March 28, 2014 5:57 AM À : general-networking Objet : gps coordinates Hi all, I'm trying to undestand how to develop an application web based for Audi MMI 3G system. Audi MMi 3G unit is based on qnx 6.4 and I'd like to find a way to get gps coordinates to use in an application. Is there any api I can call to get current gps coordinates? Thansk _______________________________________________ General http://community.qnx.com/sf/go/post109659 To cancel your subscription to this discussion, please e-mail general-networking-unsubscribe@community.qnx.com
Are you telling me that they are not using an api of qnx to get them? I supposed that there was an api to get this information.
QNX doesn`t provide an API for GPS and GPS are very simple device connected to serial port. Blackberry OS probably has one because it needs to be shared/managed across applications, don`t confuse the two OSes ;-) That being said even if there was, Audi might have decided not to use it. Car systems are NOT opened , they are totally proprietary, any expectations you have could turn out to be wrong. -----Message d'origine----- De : marco spinetti [mailto:community-noreply@qnx.com] Envoyé : Friday, March 28, 2014 7:01 AM À : general-networking Objet : Re: RE: gps coordinates Are you telling me that they are not using an api of qnx to get them? I supposed that there was an api to get this information. _______________________________________________ General http://community.qnx.com/sf/go/post109661 To cancel your subscription to this discussion, please e-mail general-networking-unsubscribe@community.qnx.com
Ok. It is clear. Anyway can I install in sdcard a daemon (for example gpsd) to read gps coordinates? When I insert an sdcard I'm able to read it using: #!/bin/ksh sdcard=`ls /mnt|grep sdcard.*t` SDPath=/mnt/$sdcard mount -u $SDPath How to execute a daemon gpsd and query it? Thanks
I think I can solve my problem if I could execute command tool gpspipe from sdcard. How can I do it? Thanks
You could but that will most probably interfere with what ever software is using the gps. -----Message d'origine----- De : marco spinetti [mailto:community-noreply@qnx.com] Envoyé : Tuesday, April 01, 2014 9:12 AM À : general-networking Objet : Re: RE: RE: gps coordinates Ok. It is clear. Anyway can I install in sdcard a daemon (for example gpsd) to read gps coordinates? When I insert an sdcard I'm able to read it using: #!/bin/ksh sdcard=`ls /mnt|grep sdcard.*t` SDPath=/mnt/$sdcard mount -u $SDPath How to execute a daemon gpsd and query it? Thanks _______________________________________________ General http://community.qnx.com/sf/go/post109719 To cancel your subscription to this discussion, please e-mail general-networking-unsubscribe@community.qnx.com
I could try to listen to socket opened by gpsd or similar in the MMI. Using qnx how can I find opened sockets and runnings processes? Can I run these commands? ps auxww > $SDPath/f1.txt || true ps -elfww > $SDPath/f2.txt || true netstat -an > $SDPath/f3.txt || true