Click here to Skip to main content

Member 9744828 asked:

Open original thread
Hi all,
 
Am very very new to programming. So please your patience would be appreciated.
 
I am currently working on a project to design an electronically controlled door lock where the 'key' is a Bluetooth device carried by the user. The door only unlocks when a base station detects the Bluetooth device in the user's pocket at a range of at least two metres. The Bluetooth 'key' device should use a suitable profile such as RFCOMM but other profiles may be suitable. The Bluetooth 'key' device should be identified by means of its MAC address or physical address so the project involves some programming of the base station PC using the Windows Bluetooth API. The base station PC needs to have a list of addresses of valid Bluetooth 'key' devices. When the base station PC detects that it has connected to one of the Bluetooth devices on the approved address list, it should be able to activate an output port that could be used to control an electric lock. Interfacing to an actual electric lock is not required however; it is sufficient to indicate the state of an I/O port.
 
So far so goo, I have been able to create a windows form but am stuck on what classes to call for programming on. I have little knowledge of the system.net class library. That's really all I know.
 
Any help or directions would be helpful.
Thanks
Tags: VisualStudio2010

Preview



When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the The Code Project Open License (CPOL).



Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 26 Mar 2009
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100