×

Discussion Board

Results 1 to 13 of 13
  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    4

    Exclamation Bluetooth s60 Programming

    Hi All,

    Can anybody help me with my problem regarding bluetooth.
    1. Is there a way to use vb programming?
    2. Is there a way to use (even 3rd party) in bluetooth connections
    that makes REALLY really make your life easier.
    Please help me with step by step on what ALL I need, sample or walkthrough.

    My goal (how I wish) is to send a .txt file or any simple file from PC to NGage or viceversa and/or even mobile to mobile.

    Im using widcomm usb dongle. I already have s60 FP1 SDK, latest J2SE, Connectivity SDK, I also tried using 3rd party ActiveXPerts COMPort and SMS Toolkit but with no success. I also try using python but I just couldnt make it.

    Please give me only the stuffs that I need. I have 3 days to complete the task.

    Sorry but I am very very new to mobile programming.

    Thanks,
    Steere

  2. #2
    Super Contributor
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600

    Re: Bluetooth s60 Programming

    Hi,
    I think you will find the following document that uses OBEX file transfer on Nokia phones via S60.

    MIDP: Bluetooth OBEX Example - Business Card Exchanger

    See also released on 22nd June 2006

    MIDP: OBEX API Developer's Guide

    -----------------------------------------------------------------
    When you set up your WIDCOMM software and set up file transfer did you remove the requirement for authentication. You need to set this to OFF, no authentication and set up the location to transfer the file into.
    -------------------------------------------------------------------
    The phone needs to be "paired" with ANY bluetooth device.

    The use of AT modem commands does not allow for transfer of files onto the phone, but will allow transfer through the phone to a remote server.

    In the website http://www.activexperts.com/support/activcomport/
    the following statement is made:-

    Q3100070: When I open a port, I get the following error: 11203. What does it mean?

    A: This error only occurs when using Windows Telephony devices (like 'Standard 9600 bps Modem'). The Windows Telephony device name is valid,. There can be two reasons for this error:
    The Windows Telephony device is already in use by another application;
    The port speed is wrong; Windows is able to open the port, but is not able to initialize the device properly because of the wrong speed. Make sure that the port speed of the device and the port settings of the Telephony device in the Control Panel both match.
    This "The Windows Telephony device" will only transfer files to the server remotely connected by your phone as a dial up service. There will always be an error seen by the Telephony device driver, because you are not connected to a remote telecom network connection via your Nokia Mobile phone.

    My phone a Nokia 6230i when running the bluetooth J2ME Client code which discovers and sends the data file on my phone to the J2SE code on my PC server using WinXP uses Bluetooth Serial Port protocol not the modem COM serial port.

    I appreciate this is Java and not S60 c++, but I do not have any s60 C++ code to share with you.

    ---------------------------------------------------------------------
    1. Is there a way to use vb programming?
    I have not seen any code the VB code, apart from PC Suite API which gives source code to pair and install code from VBnet using PC Suite v6.6

    PC Suite Connectivity API 1.1

    Have you tried using

    Carbide.vs 2.0.1
    Carbide.vs (formerly Nokia Developer's Suite for Symbian OS) 2.0.1 is a set of tools that enable efficient Symbian OS C++ application development using the Microsoft Visual Studio .NET 2003 IDE and Symbian OS SDKs.
    Carbide.vs 2.0.1



    I recently posted an article on OBEX, however this is written in java and is the completed J2SE file server code, which uses BluecoveWinXP.
    see
    OBEX Messaging

    Jim

  3. #3
    Registered User
    Join Date
    Jul 2006
    Posts
    4

    Re: Bluetooth s60 Programming

    wow! Thanks for the info, I'll check it out today and see if I can dig it. I really really appreciate your help. Please bear with me again if I have another inquiry and will let you know the result. Thanks again!

    -Steere

  4. #4
    Registered User
    Join Date
    Jul 2006
    Posts
    2

    Re: Bluetooth s60 Programming

    Hello jimgilmour1,
    I think you can help me...Can you tell where am I going to start at bluetooth rogramming...?Pleassseeee....Pleaseeee....To tell you the truth I am an idiot regarding to bluetooth...
    But I have a programming project, "sending file from pc to phone" or a compile application that can be use directly to cp, that sends action or anything...OR ANY "SIMPLE" application that uses bluetooth programming..
    I am using Ngage Nokia (we have same problem of Steere)...
    I am only a beginner so interaction of a point/dot object will do....Please help...My professor is a MONSTER!!! waaaaa!!!!!
    Thanks in Advance.....

  5. #5
    Super Contributor
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600

    Re: Bluetooth s60 Programming

    Hi
    Your requirement seems to be for "Ultimate Nokia S60 tutorials and help"
    if so then
    Ultimate Nokia S60 tutorials and help
    will help

    Configuring Bluetooth virtual serial ports (with source) for S60


    Symbian Bluetooth Overview for Symbian s60 v8.1b

    If you taste is to use and build Java MIDP then
    "J2ME Tutorial, Part 1: Creating MIDlets"

    J2ME Tutorial, Part 1: Creating MIDlets

    Download the "Java 2, Micro Edition (J2ME) Wireless Toolkit 2.2 Release" as
    Sun Java Wireless Toolkit 2.2 Release Download

    This contains example of bluetooth when toolkit installed at:-
    C:\WTK22\apps\BluetoothDemo\src\example\bluetooth\demo


    Simply compile the program. Run one copy select client,then click back to KToolbar and run another copy in Server mode.

    Jim
    Last edited by jimgilmour1; 2006-07-12 at 10:20.

  6. #6
    Registered User
    Join Date
    Jul 2006
    Posts
    2

    Thumbs up Re: Bluetooth s60 Programming

    Thanks thanks JIM!!!

    I think Im falling to you.....heheheheeh....
    Its really really for starters....Thanks alot...!!!!
    MWUAAAAAAAAAAHHHHHHHHH!!!

  7. #7
    Super Contributor
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600

    Re: Bluetooth s60 Programming

    Hi for all of you looking for those examples they are in the *S80* kit.



    Follow this link to download the examples for bluetooth
    Series 80 Developer Platform 2.0: Bluetooth Examples

    and the setup of for Series 60 software/hardware is given on page 20 in:-

    Setting Up And Using Bluetooth Hardware With Development Tools v1.1

    Jim
    Last edited by jimgilmour1; 2006-07-12 at 14:05.

  8. #8
    Registered User
    Join Date
    Jul 2006
    Posts
    4

    Re: Bluetooth s60 Programming

    Hi there,

    I think I will use java instead of C. So can you give me a sample code that

    1. Just say "Hello" to the client? and if it is possible, I am assuming that both application and bluetooth is on. Right?
    or/and ^_^

    2. or send a message or file without error checking.. I see that in your OBEX code uses a avetana (a third party?, and is it free to evaluate?)

    Q: and does your 2 code in the obex thread will work in the ktoolbar?

    Q: in your response in the COM port thingy, so it should work if I change the settings? so it is possible?

    Q: can you confirm if I compile the bluetoothdemo in the midp2 mobile phone, should it work? like in the 6600 or even in your cellfone?

    thanks,
    Steere
    Last edited by Steere; 2006-07-13 at 08:08.

  9. #9
    Regular Contributor
    Join Date
    Nov 2004
    Posts
    105

    Re: Bluetooth s60 Programming

    Avetana to my knowledge is to connect a phone with your computer.
    To say hello to the client you'll have to go through a tricky process for both server and client.

    Server
    -------------
    1) Start up bluetooth connection with the appropriate URL
    2) do an acceptAndOpen() which blocks until a connection is received
    3) Once connection is received, open the streams and do as you wis

    Client
    --------------
    1) Device Discovery
    2) Service discovery on each device (test without many bluetooth devices around)
    3) get service record
    4) get connection url from service record
    5) connect to connection url
    6) streams..

    sooo.. it wont be an easy ride , a "Hello world" application in bluetooth is a tad complicated

  10. #10
    Regular Contributor
    Join Date
    Nov 2004
    Posts
    105

    Re: Bluetooth s60 Programming


  11. #11
    Registered User
    Join Date
    Jul 2006
    Posts
    15

    Re: Bluetooth s60 Programming

    specify some details for passing a BT msg and reading and processing the same at other BT enabled device. thankx

  12. #12
    Regular Contributor
    Join Date
    Nov 2004
    Posts
    105

    Re: Bluetooth s60 Programming

    passing a BT msg = OutputStream
    reading a BT msg = InputStream

  13. #13
    Registered User
    Join Date
    Jul 2006
    Posts
    4

    Re: Bluetooth s60 Programming

    *bump*

    my project has been moved. somebody answer my other questions. thanks.

Similar Threads

  1. What is going on with Vibration on S60?
    By amd_rikus in forum Mobile Java General
    Replies: 3
    Last Post: 2006-06-16, 00:29
  2. best bluetooth dongle+ bluetooth programming
    By ali_hammad in forum Bluetooth Technology
    Replies: 3
    Last Post: 2006-06-12, 20:12
  3. best bluetooth dongle+ bluetooth programming
    By ali_hammad in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2006-05-24, 18:18
  4. bluetooth programming alternatives
    By ja_calulot in forum Bluetooth Technology
    Replies: 2
    Last Post: 2003-08-20, 08:46
  5. Nokia 7650 support Bluetooth audo?
    By ovjo12 in forum Bluetooth Technology
    Replies: 5
    Last Post: 2003-07-17, 18:50

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×