Click here to Skip to main content
15,885,546 members

Bluetooth PC, Phone Communication

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: Visual Studio 2010

Plain Text
ASM
ASP
ASP.NET
BASIC
BAT
C#
C++
COBOL
CoffeeScript
CSS
Dart
dbase
F#
FORTRAN
HTML
Java
Javascript
Kotlin
Lua
MIDL
MSIL
ObjectiveC
Pascal
PERL
PHP
PowerShell
Python
Razor
Ruby
Scala
Shell
SLN
SQL
Swift
T4
Terminal
TypeScript
VB
VBScript
XML
YAML

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.
  4. Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the http://www.codeproject.com/info/cpol10.aspx.



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