Hello and hi.

I've just used Hyperterminal to connect to a Bluetooth device. So far it works and I can send data to it using Hyperterminal.

Now, is there any way that I can replicate the same serial communication in a C++ program? I'm using VS 2008. Are there any special libraries that I need to include or do I need to do more? Do advise.

BTW, if possible, I want to have full hyperterminal capabilities like set baud rate/port, establish connection, read and send data and disconnect.

Many thanks.

Recommended Answers

You have to call CreateFile() to open the comm port. Then you use the win32 api Communications Functions

Jump to Post

All 3 Replies

Are there any examples upon which I can base and refer to?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.