Hi
I am pretty new to developing to S60 in Python, and I have a strange problem with positioning. For latitude I get 55..87698742437 (with two dots), I think is should have been 55.687698742437, longitude is ok. I use pys60 1.9, a Nokia 6210 and my code looks like
As you can see it look pretty much as the example from the pys60 documentation, so I don't know what the problem is. The Nokia navigator software works like a charm, so the GPS unit should work.Code:from sensor import * import e32, positioning def cb(event): print "-------------------------" print event print "-------------------------" if __name__ == '__main__': positioning.select_module(positioning.default_module()) positioning.set_requestors([{"type":"service", "format":"application", "data":"test_app"}]) print "***starts the position feed***" positioning.position(course=1,satellites=1, callback=cb, interval=500000, partial=0) e32.ao_sleep(10) positioning.stop_position()
Do anyone have an idea what the problem could be. I looks something like some type casting thing or ?

Reply With Quote



