Click here to Skip to main content
13,251,398 members (82,453 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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 class library. That's really all I know.

Any help or directions would be helpful.
Posted 11-Jan-13 12:21pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Whoa !! .. you've outlined a list of 'requirements' or a 'design' (not how I'd use that word), then jumped into writing a forms app... mighty brave of you

Why dont you think in smaller pieces, that you can code and test - for example, you need to be able to communicate with bluetooth - so, get an appropriate SDK/kit, write some code to use/test that

You're trying to bite off way too much, too fast


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171114.1 | Last Updated 11 Jan 2013
Copyright © CodeProject, 1999-2017
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