×

Discussion Board

Page 1 of 3 123 LastLast
Results 1 to 15 of 36
  1. #1
    Super Contributor
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600

    A: How to use NCF 1.2 bluetooth with S60 3rd Edition for Symbian C++ MR

    *WARNING* This may have been superseded by the new Nokia S60 3rd edition driver at
    http://www.forum.nokia.com/info/sw.n...river.zip.html

    This will still be useful for S60 2nd Edition devices

    Jim Gilmour 14th March 2007

    ---------------------------------------------------------------------------
    Title:
    How to use NCF 1.2 bluetooth with
    S60 3rd Edition for Symbian C++ Maintenance Release 1.1 and other versions
    --------------------------------------------------------------------------------------
    Author Jim Gilmour 26th Jul 2006 initial version of document

    Over a period this thread is intended to have posting for all major version so Series 60 Symbian C++ including CodeWorks and S60 3rd Edition for Symbian C++ Maintenance Release 1.1.
    There has been much discussion in this forum on the search for answers. My system is running with S60 3rd Edition for Symbian C++ Maintenance Release with NCF 1.2 and is discoverable by Nokia 6230i.


    NOTE:
    There is a lot information and it’s worth taking 30 minutes to
    PRINT OFF ALL POSTINGS AND READ THEM ALL.

    Please carry out each section IN THE NUMERIC ORDER GIVEN there are boring reasons for this which cause big problems
    IMPORTANT UPDATE DECEMBER 2006 FOR WINDOWS XP PROFESSIONAL USERS
    --------------------------------------------------------------------------------------
    You MAY need to have Administrator rights,
    PRIMARY DOMAIN CONNECTED PC'S SEEM TO FAIL TO INSTALL PRODUCTS CORRECTLY. BLUETOOTH ADAPTERS SOFTWARE DO NOT SEEM TO WORK AFTER A REBOOT ON DOMAIN CONTROLLERS DUE TO SECURITY PROFILE SETTING BEING ENFORCED BY DOMAIN CONTROLLERS.

    This does not apply to Windows XP Home and seems to work better on Service Pack 2.
    --------------------------------------------------------------------------------------

    No responsibility is accepted for any problems caused to your PC for any software/hardware

    Nokia does not support software/hardware or test against other than except Casandra. see www.csr.com.

    Therefore this is "unsupported" by Nokia but hopefully supported by the Community developer members.


    --------------------------------------------------------------------------
    Section: 1 Download install products

    Download products from S60 page
    http://www.forum.nokia.com/info/sw.n...16-3.0-mr.html

    Make sure you have your registration numbers for the products NCF 1.2 and S60 3rd ED READY.

    1a
    Now download the correct version of s60 SDK 2.0 FP1
    "http://sw.nokia.com/id/4ca6edf3-fb68-4662-8e4c-de0c420cf957/S60_SDK_2_1_NET.zip*S60_SDK_2_1_NET.zip"
    Or
    http://www.forum.nokia.com/info/sw.n...16-3.0-mr.html
    And select the bottom one in the list (115mb)

    Install S60_SDK_2_1.
    ------------------------------------------------------------------
    1b
    Now download the correct version of
    Series 60 2nd Edition SDK for Symbian OS, Supporting Feature Pack 3, For C++, Supporting CodeWarrior (150MB)
    currently 4 from top called "S60_SDK_v21c_CW.zip"
    the other one is s60_2nd_sdk_fp3.zip

    Install S60 2nd ED FP3
    ------------------------------------------------------------------
    1c
    Now download the correct version of
    S60 3rd Edition SDK for Symbian OS, for C++, Maintenance Release
    Install s60 3rd ED MR
    http://www.forum.nokia.com/info/sw.n...3.749.zip.html
    You will need a Registration license

    Set the default Symbian at the end of install to s60 3rd ED c++ MR
    ------------------------------------------------------------------
    Now Download NCF 1.2 from
    http://www.forum.nokia.com/info/sw.n...ework_1_2.html
    Install NCF 1.2 making sure you have your registration number


    --------------------------------------------------------------------------------------
    Section: 2 "How To Make The S60 Emulator See My USB Bluetooth Dongle?"
    Unplug/remove the BT USB stub from the PC.

    Have you installed the BT USB driver?
    Start->All Programs->Nokia Developer->Nokia Connectivity Framework->Install BT USB driver
    or
    C:\Nokia\Tools\Nokia_Connectivity_Framework\configuration\addons\ncfbt\setup.exe


    Push BT USB back in The "NCF BT USB driver" is detected and loaded.

    If there is a problem:-
    Then unplug/remove the BT USB stub from the PC.
    Wait 10 seconds.
    Push BT USB back in The "NCF BT USB driver" is detected and loaded this time

    Go to control panel -> Hardware -> Device Manager -> look at USB devices expand the list and check that the NCF USB driver is loaded.

    If its not working reboot *without the BT USB plugged* in and try to run install program “Install BT USB driver” again.

    Then plug in BT USB. Check the following file to see if your BT USB in on the list if still not detected

    C:\Nokia\Tools\Nokia_Connectivity_Framework\configuration\addons\ncfbt\ncfbt.inf
    Check chip details with http://www.usbman.com/WebDrivers/USBview/USBVIEW.EXE

    My BT USB is an CSR so it on the list and it works.
    %DeviceDescription%=Install, USB\VID_0A12&PID_0001 ; CSR VID&PID


    --------------------------------------------------------------------------------------
    Section: 3 NCF BT USB warning WARNING! NCF 1.2 BT USB driver will have disabled PC Suite bluetooth connections. The bluetooth icon menu is blank. Restore with Start->All Programs->Nokia Developer->Nokia Connectivity Framework->Uninstall BT USB driver. Remove the BT USB and insert again to enable Win XP drivers.
    --------------------------------------------------------------------------------------

    Section: 4 "Starting up NCF and creating NCF Virtual ports drivers"
    Start up NCF in full (NOT LITE).

    Start->All Programs->Nokia Developer->Nokia Connectivity Framework-> Nokia Connectivity Framework Full
    or
    C:\Nokia\Tools\Nokia_Connectivity_Framework\bin\NCFStart.exe full

    In NCF open up the "Products-> Hardware" you should see a "BT USB Adapter" with green square next to it.

    In NCF open up the "Products-> Terminal SDKs" you should see
    "Series 60 SDK 2.1 for Symbian OS, Nokia Edition".



    Click Menu File-> Open
    C:\Nokia\Tools\Nokia_Connectivity_Framework\examples\Example_BTUSB_Environment.env

    If this is the first time of loading the XP drivers "NCF Virtual Port" drivers will start to load.
    Please wait complete, over 125 seconds, on my XP system.

    When install is complete the NCF environment should show
    a BT USB and a Icon with "Series 60 SDK 2.1 for Symbian OS, Nokia Edition" underneath.

    Click the green start icon on the NCF toolbar to start the environment.

    Wait for over 150 seconds for start-up to complete for the first time,
    Go and find your Nokia mobile phone and start bluetooth and set phone discoverable.

    ----------------------------------------------------------------------------------
    Section: 5 "Using the emulator to pair with another mobile phone"
    In the emulator use the down arrow to communications (initially off emulator Screen)
    Select Communications.
    Click bluetooth in the box "My Bluetooth Name" enter the name as the way a SMS text message.
    Select Bluetooth, currently off. Click OK. Label changes to ON.
    Press the right hand roller button.

    Press, "Options" Select "New Paired Device" after a few seconds.
    A “Searching for devices” message appears, after a delay due to emulation,
    "Devices found:" list appears and hopefully your real mobile phone will be on it.
    Select your phone from the list.
    Wait 5 seconds for the "Enter passkey message to appear". Enter "1234" press ok
    On your real Nokia phone answer "yes" to request to pair with emulator.
    Now enter the passkey code "1234" on your real phone press ok.

    The devices pair up ok and you can now see you real phone name on the emulators paired devices list.

    -----------------------------------------------------------------------------
    Section: 6 Bluetooth command log
    In The NCF Environment screen lots of messages appear. In my system these went up to ID=53
    Click bluetooth tab in NCF to see the bluetooth commands

    Well that finished for "Series 60 SDK 2.1 for Symbian OS, Nokia Edition".
    Click the square box, next to the green start button on menu toolbar, to stop NCF environment

    -----------------------------------------------------------------------------

    Next coming :-

    Section:7
    Using "Series 60 2nd Ed. SDK for Symbian OS Supporting Feature Pack 3
    - For C++ - Supporting Metrowerks CodeWarrior" for bluetooth

    Section 8: How to setup up NCF 1.2 BT USB with "S60 3rd Ed MR 1.1"

    Section:9 Configuring emulator for bluetooth.

    Section: 10 Configuring and starting the NCF 1.2,BTUSB
    and "Series_60_3rd_ed_sdk_for_symbian_os_MR_codewarrior" emulator

    Section 11: Summary and Background

    Jim
    Last edited by jimgilmour1; 2007-03-14 at 20:27. Reason: Added link to Nokia S60 3Ed Bluetooth driver

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

    A: to Q: How to use NCF 1.2 bluetooth with S60 3rd Edition for Symbian C++ MR

    *NOTE*:If you have started here WITHOUT carrying out the previous sections 1 to 7 you will encounter failures.

    Please select "Display Modes" in the screen thread manager, the top right of screen and select "Hybrid Mode". This will put the postings in entry order #1, #2, #3.... then Print out the all threads postings. Select "Linear Mode"


    --------------------------------------------------------------------------------------------------------------------
    Section: 7
    Using "Series 60 2nd Ed. SDK for Symbian OS Supporting Feature Pack 3
    - For C++ - Supporting Metrowerks CodeWarrior" for bluetooth

    In the NCF Message Environment page right click on "Series 60 SDK 2.1 for Symbian OS, Nokia Edition" and select Delete.

    In NCF open up the "Products-> Terminal SDKs" you should see "Series 60 2nd Ed. SDK for Symbian OS FP 3 Metrowerks CodeWarrior". Click and drag it into “Messaging” environment area, on right of BT icon, to replace previous Product icon.


    Click the green start icon on the NCF toolbar to start the environment.

    Wait for over 150 seconds for start-up to complete for the first time,
    go and find your Nokia mobile phone and start bluetooth and set phone discoverable.

    Follow the section 5 "Using the emulator to pair with another mobile phone" of first posting.

    The reason this section being done is to set up the files for use in "S60 3rd Ed MR 1.1" with bluetooth.

    --------------------------------------------------------------------------------------------------------------------
    Section 8: How to set-up up NCF 1.2 BT USB with "S60 3rd Ed MR 1.1"


    This part is slightly harder than before and unlikely you have done this before, so read *TWICE*. Each line will need ACCURATE typing and if the text is in CAPITALS/UPPERCASE the type it that way! The best thing is to copy and paste, if possible.
    107)
    Shutdown NCF using the NCF icon in the bottom right.
    108)
    Reboot the PC to get a fresh copy of WinXP drivers loaded

    109)
    Shutdown NCF using the NCF icon in the bottom right, when reboot complete
    110)
    If PCSuite was set to run with bluetooth use Windows task manager to delete process "LaunchApplication.exe" use the Windows task manager to delete process "DataLayer.exe". This will stop any interference with Bluetooth USB adapter.

    111)

    Copy "C:\Symbian\8.1a\S60_2nd_FP3\Epoc32\winscw\c\system\data\*.*"
    to "C:\Symbian\9.1\S60_3rd_MR\Epoc32\winscw\c\system\data\*.*"

    That’s copied the bt.bt.esk that was made earlier by "Series 60 2nd Ed. FP3 CW" among others into
    "S60 3rd Edition SDK for Symbian OS, for C++, Maintenance Release".

    These files did not previously exist or were blank.

    112)
    Open WinXP explorer and go to NCF directory C:\Nokia\Tools\Nokia_Connectivity_Framework\integrations

    113)
    Create a new directory exactly named "Series_60_3rd_ed_sdk_for_symbian_os_MR_codewarrior"

    114)
    Copy C:\Nokia\Tools\Nokia_Connectivity_Framework\integrations
    Series_60_2nd_Ed_SDK_for_Symbian_OS_FP_3_Metrowerks_Codewarrior\*.*
    Series_60_3rd_ed_sdk_for_symbian_os_MR_codewarrior\*.*

    115)
    In the directory "Series_60_3rd_ed_sdk_for_symbian_os_MR_codewarrior"
    Rename Product-S60-SDK2nd.gif to product-s60-sdk3rd.gif

    116)
    Start NCF
    Start->All Programs->Nokia Developer->Nokia Connectivity Framework-> Nokia Connectivity Framework Full

    ***CRITICAL**** now read *TWICE* accuracy needed
    I know the name is not "correct" for product but there is no *official* name so I chose to modify the original less chance of problems that way.

    117)
    From the NCF menu Tools
    Select "Create New Product Integration"

    118)
    A display with Step 1 in the title appears

    In the first box, “Name" put exactly, paste in, "Series_60_3rd_ed_sdk_for_symbian_os_MR_codewarrior"
    In "Version" put "1.1"
    In "Description" put "Series_60_3rd_ed_sdk_for_symbian_os_Maintenance_Release for C++"
    In "Category" make sure still set to "Terminal SDKs"
    In "Instance" make sure still set to "Single"
    In "Icon" use browse button "..." to select
    "integrations\Series_60_3rd_ed_sdk_for_symbian_os_MR_codewarrior\product-s60-sdk3rd.gif"
    Click ok/next

    119)
    Move to Start-Up page.
    In "Product Type" check for "Application".
    In "Home Directory" use browse button "..." to select to display "C:\Symbian\9.1\S60_3rd_MR\Epoc32"
    In "Start-up Command" use browse button "..." to select to display "release\winscw\udeb\epoc.exe"
    These can be pasted in.
    In "start-Up Parameters" leave the box blank.

    120)
    Click "Add New process"
    In "Process Name" put "_PRODUCT_HOME_\release\winscw\udeb\epoc.exe".
    Watch underscores and CAPITALS.
    Make sure *not* any blank gaps *above* the entry. If there are select by clicking it and press "Remove process"

    Click ok/next

    121)
    Move to Technology page

    First line is Bluetooth
    In "Communication Technology Click on word BTUSB change. Select "Virtual Serial port"
    In "Content Type" and select HCI UART Transport Layer (H4).
    In the bottom display is DEVICE name and should hopefully be COM3.

    This comes from back during S60 2nd ED FP1 load right back at beginning, if you followed procedure.

    122)
    Set the Infrared

    Second line is IrDA
    In "Communication Technology Click on Word BTUSB change. Select "Virtual Serial port"
    In "Content Type" and select "IrLAP Async".
    In the bottom display is DEVICE name and should hopefully be COM4.

    123)
    Third line is MMS
    In "Communication Technology Click on Word BTUSB change. Select "File"
    In "Content Type" and select "MMS Encapsulation".
    In the bottom display is Inbox is "_PRODUCT_HOME_/winscw/c/mmsin/"
    In the bottom display is Outbox is "_PRODUCT_HOME_/winscw/c/mmsout/"
    InboxFileExtension is "mms"
    OUtboxFileExtension is "mms"

    124)
    Fourth line is SMS
    In "Communication Technology Click on Word BTUSB change. Select "File"
    In "Content Type" and select "Series 60 Symbian 2.0".
    In the bottom display is Inbox is "_PRODUCT_HOME_/winscw/c/smsin/"
    In the bottom display is Outbox is "_PRODUCT_HOME_/winscw/c/smsout/"
    InboxFileExtension is "sms"
    OUtboxFileExtension is "sms"

    You do not need to set SMS or MMS, unless you intend to use them.

    125)
    Click the "x" for bluetooth and InfraRed.

    Leave MMS and SMS clear. Can be enabled when required.

    You can alter setting by right clicking on
    "Series_60_3rd_ed_sdk_for_symbian_os_MR_codewarrior" and selecting Properties.
    Select the "Technology" tab to move to settings.

    126)
    Now recheck the settings as above.
    Click ok to finish.
    Shutdown NCF using the NCF icon in the bottom right


    ---------------------------------------------------------------------------------------------------------------------

    Section: 9 Configuring emulator for bluetooth.

    *Important*:- Reboot the PC to reload drivers and flush out old code

    Shutdown NCF after reboot, using the NCF icon in the bottom right, don’t want NCF going whilst configuring emulator preferences

    Start->All Programs->S60 Developer Tools->MR 1.1 -> Emulator
    In emulator Menu Tools-> Preferences.

    Select the PAN (Personal Area Network)
    In bluetooth chose enable.
    Select COM: = 3
    Select HCI: = H4

    In IrDA Infrared
    Select COM: = 4
    In IrDA chose disable

    Click Apply you will get a message about restarting the emulator.
    Click Ok


    --------------------------------------------------------------------------------------------------------------------
    Section: 10 Configuring and starting the NCF 1.2,BTUSB
    and "Series_60_3rd_ed_sdk_for_symbian_os_MR_codewarrior" emulator

    *Important*: - Reboot the PC to reload drivers and flush out old code
    10.1
    Start NCF
    Start->All Programs->Nokia Developer->Nokia Connectivity Framework-> Nokia Connectivity Framework Full
    10.2
    Open Technology -> BT -> Select "BT USB adapter" and drag into the "Messaging" Environment.
    10.3
    Open Technology -> BT -> Select "Series_60_3rd_ed_sdk_for_symbian_os_MR_codewarrior"
    Drag into the "Messaging" Environment.

    Click the green start icon on the NCF toolbar to start the environment.

    Wait for up 150 seconds for start-up to complete for the first time.

    look for the log entry "Virtual Serial Port COM3 created for the 000032127B35"
    "Created Virtual Port COM3" on the bottom Basic log screen.

    look for "Virtual Serial Port COM4 created for the 55512349 InfraRed"
    "Created Virtual Port COM4" on the bottom Basic log screen.


    Now go into the emulator as before and check bluetooth.

    In the emulator use the down arrow to communications (initially off emulator Screen)
    select Communications.
    Click bluetooth


    Hopefully you will see your real mobile phone (Nokia any BT enabled) that was paired with whilst setting up "S60 2nd ed FP3". This is because the information file bt.bt.esk was copied over.
    ---------------------------------------------------------------------------------------------
    Next coming:- Section 11 Summary and Problem solving notes

  3. #3
    Regular Contributor
    Join Date
    May 2006
    Posts
    105

    Re: Q: How to use NCF 1.2 bluetooth with S60 3rd Edition for Symbian C++ MR

    Gotcha!, I'll try this. Thank you!

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

    Re: Q: How to use NCF 1.2 bluetooth with S60 3rd Edition for Symbian C++ MR

    *NOTE*:If you have started here WITHOUT carrying out the previous sections 1 to 10 you will encounter failures.

    Please select "Display Modes" in the screen thread manager, the top right of screen and select "Hybrid Mode". This will put the postings in entry order #1, #2, #3.... then Print out the all threads postings. Select "Linear Mode"


    --------------------------------------------------------------------------------------------------------------------
    Section: 11 Problem solving

    During using the S60 3rd Ed C++ MR emulator I found some common error messages
    1)
    Error : BTserver Application closed
    Answer: The Bluetooth has not been enabled from Menu ->Preferences and Select PAN Networks Tab.
    Enable the network and set Virtual Com Port number, probably 3 then
    Select protcol to H4.
    ***********************************************************
    2)
    Error: Program closed
    SocketServer
    Answer: Data sent from real mobile is arriving to quickly and caused error.
    ***********************************************************
    3)
    Error: The S60 3rd Ed C++ MR emulator hung whilst loading "frozen" up repeatedly

    Answer: Carry out Sections #7,#9,#10. This will run the S60 2nd Ed FP3 and check the Virtual Com Ports are working.
    Run the emulator in standalone mode and turn blutooth off.
    Carry out section #9 again.
    ***********************************************************




    More answers to problem when I encounter problems
    initally 3 problems added 01/08/2006 01-aug-06

    Jim

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

    Re: Q: How to use NCF 1.2 bluetooth with S60 3rd Edition for Symbian C++ MR

    Hi All,
    I have been told that this procedure will not in Carbide.C++ and S60 3 rd Ed MR.

    The fact is it *WILL* work if you create a NEW project and import the source and include files
    DO*NOT* import the project or it will be 2.0.



    I am going to post a new thread on Carbide c++ , S60 3rd Ed MR 1.1 , bluetooth and NCF 1.2 shortly.

    This will be a step-by-step guide to building an running BTdiscover example from S60 2nd FP3 and will show the steps to porting from 2.0 to 3.0 MR.

    Thanks
    Jim

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

    BTServer closed error message displayed

    *NOTE*:If you have started here WITHOUT carrying out the previous sections 1 to 10 you will encounter failures.

    Please select "Display Modes" in the screen thread manager, the top right of screen and select "Hybrid Mode". This will put the postings in entry order #1, #2, #3.... then Print out the all threads postings. Select "Linear Mode"




    In S60 3rd ED MR 1.1 when you start the emulator for bluetooth and attempt to turn on bluetooth. The error message appears

    Application
    BTServer Closed

    appears on a pop-up box.
    This usually means that in the Preferences menu and the PAN(Personal Network) tab.
    The bluetooth is not enabled or wrong port
    this should be COM3 and HC4.

    You need to restart the emulator afterwards.
    In the log he Virtual Com3 port has not been created.

    Jim
    Last edited by jimgilmour1; 2006-08-10 at 14:27.

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

    Talking Re: Q: How to use NCF 1.2 bluetooth with S60 3rd Edition for Symbian C++ MR

    *NOTE*:If you have started here WITHOUT carrying out the previous sections 1 to 10 you will encounter failures.

    Please select "Display Modes" in the screen thread manager, the top right of screen and select "Hybrid Mode". This will put the postings in entry order #1, #2, #3.... then Print out the all threads postings. Select "Linear Mode"


    Hello
    I did some more testing today and bluetooth seems to work on s60 2nd ed fp2 CW and even The microsoft/borland integration Japanese version ( I just used button icon position, not the words!) to check bluetooth and it works.

    In each SDK whilst loading and NCF integration file is loaded. You can see this if you select custom settings and look for NCF integration, by default its loaded.

    When I started NCF the SDK got the wrong value but if you have followed section 1a 2,3,4,5, 6 of this posting #1 this problem will NOT occur.


    load s60 2nd Ed FP2 from
    http://forum.nokia.com/info/sw.nokia...2_sdk.zip.html

    This SDK supports Metrowerks CodeWarrior v2.8 for Symbian OS. NOTE: Java Runtime Environment v 1.4.1_02 and ActivePerl 5.6.1 need to be installed before this SDK is installed.
    I and going to remove Japanese version now!.
    Jim
    Last edited by jimgilmour1; 2006-08-22 at 19:50. Reason: update sections numbers and link for FP2

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

    s60 2nd ED error message "Bluetooth:Feature is not supported"

    The following error is found whilst running the NCF

    When Series 60 2nd Ed. SDK for Symbian OS, FP 2 is installed the emulator is run. From the emulator (epoc) when I try to pair with another bluetooth device, it gives me the error message,
    "Bluetooth:Feature is not supported"
    There are several reasons for this the most common are :-
    1. NCF 1.2 is not running
    2. NCF virtual ports are not configured correctly in the Product properties of the NCF integration for the sdk. e.g. BTUSB instead of "virtual port"
    3. The wrong port is selected only ports 3 to 5 allowed and port COM3 is usually correct port for BTUSB.

    Also from the NCF log gives the following error.
    Failed to send message from NCF to product. com.nokia.phone.tool.ncf.pipeline.CommunicationHandlerException: Failed to write data to the port COM5.
    ANSWER to all above
    This means the SDK to NCF integration did not take place correclty.

    Section 2 and Section 4 given above should be carried out again.

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

    Debugging Symbian S60 with Carbide C++ Express and NCF 1.2 Bluetooth

    Hi,
    I found that the Bluetooth example project Point-to-MultiPoint needed upgrading to S60 2nd ED FP3 as the bluetooth library has changed in FP3.

    There was a diffcult to find problem in BlueTooth Security Manager. I have documented a way to use Carbide.c++ and NCF to debug this example during upgrade.

    In Carbide.c++ you can examine any local variable, without recompile or altering source, at a break point
    So as promised as a previous post in this thread an example bluetooth
    Upgrade,debug and test is posted at

    "Debugging Symbian S60 with Carbide C++ Express and NCF 1.2 Bluetooth"
    http://discussion.forum.nokia.com/fo...ad.php?t=88537

    Jim

  10. #10
    Registered User
    Join Date
    Sep 2006
    Posts
    9

    Unhappy Re: Q: How to use NCF 1.2 bluetooth with S60 3rd Edition for Symbian C++ MR

    Hi Jim:
    I am newer for Symbian OS s60 3rd MR.
    I try to use NCF 1.2 bluetooth with S60 3rd Edition for Symbian C++ MR.
    I have follow all steps to use NCF 1.2 and S60 3rd Edition for Symbian C++ MR
    emulator.
    I can do the BT feature on s60 v2.1 & s60 2rd FP3, but I can't work it on s60 3rd MR.
    When I finish all step #1~#10 ,the s60 3rd emulator just appear without any
    screen, even I waitting for 20 mins.
    When I close it ,I can't running that emulator again, even run it by
    "Start->All Programs->S60 Developer Tools->MR 1.1 -> Emulator".
    Only when I reboot my PC, I just can run it once.
    Please help me! Thanks very much.

    kk0223 2006.9.26

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

    Re: Q: How to use NCF 1.2 bluetooth with S60 3rd Edition for Symbian C++ MR

    *NOTE*:If you have started here WITHOUT carrying out the previous sections 1 to 10 you will encounter failures.

    Please select "Display Modes" in the screen thread manager, the top right of screen and select "Hybrid Mode". This will put the postings in entry order #1, #2, #3.... then Print out the all threads postings. Select "Linear Mode"
    --------------------------------------------------------------------------
    I can do the BT feature on s60 v2.1 & s60 2rd FP3, but I can't work it on s60 3rd MR.
    When I finish all step #1~#10 ,the s60 3rd emulator just appear without any
    screen, even I waitting for 20 mins
    --------------------------------------------------------------------------
    Hi,

    You may have a problem related to the virtual ports closing.
    -----------------------------------------------------
    Stop the environment, delete the 2nd edition Emulator.

    At this point you should have dragged in the 3rd Ed Emulator without shutting down NCF. The ports have been open and would like to keep the ports open.

    The click the green triangle to start again.

    Check the log for bluetooth packets being sent
    -------------------------------------------------------------------------

    But I sometimes get this error
    App.closed:
    ESock_Bt
    USER 21

    This means wrong port selected ie cannot connect.

    check bt.bt.esk contains
    --------------------------------------------------------------------------
    [sockman]
    protocols= btlinkmanager,l2cap,rfcomm,sdp,avctp


    [hci]
    hcidllfilename= hci_h4.dll
    port= 2

    ---------------------------------------------------------------------------

    This sets COM3 ie port=(3-1) =2

    Put this into C:\Symbian\9.1\S60_3rd_MR\Epoc32\winscw\c\system\data\bt.bt.esk


    -------------------------------------------------------------------------
    I decided to do this as interactive question and answer.
    This is the way the emails I get seem to get the resulting success.

    Good Luck
    Jim
    Last edited by jimgilmour1; 2006-09-29 at 19:08. Reason: Removed incorrect information

  12. #12
    Registered User
    Join Date
    Sep 2006
    Posts
    9

    Unhappy Re: Q: How to use NCF 1.2 bluetooth with S60 3rd Edition for Symbian C++ MR

    Hello Jim:
    Very thanks for your reply.
    I have try all the ways that you post.
    But the issue still the same.(show the emulator without screen)
    When I check the windows task manager, I can find epoc.exe is exist in processes list ,but that CUP usage always 00.
    Even I close emulator and shut down NCF, I can find the epoc.exe still exist in processes list ,but that CUP usage still 00.
    So I can't run any emulator by any way again, except reboot my PC.

    I have check the log message as below:
    Virtual Serial Port COM4 created for the 55512349
    Virtual Serial Port COM3 created for the 000031127B35
    New product started - BT USB Adapter
    New product started - S60 3rd Ed. SDK for Symbian OS

    It seems like all products are started and Virtual Serial Port are created.

    I am waitting for your help. Thanks again.

    kk0223 2006.9.27

  13. #13
    Registered User
    Join Date
    Sep 2006
    Posts
    9

    Unhappy Re: Q: How to use NCF 1.2 bluetooth with S60 3rd Edition for Symbian C++ MR

    Hi Jim
    I uninstall all s60 SDKs and NCF1.2, then re-install again.
    but result is the same.
    at step #10 ,I still can run the emulator but without screen.
    at 5 mins later, the green word "running" show on "Series60_3rd_ed_sdk_for_symbian_OS_MR_codewarrior " icon in "Messaging" Environment is loss.but emulator still show out.
    I can close emulator (but epoc.exe still exist in windows task manager/processes list ,but that CUP usage still 00.),then I can't run
    any emulator again.
    I am waitting for your help. Thanks again.

    kk0223 2006.9.27

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

    Re: Q: How to use NCF 1.2 bluetooth with S60 3rd Edition for Symbian C++ MR

    Hi,

    I can close emulator (but epoc.exe still exist in windows task manager/processes list ,but that CUP usage still 00.),then I can't run
    any emulator again.
    I have never had this problem before, your emulator seems to locking up for reason. If you deleted any extra files I dont know why you have this problem.

    I dont know why the operating system (XP?) is refusing to delete the epoc process.
    I cannot figure what has happened as the ports have started.
    I have 512MB memory and I run on a laptop with XP

    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    No person has emailed with this problem and I am unable to simulate the problem

    UPDATE :See next post about Java runtime problems.


    Jim
    Last edited by jimgilmour1; 2006-09-28 at 09:21.

  15. #15
    Registered User
    Join Date
    Sep 2006
    Posts
    9

    Re: Q: How to use NCF 1.2 bluetooth with S60 3rd Edition for Symbian C++ MR

    Quote Originally Posted by jimgilmour1
    Hi All,
    I have been told that this procedure will not in Carbide.C++ and S60 3 rd Ed MR.
    ..................................Jim

    Dear Jim:
    Very thanks for your reply.I will try it again.
    and I will wait for your new post about "new thread on Carbide c++ , S60 3rd Ed MR 1.1 , bluetooth and NCF 1.2"
    Thanks again.

Similar Threads

  1. How To Make The S60 Emulator See My USB Bluetooth Dongle ?
    By Mo7ammed_01 in forum Bluetooth Technology
    Replies: 9
    Last Post: 2009-07-17, 02:33
  2. S60 3rd Edition sdk emulator cannot be started up
    By ShirleyKing in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2009-03-11, 22:30
  3. Replies: 7
    Last Post: 2007-06-19, 12:01
  4. Enable BT using NCF...in 3rd edition!!
    By Priju Jacob Paul in forum Bluetooth Technology
    Replies: 12
    Last Post: 2006-07-26, 17:53
  5. 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

Posting Permissions

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