By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,176 Members | 1,093 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,176 IT Pros & Developers. It's quick & easy.

Calculate access time to a wireless device

P: 3
Hello everyone. This is my first post here, but I've been looking for answer many time.

I have a crazy idea in my head and since I am quite a newby to python, I am not sure where to start or if it's evenly possible.

I wonder if you can calculate the time of respond of a wireless system to evaluate the distance of this device from the computer. I tought of a wireless mouse. Is there a even that you can send, check the local time, wait for an answer, get it, and check the local time again for an evaluation of the distance. You can see right away that I am shooting in the dark here. I have no idea if the processing time of the instructions will even be fast enought to calculate the respond time. I am asking the pro before attempting this to see if I have any chance of success.

What I really need is if anyone know a event that I could send to a wireless mouse and wait for an answer.
Also, if there is a fast command to get the time that you recommand to me.

Sorry if my question is too vague or too general, but I think this could be a fun little project to attempt.
Jul 9 '07 #1
Share this Question
Share on Google+
2 Replies


bartonc
Expert 5K+
P: 6,596
Hello everyone. This is my first post here, but I've been looking for answer many time.

I have a crazy idea in my head and since I am quite a newby to python, I am not sure where to start or if it's evenly possible.

I wonder if you can calculate the time of respond of a wireless system to evaluate the distance of this device from the computer. I tought of a wireless mouse. Is there a even that you can send, check the local time, wait for an answer, get it, and check the local time again for an evaluation of the distance. You can see right away that I am shooting in the dark here. I have no idea if the processing time of the instructions will even be fast enought to calculate the respond time. I am asking the pro before attempting this to see if I have any chance of success.

What I really need is if anyone know a event that I could send to a wireless mouse and wait for an answer.
Also, if there is a fast command to get the time that you recommand to me.

Sorry if my question is too vague or too general, but I think this could be a fun little project to attempt.
Nope, it's not too vague; your writing is quite eloquent.

As far as I know (and I've been at this for some time, now), mice only send - they don't receive data at the system level. A wireless mouse may be getting messages from its driver, but you'd be hard pressed to hook in at that level.

As for measuring turn-around time of an RF signal, you'd probably have to be coding in assembler to get the kind of speed that you would need. Electronic hardware is more suitable to the task, but it probably (I'd have to do some math) could be done in software IF you had some hardware hooked to the mobo. See were I'm going with that?

Fun idea, though. This page took a while to load, but looks very interesting, now that it's up.

Have fun.
Jul 9 '07 #2

P: 3
Ummm. Thanks for the reply. I did assembler... Almost 20 years ago... Of course I don't remember a thing. Or maybe a few like A, B, C and REGISTER. Sitll, I am far from a working program. I will put this idea to the back of my mind with the millions of others, and wait until I get the right knowledge to acheive it.

Thans again.
Jul 11 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.