Hi,
I am trying to print invoice from CASIO CE.NET 4.1 device to serial printer
which has bluetooth. I am working on Franson Bluetools component, but I
couldn't success to send data from CE.NET 4.1 device. It works on POCKET PC
2003 Mobile device but not CE.NET 4.1.

Is there any other component or source code for discover, connect and send
data via bluetooth ? I really need this type of connection and I couldn't
understand that, CF has no capability for spesific functionality .

Thanks in advance !

Ali.

Vizyon Bilgi Islem Ltd.
Istanbul/Turkiye

Re: Bluetooth Printing - Nobody knows about it ? by Bhavesh

Bhavesh
Fri Jul 21 01:14:08 CDT 2006

Hi,

You want to say that you had set up Bluetooth connectioin from your
code for Pocket PC device?
Please tell me how you did it via coding @ Compact Framework.
and can you tell me which Bluetooh Media you are using for WinCE.

We are doing Printing for PPC and WinCE both device.

Bhavesh Rana.
"A man is great by deeds, not by birth."


Ali Mertoglu wrote:

> Hi,
> I am trying to print invoice from CASIO CE.NET 4.1 device to serial printer
> which has bluetooth. I am working on Franson Bluetools component, but I
> couldn't success to send data from CE.NET 4.1 device. It works on POCKET PC
> 2003 Mobile device but not CE.NET 4.1.
>
> Is there any other component or source code for discover, connect and send
> data via bluetooth ? I really need this type of connection and I couldn't
> understand that, CF has no capability for spesific functionality .
>
> Thanks in advance !
>
> Ali.
>
> Vizyon Bilgi Islem Ltd.
> Istanbul/Turkiye


Re: Bluetooth Printing - Nobody knows about it ? by MichalRizek

MichalRizek
Tue Jul 25 03:11:01 CDT 2006

Hi,
connecting to bth serial port is quite easy:

First you need to import some native api funtions like RegisterDevice,
DeregisterDevice, CreateFile and so on. And declare PORTEMUPortParams struct
use by native functions...

Then you register new device to port u wish to use:
PORTEMUPortParams pp = new PORTEMUPortParams();
pp.channel = myChannel;
pp.flocal = 0;
pp.device.SetInt64(myBthAdress);
pp.uiportflags = 0x00000002;

PORTEMUPortParams *p = &pp;
RegisterDevice( "COM", (uint)portNumber, "btd.dll", (uint)p);

Then you can work with registered device like with any other com port:

int hFile = CreateFile( string.Format("COM{0}:", portNumber), GENERIC_READ |
GENERIC_WRITE, 0,0, OPEN_EXISTING,0,0)

Michal Rizek

"Bhavesh" wrote:

> Hi,
>
> You want to say that you had set up Bluetooth connectioin from your
> code for Pocket PC device?
> Please tell me how you did it via coding @ Compact Framework.
> and can you tell me which Bluetooh Media you are using for WinCE.
>
> We are doing Printing for PPC and WinCE both device.
>
> Bhavesh Rana.
> "A man is great by deeds, not by birth."
>
>
> Ali Mertoglu wrote:
>
> > Hi,
> > I am trying to print invoice from CASIO CE.NET 4.1 device to serial printer
> > which has bluetooth. I am working on Franson Bluetools component, but I
> > couldn't success to send data from CE.NET 4.1 device. It works on POCKET PC
> > 2003 Mobile device but not CE.NET 4.1.
> >
> > Is there any other component or source code for discover, connect and send
> > data via bluetooth ? I really need this type of connection and I couldn't
> > understand that, CF has no capability for spesific functionality .
> >
> > Thanks in advance !
> >
> > Ali.
> >
> > Vizyon Bilgi Islem Ltd.
> > Istanbul/Turkiye
>
>

Re: Bluetooth Printing - Nobody knows about it ? by madval

madval
Wed Aug 02 15:25:58 CDT 2006

hi Michal Rizek, could you send me an example code more detailed about printing to a bluetooth printer please?

madval -> gmail

Re: Bluetooth Printing - Nobody knows about it ? by aman

aman
Mon Aug 07 20:59:29 CDT 2006

hi
i am trying to communicate with bluetooth gps with my windows ce.net 4.2 device..but i am unable to find coredll..do you have sample code for bluetooth communication..please send it to sidhu.aman{at}gmail

Re: Bluetooth Printing - Nobody knows about it ? by Paul

Paul
Tue Aug 08 10:41:54 CDT 2006

Why are you hijacking this thread? Start a new thread for a new topic.

GPS always uses serial port profile, doesn't it? If so, you don't have to
do anything Bluetooth to talk to the GPS. Have the user set up a serial
port to communicate with the GPS and use the serial classes in .NET CF 2.0
to talk to that port.

Paul T.

<aman> wrote in message news:OEIAK5ouGHA.3392@TK2MSFTNGP04.phx.gbl...
> hi
> i am trying to communicate with bluetooth gps with my windows ce.net 4.2
> device..but i am unable to find coredll..do you have sample code for
> bluetooth communication..please send it to sidhu.aman{at}gmail