Re: Getting location info from cell tower
Hi, Sebastian Krzyszkowiak wrote: Except cell broadcast channel there is also something like Cell info (it was exposed in settings in my Nokia and Motorola phones), and it in some networks provide info about location and doesn't have such limitation as cell broadcasting. Is it possible to get it from Calypso and FSO? Well, that cell info on nokia and motorola phone is the data from a cell broadcast service channel providing location data. It works here when I register for all channels (since I dont know which chaneel the data is sent on). The very same location info is now shown on the launcher home page. Set a listener for org.freesmartphone.ogsmd, /org/freesmartphone/GSM/Device, org.freesmartphone.GSM.CB, SetCellBroadcastSubscriptions and pass the value all. You'll get a string with the location. HTH -- View this message in context: http://n2.nabble.com/Getting-location-info-from-cell-tower-tp3458613p3494729.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
On 8/22/09, c_c cchan...@yahoo.com wrote: Hi, Sebastian Krzyszkowiak wrote: Except cell broadcast channel there is also something like Cell info (it was exposed in settings in my Nokia and Motorola phones), and it in some networks provide info about location and doesn't have such limitation as cell broadcasting. Is it possible to get it from Calypso and FSO? Well, that cell info on nokia and motorola phone is the data from a cell broadcast service channel providing location data. It works here when I register for all channels (since I dont know which chaneel the data is sent on). The very same location info is now shown on the launcher home page. Set a listener for org.freesmartphone.ogsmd, /org/freesmartphone/GSM/Device, org.freesmartphone.GSM.CB, SetCellBroadcastSubscriptions and pass the value all. You'll get a string with the location. HTH I was asking, cause cell info and cell broadcast were two other functions in all phones i had before Freerunner, and i always had cell info displayed before cell broadcast came (broadcast was handled as messages) -- Sebastian Krzyszkowiak dos ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
On Friday 21 August 2009, c_c wrote: Hi, Going to a different geographical location gives me the location string of the new cell for the first time. But, re-starting launcher doesn't. Something to do with the calypso? Or the cell tower. Have you tried unregistering then reregistering, or shutting down then restarting the GSM module? ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
Hi, Al Johnson wrote: On Friday 21 August 2009, c_c wrote: Have you tried unregistering then reregistering, or shutting down then restarting the GSM module? Both do the trick. It seems as if this service is really optimised. Data is sent only on registration. I guess I'll have to keep the location info in a db and resotore on startup. And update only on new data. -- View this message in context: http://n2.nabble.com/Getting-location-info-from-cell-tower-tp3458613p3493910.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
On Wednesday 19 August 2009 06:35:39 c_c wrote: Just to confirm - would SetCellBroadcastSubscriptions for channel 50 correspond to something like AT+CSCB=0,50,1 ? I'm Not too clued up on AT commands for GSM. Well, that's what the FSO API is for... anyways, if you prefer to do it via AT, use AT%CBHZ=1 (this seems necessary on the Calypso to see any CB at all) AT+CSCB=1,, (this allows everything) :M: ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
Hi, Michael 'Mickey' Lauer-2 wrote: AT+CSCB=1,, (this allows everything) I want to use the FSO API. How do I do AT+CSCB=1,, through the API? Thanks. -- View this message in context: http://n2.nabble.com/Getting-location-info-from-cell-tower-tp3458613p3479603.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
On Thursday 20 August 2009 16:57:07 c_c wrote: Michael 'Mickey' Lauer-2 wrote: AT+CSCB=1,, (this allows everything) I want to use the FSO API. How do I do AT+CSCB=1,, through the API? SetCellBroadcastSubscriptions( all ) -- according to http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.GSM.CB.html;hb=HEAD#SetCellBroadcastSubscriptions Cheers, :M: ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
Hi, Michael 'Mickey' Lauer-2 wrote: SetCellBroadcastSubscriptions( all ) -- according to http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.GSM.CB.html;hb=HEAD#SetCellBroadcastSubscriptions Thanks. Missed the all. Its working now with all. I wonder if thats OK though? -- View this message in context: http://n2.nabble.com/Getting-location-info-from-cell-tower-tp3458613p3480033.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
Hi, Just got the location once. Noting thereafter. SetCellBroadcastSubscriptions( none ) followed by SetCellBroadcastSubscriptions( all ) doesn't help either. Any ideas? -- View this message in context: http://n2.nabble.com/Getting-location-info-from-cell-tower-tp3458613p3480235.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
Hi, Going to a different geographical location gives me the location string of the new cell for the first time. But, re-starting launcher doesn't. Something to do with the calypso? -- View this message in context: http://n2.nabble.com/Getting-location-info-from-cell-tower-tp3458613p3484485.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
Did you try the FSO CellBroadcast API to enable the channel your provider sends this on? Cheers, :M: ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
Hi, Michael 'Mickey' Lauer-2 wrote: Did you try the FSO CellBroadcast API to enable the channel your provider sends this on? I did SetCellBroadcastSubscriptions for channel 50 and got nothing. I'm now trying to find out which channel the data is being sent on here. Will try that and post back. Thanks -- View this message in context: http://n2.nabble.com/Getting-location-info-from-cell-tower-tp3458613p3469948.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
On Wed, 19 Aug 2009 12:18:08 pm c_c wrote: I did SetCellBroadcastSubscriptions for channel 50 and got nothing. Got a vague memory that it's channel 11 here in Australia, I'm no longer running QtMoko so I can't check I'm afraid. :-( -- Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC This email may come with a PGP signature as a file. Do not panic. For more info see: http://en.wikipedia.org/wiki/OpenPGP signature.asc Description: This is a digitally signed message part. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
Hi, Just to confirm - would SetCellBroadcastSubscriptions for channel 50 correspond to something like AT+CSCB=0,50,1 ? I'm Not too clued up on AT commands for GSM. Thanks -- View this message in context: http://n2.nabble.com/Getting-location-info-from-cell-tower-tp3458613p3470382.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Getting location info from cell tower
Hi, I have noticed that in a lot of networks across the globe, GSM towers transmit their location as a string indicating a locality. I believe this is a cell broadcast service - though I'm not too sure about that. Can anyone tell me whether this information can be obtained from FSO or through any other method? An how do I obtain this? I'm looking at showing this info on launcher's homescreen. Thanks -- View this message in context: http://n2.nabble.com/Getting-location-info-from-cell-tower-tp3458613p3458613.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
On 8/17/09, c_c cchan...@yahoo.com wrote: Hi, I have noticed that in a lot of networks across the globe, GSM towers transmit their location as a string indicating a locality. I believe this is a cell broadcast service - though I'm not too sure about that. Can anyone tell me whether this information can be obtained from FSO or through any other method? An how do I obtain this? I'm looking at showing this info on launcher's homescreen. Thanks I also looked for that, but I couldn't get this information from FSO. On other phones it's something like cell info, the same data is also broadcasted on channel 50 (but i couldn't get cell broadcast messages with my neo when i tried last time) -- Sebastian Krzyszkowiak dos ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
Hi, Sebastian Krzyszkowiak wrote: On other phones it's something like cell info, the same data is also broadcasted on channel 50 (but i couldn't get cell broadcast messages with my neo when i tried last time) Yup. I tried getting it from channel 50 using mickeyterm - but wasn't successful. The tower near my house is providing this info and every Nokia cell I've used shows this. Getting it on the FR is a different issue though. I'm hoping someone with better knowledge about GSM can show me the way. On an aside - I'm still not getting messages from signals NewMissedCalls and UnreadMesages. CAn you sonfirm they're triggered in the latest SHR-U (just updated today). -- View this message in context: http://n2.nabble.com/Getting-location-info-from-cell-tower-tp3458613p3458789.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
On 8/17/09, c_c cchan...@yahoo.com wrote: Hi, Sebastian Krzyszkowiak wrote: On other phones it's something like cell info, the same data is also broadcasted on channel 50 (but i couldn't get cell broadcast messages with my neo when i tried last time) Yup. I tried getting it from channel 50 using mickeyterm - but wasn't successful. The tower near my house is providing this info and every Nokia cell I've used shows this. Getting it on the FR is a different issue though. I'm hoping someone with better knowledge about GSM can show me the way. On an aside - I'm still not getting messages from signals NewMissedCalls and UnreadMesages. CAn you sonfirm they're triggered in the latest SHR-U (just updated today). Latest SHR-U doesn't use opimd, but actual phone stack is obsolete and new will be fully opimd-aware (and it will be hopefully written soon) -- Sebastian Krzyszkowiak dos ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
On Mon, 17 Aug 2009 10:42:06 pm c_c wrote: An how do I obtain this? I'm looking at showing this info on launcher's homescreen. Qtopia/QTEI/QtMoko can extract that info, so a look at the source for that should give away how it's done. FWIW I don't think Android can display it yet either. ;-) cheers, Chris -- Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC This email may come with a PGP signature as a file. Do not panic. For more info see: http://en.wikipedia.org/wiki/OpenPGP signature.asc Description: This is a digitally signed message part. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
On 8/17/09, Chris Samuel ch...@csamuel.org wrote: On Mon, 17 Aug 2009 10:42:06 pm c_c wrote: An how do I obtain this? I'm looking at showing this info on launcher's homescreen. Qtopia/QTEI/QtMoko can extract that info, so a look at the source for that should give away how it's done. FWIW I don't think Android can display it yet either. ;-) cheers, Chris Thanks for pointing, I'll look at it! -- Sebastian Krzyszkowiak dos ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
Sebastian Krzyszkowiak wrote: On 8/17/09, Chris Samuel ch...@csamuel.org wrote: On Mon, 17 Aug 2009 10:42:06 pm c_c wrote: An how do I obtain this? I'm looking at showing this info on launcher's homescreen. Qtopia/QTEI/QtMoko can extract that info, so a look at the source for that should give away how it's done. FWIW I don't think Android can display it yet either. ;-) The D-Bus service I am working on, which uses the openBmap data, will provide a locality name for the cell you are asking location. I know, if the cell gives it to you, why bother ;-) On the other side, this may be of interest for obm, to log this together with the GSM data. This would save some Web calls to reverse geocoding API... Onen ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
Hi, Onen wrote: On the other side, this may be of interest for obm, to log this together with the GSM data. This would save some Web calls to reverse geocoding API... Well, it could also be a cross check and provide a reasonable location in areas where the towers aren't mapped yet. Then there are times when you really don't want the exact location - but would like to know the area you're in (in a bus / train). It does have its uses - at very little cost. -- View this message in context: http://n2.nabble.com/Getting-location-info-from-cell-tower-tp3458613p3463487.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Getting location info from cell tower
Hi, Sebastian Krzyszkowiak wrote: Latest SHR-U doesn't use opimd, but actual phone stack is obsolete and new will be fully opimd-aware (and it will be hopefully written soon) Ahh! Thanks for clarifying that - will move to signals that work for now. -- View this message in context: http://n2.nabble.com/Getting-location-info-from-cell-tower-tp3458613p3463495.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community