[Hecl-devel] simple location API
Brought to you by:
davidw
From: David W. <dav...@gm...> - 2009-09-07 21:18:57
|
I have checked a simple location API into the 'location' branch at github: set loc_info [location.get 60] Where the number is the timeout, in seconds. It returns a hash table with various bits and pieces of information, including latitude, longitude, altitude, and other things as appropriate. In the future it might make sense to do this like the Http commands are done: in its own thread so that it doesn't block everything. -- David N. Welton http://www.welton.it/davidw/ http://www.dedasys.com/ Sent from Padua, Veneto, Italy |