Transfer file to Bluetooth device
Hi
I have blue tooth application that can transfer files to a smart phone and contact cards.It can also transfer contact cards to mobile phone.
What it can do is send a file/message to a mobile phone.All the examples on the net send files to a pocket pc application.
What format must my file be in and is it possible to send the file. Im using Obex to transfer files
Thanks
[393 byte] By [
atkin] at [2007-11-19 19:52:25]

# 1 Re: Transfer file to Bluetooth device
you would have to send it via a COM port assigned.
So usually when you activesync the mobile device to the PC, usually the COM port is 6 - you can then send files via that COM port. It's all really down to the connection port, when you can recieve a handle/access it then you can use it.
I have not done the file transfer stuff but have done major developments on the smartphone/Windows Mobile platform so I know a fair amount about it.
The device also has to be able to have the "recieve incoming beams" option selected
:) hope it gives you some starting point
Techno at 2007-11-9 11:20:16 >

# 2 Re: Transfer file to Bluetooth device
Hi
Thanks for the reply. Will the port connection work for mobile phones as well. Thats the target im hitting. As I said I got it to work using OBEX to transfer vcard. But I need to send an alert via bluetooth to the phone. And not use GSM technlogy.
Thanks
atkin at 2007-11-9 11:21:15 >

# 3 Re: Transfer file to Bluetooth device
yes, using the COM port :)
Techno at 2007-11-9 11:22:13 >

# 4 Re: Transfer file to Bluetooth device
Hi
So does that mean all i need is to know which com port it is connected to and send text it.
So i can use hyperterminal to test this method before writing the code for it.
Ill try it out and see how it goes.
Thanks
atkin at 2007-11-9 11:23:19 >

# 5 Re: Transfer file to Bluetooth device
that is the theory :)
As long as you can active sync it - that's all it requires. Connecting a device via bluetooth is generally done via an assigned COM port
Techno at 2007-11-9 11:24:17 >

# 6 Re: Transfer file to Bluetooth device
Hi
I tried it out this weekend. I connected to the correct port an sent at and it said ok. But thats all i could do nothing more.
Also sent AT*EOBEX and it said Connect.
What am i missing.
atkin at 2007-11-9 11:25:16 >
