| Reply | « Previous Thread | Next Thread » |
|
Hi,
I have MS development environment setup on my PC and my Nokia 3650 can talk with my PC through Bluetooth connection. While I was trying to play with some ideas on PC to talk with my cell phone through Bluetooth, I found out that I need files like ws2bth.h in order to programming under MS WinSock2, by which I realized that I don't have Bluetooth programming environment setup for my PC (to develop software for Windows with Bluetooth capability). I assume that Microsoft should provide such environment, but haven't found out where to get it. Could anyone point me to the right direction? Thanks, Philip |
|
Alternative 1: If your application is a typical serial port application, you can create the application so that it just connects to a specific virtual COM port. After that the Bluetooth solution takes care of connection establishment. Some brands allow you to choose a default remote device in advance, and the connection establishment takes place automatically without user interaction. With some brands you need to connect manually to a Bluetooth serial port.
Alternative 2: If you need to do Bluetooth specific things in the application (device/service discovery, filtering, automated inquiries and connection, etc.), then you need to use Bluetooth development kits. In this case the problem is that Bluetooth APIs are Bluetooth stack specific. Therefore the first alternative is more generic and interoperable with almost every existing Bluetooth solution on the market. Seppo Forum Nokia |
|
Seppo:
Thank you for your reply. Right now, my immediate need is to get a test program running on the PC side in order for my cell phone to talk to the PC through bluetooth. The urgent thing for me is to use the MSVC 6 programming environment to build a test program immediately. The MS Winsock2 can handle bluetooth protocol. But I simply cannot find the bluetooth support part, such as ws2bth.h and etc. I need someone to help me on how and where to find out info to set up this. In this sense, this is also a pure PC programming environment question. Once I set it up, I can build bluetooth enabled products on PC to talk to bluetooth devices such as cell phones. Or I can build products to simply communicate PC to PC through bluetooth. For more general progamming environment, I'll think that later on. Thanks, Philip |
|
You can create the PC side application with your development environment. This allows PC-PC applications. With your PC application you can also connect to phones in use cases where you don't need a specific counter application on the phone (for example, using the phone as modem via AT commands or just inquiring the profiles of the phone).
By using the Series 60 SDK you can create applications for the Series 60 phones. You can use MSVC6, or Metrowerks or Borland tools to create the application. This way you can connect from your phone application to PC and remotely control your PC, for example. Seppo Forum Nokia |
|
TPhilipT
he necessary header files and lib files for MT BT stack are included in Platform SDK for XP. I'm not sure whether you can download the SDK from their MSDN site. Check with them. You might be able to order a CD. The MS BT stack provides socket interface to its SDP and RFCOMM layers. You can use the same interface for device discovery too. No obex support is provided. You could download openobex from sourceforge and add MS RFCOMM support. Its pretty straight forward. /kmk |
|
Hi Seppo!
This is regarding alternative 1 that you describe in this thread. Can you tell me exactly how can i do serial port application that connects to a virtual COM port? Do i need to use sockets programming here? Thanks in advance. ![]() |
| ja_calulot |
| View Public Profile |
| Find all posts by ja_calulot |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|