maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Announce] ToggleWlanScan (https://talk.maemo.org/showthread.php?t=86607)

ajalkane 2012-09-05 19:34

[Announce] ToggleWlanScan
 
1 Attachment(s)
Toggles WLAN scanning on/off.

The main purpose of the application is to prevent stuttering of audio with Bluetooth, which is caused by WLAN scanning.

Upon installation you will see an icon on your home screen "WlanScanOff". Clicking on it will turn WLAN scanning off, and the icon will reflect the current state. The text will turn to "WlanScanOn". Click it and WLAN scanning is resumed and icon will again reflect the current state.

This application is free for the community, as I regard this as a nice example of our community working together. If I upload it to Nokia Store I will charge for it by a boat-load to get back the money used on wine, beer and meat consumed while coding and testing this application.

If you find this application useful to you, please consider donating via the PayPal link in my signature (put in comments it's for ToggleWlanScan). I ask for donations, as I'm probably the only one involved in this who has no use for this application (I have no Bluetooth devices). When donating please consider this is a fringe application. The test versions were downloaded by just a couple of people, so I don't expect much donations.

This application is released under GPLv3. The sources are available here:
https://github.com/harmattan/togglewlanscan

I will submit this application also to 2012 coding competition. Your vote matters (but vote ProfileMatic instead if you appreciate that application, that way I have better chances for something :)).

Thanks to:
- flopjoke for creating icons
- P@t for testing that the initial idea should work
- justadude, flopjoke, Sniper_swe and others for testing the application and feedback

Sniper_swe 2012-09-05 20:12

Re: [Announce] ToggleWlanScan
 
Great toggle!
Makes bluetooth audio streaming perfect without any stutter!

Thanks

Morpog 2012-09-05 20:16

Re: [Announce] ToggleWlanScan
 
Could it also save some power, or ist that not noticeable?

ajalkane 2012-09-05 21:01

Re: [Announce] ToggleWlanScan
 
Quote:

Originally Posted by Morpog (Post 1261756)
Could it also save some power, or ist that not noticeable?

It might... but I doubt it has any noticeable effect. WLAN scan is only done every 5 minutes.

Sniper_swe 2012-09-05 21:31

Re: [Announce] ToggleWlanScan
 
Strange that without the toggle when playing audio from spotify to bluetooth speaker the audio stutter all the time. But when u use the toggle it never stutters. Atleast not for me:) seems like wlan scans more often when using webbrowser ?

ajalkane 2012-09-05 22:45

Re: [Announce] ToggleWlanScan
 
Quote:

Originally Posted by Sniper_swe (Post 1261798)
Strange that without the toggle when playing audio from spotify to bluetooth speaker the audio stutter all the time. But when u use the toggle it never stutters. Atleast not for me:) seems like wlan scans more often when using webbrowser ?

That seems strange. I can't think of any reason why wifi scanning would cause continuous stuttering like that. I'd chalk it up as a platform bug, but good thing it can be worked around with this.

wout.martens 2012-09-06 06:41

Re: [Announce] ToggleWlanScan
 
Clicking on it resulted in dissapearing of the toggle, stuttering remains so will test further but first experience is not that good.

ajalkane 2012-09-06 06:49

Re: [Announce] ToggleWlanScan
 
Quote:

Originally Posted by wout.martens (Post 1261969)
Clicking on it resulted in dissapearing of the toggle, stuttering remains so will test further but first experience is not that good.

That is peculiar. Can you run the following commands on terminal:

Code:

gconftool -g /system/osso/connectivity/network_type/search_interval
It returns 0 if wlan scanning turned off and 300 if it's on.

And about the disappearing icon, what does this say:

Code:

ls -l /usr/share/applications/togglewlanscan_harmattan.desktop

wout.martens 2012-09-06 07:39

Re: [Announce] ToggleWlanScan
 
i reinstalled the app so icon is back.
value is 0

guess it has something to do with ram filling up rather than wlan scan?

Sniper_swe 2012-09-06 07:57

Re: [Announce] ToggleWlanScan
 
Quote:

Originally Posted by ajalkane (Post 1261832)
That seems strange. I can't think of any reason why wifi scanning would cause continuous stuttering like that. I'd chalk it up as a platform bug, but good thing it can be worked around with this.

Either way stutter is gone and I'm happy:)


All times are GMT. The time now is 22:43.

vBulletin® Version 3.8.8