Click here to Skip to main content
16,004,647 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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 system.net class library. That's really all I know.

Any help or directions would be helpful.
Thanks
Posted

1 solution

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

'g'
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900