HyperIM - Forums

HyperIM main site
Download HyperIM

Thursday, July 29, 2010, 14:05:12 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: TranceLocator plugin  (Read 2009 times)
0 Members and 1 Guest are viewing this topic.
Sindel
Plugin Developer
Beginner
*******

Karma: +3/-0
Posts: 17


« on: Tuesday, May 05, 2009, 12:52:49 »

Nobody asked for it but it's here, so you might as well give it a spin...
It's mainly designed for laptop users but I've heard quite a few "nonstandard" uses for it:

The idea behind it: you map WiFi SSID names to "friendly" names like "home", "at work", "at school" and, where applicable, for a given SSID you can map signal strenghth intervals to "positions" like [80-100%] would be close to the router, so it would be "in my room"; [30-80%] would be "in the house" and [0-30%] could be "in the basement".

A technical note: I've avoided ATL and MFC as deployed technologies so that no additinal installs are required (in this sense I have a new "scaffold" for a VC 2008 plugin DLL, ask if interested); the API used for the detection of WiFi signals has been found missing on some computers running XP SP3 (even though Microsoft's documentation says this shouldn't happen). If this does happen, go here: http://www.microsoft.com/downloads/details.aspx?familyid=52A43BAB-DC4E-413F-AC71-158EFD1ADA50&displaylang=en
Disregard the "Supported Operating Systems: Windows XP Service Pack 2" at the bottom, it works just fine on SP3 too; a fair warning: it'll ask you to reboot your system.
An application (.exe) made with that API that is run on a system where the API isn't present will report that it cannot start for various reasons (missing DLL file, improper configuration etc); if you try to load the plugin DLL in HyperIM, I have no honest clue what would happen; most likely it will either fail to load the plugin or, in the worst case, it will crash; proceed with caution. If you have Vista or Win7, I've heard of no problems regarding the API there.

Instructions: The configuration panel has "Networks" on the left side ,"Maps" on the right and some general configurations in the bottom.
The "Networks" part is where you associate SSIDs with your own names for them. Just type them in and click "Add/Edit", it will add a new entry or update an existing one if the name is already taken. You can select one already in the list and it will copy its data in the edit boxes.
"Unknown" refers to "any other SSID that isn't in the list" and "Disconnected" refers to whenever you're not on WiFi (ie. a cable connection). If you check the "Mapped" checkbox, that particular SSID will become mapped and the right part ("Maps") of the config will "light up" to allow you to edit. That part is a bit more tricky: "From" means the starting percentage of the range; the end is the start of the next one or implicitely "100%" if the end of the list is reached. The example given in the description would map as: From 0: "in the basement"; From 30: "in the house"; From 80: "in my room". There are three types of ranges you can set up: Normal (just like above, normal named ranges), Null (unnamed ranges) and Hysteresis (ranges that will keep your previous position's value if your signal drifts into it). "Unknown" refers to the name the "", Null ranges and any value outside of any defined range (the only way in which you could do that, that I know of would be to delete the From 0 range).
Also, the plugin defines a separator that takes one of two values, based on whether both the "location" and "position" are present (and not ""), and if either or both are absent.

Another short technical note: SSIDs have no name constraints (like invalid symbols etc) and hence I've left the naming parameters unchecked. Be careful since you can accidentally add "" in the list. I've had security in mind when I designed this so it's unlikely you'll BOF the plugin, but you might not get the expected results if you mess with it too much. Be careful if you want to edit its raw config file, too, the format isn't hard to figure out but I wouldn't recommend it.

And a final disposition: I really hope this will be useful to at least a few people; please report any dubious behavior and/or crashes. Enjoy!

* him_TranceLocator_v.1.0.himzp (11.92 KB - downloaded 96 times.)
« Last Edit: Tuesday, May 05, 2009, 18:26:22 by Sindel » Logged
Codename
HyperIM Programmer
Plugin Developer
Veteran
*******

Karma: +70/-61
Posts: 936


Now you know what a hypercube means


WWW
« Reply #1 on: Tuesday, May 05, 2009, 18:27:43 »

Wow! Congratulations for your dedicated work. I'll test this on my laptop, and check if it runs ok with both Windows Vista SP2 and the last beta of Windows 7.
Logged



Sindel
Plugin Developer
Beginner
*******

Karma: +3/-0
Posts: 17


« Reply #2 on: Tuesday, May 05, 2009, 19:04:08 »

I'm keeping my fingers crossed  Cheesy
Logged
Keloo
HyperIM Tester
Global Moderator
Veteran
******

Karma: +11/-8
Posts: 222


Expecting the Unexpected...


« Reply #3 on: Tuesday, May 05, 2009, 19:22:41 »

Great job! I will test it in few days on a laptop with Windows 7 RC. I hope my (limited) free time will permit me to do this. Congrats.
Logged


Fie vreme buna/Fie vreme rea/Caini pana la moarte/Si dincolo de ea!
Sindel
Plugin Developer
Beginner
*******

Karma: +3/-0
Posts: 17


« Reply #4 on: Tuesday, May 05, 2009, 19:36:56 »

I'll be honest and admit, I originally made this for a friend, since I don't have a laptop of my own; all the initial testing was done on my PC with a WiFi card... I now envy the people that had the inspiration to get their own laptop and how much fun they will have with this thing if it works as intended!
I'll be waiting for your feedback; I feel I've been a bit too quick to release it, I pray I'm wrong Tongue
Logged
GeratorZer
Passive Member


Karma: +0/-0
Posts: 1


« Reply #5 on: Wednesday, July 15, 2009, 07:12:23 »

Congratulations for your committed work. I'll analysis this on my laptop, and analysis if it runs ok with both Windows Vista SP2 and the endure beta of Windows 7.


________________
Thermostat
Logged
Sindel
Plugin Developer
Beginner
*******

Karma: +3/-0
Posts: 17


« Reply #6 on: Wednesday, July 15, 2009, 14:22:32 »

Excellent, I'll be waiting for results and impressions.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.068 seconds with 19 queries.