Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VisualStudio2010
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 11-Jan-13 11:21am

1 solution

Rate this: bad
good
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
 
'g'
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 6,656
1 Sergey Alexandrovich Kryukov 6,490
2 CPallini 5,310
3 George Jonsson 3,584
4 Gihan Liyanage 2,650


Advertise | Privacy | Mobile
Web01 | 2.8.140921.1 | Last Updated 11 Jan 2013
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