Comunication Between Bluetooths through COMs in C# Part I

yuibox No Comments »

yuiboxI was trying to send information, strings, files and the most important, custom packets between 2 bluetooth. One listening and the other one sending(Master <-> Slave). In order to test this in an easy way, both bluetooh are connected to a Serial Port, in this case, COM1 and COM2. In order to test this in 1 single computer and avoid the hassle, I Connected a Null Modem Adapter or RS-232 Serial Cable. I wired one COM port into another, so both will be connected together, transmitting and receiving in the same line cross linked (TX, similar to RX).

This tutorial will show the first step to start a connection and to get the general idea of how this puppy works :)

In Part I of this tutorial I will explain how to send a simple string and receive it :) easy ne? ^.^ we all love baby steps ;)

Requirements :  - Null Modem Adapter

- VS.NET 2005 (or any other C# compiler)

- Basic Knowledge of C#

- and lots of time and patient :D

Read the rest of this entry »

Connect to Access DB

yuibox No Comments »

Took me a while to actually find the right syntax to connect to an Acces DB in c++. Since every CLR tutorial is in c# and VB, here it goes : Read the rest of this entry »

C++ convert string to float

yuibox No Comments »

You can convert a string to a float with atof(3C):It is simple enough but sometimes, after switching languages so often, the syntax gets mixed up and so the functions :D Here a little example:

Read the rest of this entry »

MFC - Write/Create File

yuibox 2 Comments »

This is a simple sample code of how to create and write a file. Sometimes this is really trivial but when u switch languages all the time, we tend to forget a bit the syntax ^__^

Read the rest of this entry »

Design by j david macor.com.Original WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in