<br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Looks great, although it&#39;s pretty hard to read:</blockquote><div><br><br>Attached as a file
<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Agreed, except I don&#39;t like returning 0 for missing data -- that has<br>
bitten me in the ass several times (you can imagine how nice a 3D<br>terrain model looks like when some random points in the model have a<br>missing altitude value, and that&#39;s expressed with a zero...).<br></blockquote>
<div><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>&gt; Do you see any good addition to the status enum?&nbsp;&nbsp; I was going to add a
<br>&gt; bunch and then I though a human readable string would be better.&nbsp;&nbsp; The only<br>&gt; ones I thought might be useful are.&nbsp;&nbsp; &quot;No Service Available, No Position<br>&gt; Available, Currently acquiring position.&quot;, are these useful to a program or
<br>&gt; just the user?&nbsp;&nbsp;If it is useful to the program, then I would add, to the<br>&gt; user then piggy back on the string message.<br></blockquote><div><br>I rethought status and here&#39;s what I think is better.<br><br>
A set of flags. bit packed into a int.<br><br>0 No Service available<br>1 currently acquiring Altitude<br>2 currently acquiring Long<br>4 currently acquiring Lat<br>8 Altitude Available<br>16 Long Available<br>32 Lat Available
<br><br>This would solve the hostip altitude probem it could have a status (48) meaning only lat and long are valid.&nbsp; So technically you would<br><br>call init<br>call status<br>call position<br><br>hook up signal to position and status to find when things changed.
<br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>&gt; I&#39;ve been thinking now that we should add a &quot;position_hint&quot; input to the API
<br>&gt; for use in auto submitting your position to Host IP.&nbsp;&nbsp; There could be some<br>&gt; kind of configuration for privacy in geoclue master.&nbsp;&nbsp;I wonder if this could<br>&gt; be generic for more API.&nbsp;&nbsp; I know you can do assisted GPS.&nbsp;&nbsp; is there a good
<br>&gt; way to add this too?<br><br>I&#39;m undecided on the data submission issue... I&#39;d probably put the<br>submission in a separate program.<br><br>I fully agree on the privacy config: there should be geoclue-wide
<br>position privacy settings that geoclue _and_ applications can use.<br>Although it might not be a top priority just yet, this will be very<br>important when our position data starts to escape to the internet (like<br>with the Gajim XEP-0080-implementation). Speaking of which, we probably
<br>should follow and take part in xmpp/XEP work in that area.</blockquote><div><br>I think privacy is an issues, but we shouldn&#39;t let it affect our api too much. It should a UI type configuration setting.<br>I won&#39;t put it in now.&nbsp;&nbsp; I guess it wouldn&#39;t be hard for the hostapi to put it&#39;s own listen into itself.
<br><br>Keith Preston<br><br></div></div><br>