Bluetooth SKKCA communication failure


+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2008
    Posts
    4

    Default Bluetooth SKKCA communication failure

    I have already tested the SKKCA module using USB and its fine..... The problem is when I connect to Microcontroller and powered up the SKKCA and tried to establish the serial communication with it using Bluetooth dongle (by double click the KCWirefreeDevice icon in IVTBluesoleil), the status "Service Discovery Failed" was shown - I was unable to communicate serially with the SKKCA from my computer.
    As you have answered in the forum SKKCA Rx pin need to be high if SPP connection required to be establish. the way to make this, one is to connect to microcontroller and enable the UART(not sure your UART on microcontroller is correct or not).
    The question over here is what is the command used to enable UART... I cant understand... After finding all the books and net i have wrote a simple programme .... The program is just to receive back the sent data in 5 decimal num... Pls check it weather any mistake done or left out in the programme...

    DEFINE OSC 20
    TRISC.7 = 0 ' Set PORTC.7 (TX) to output

    PCData var word
    '
    Main:

    SERIN2 PORTC.7, 16468,Main,40000, Main,[DEC5 PCData]
    pause 1000
    SERout2 PORTC.6, 16468,[dec PCData,13,10]
    goto Main

  2. #2
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by Rameesh View Post
    ....DEFINE OSC 20
    TRISC.7 = 0 ' Set PORTC.7 (TX) to output
    PCData var word
    Main:
    SERIN2 PORTC.7, 16468,Main,40000, Main,[DEC5 PCData]
    pause 1000
    SERout2 PORTC.6, 16468,[dec PCData,13,10]
    goto Main
    SERIN2 / SEROUT2 are 'bit banged' UART commands, no hardware involved other than the pin assigned by the command.

  3. #3
    Join Date
    Jun 2008
    Posts
    2

    Default Service Discovery failed

    I oso faced same problem. How to resolve it??? Thanks.

  4. #4
    Join Date
    Jun 2008
    Posts
    2

    Default Service Discovery failed

    I oso faced same problem. How to resolve it, Rameesh??? Thanks.
    Can i discuss with u???

  5. #5
    Join Date
    Jun 2008
    Posts
    4

    Default Service Discovery Failure

    We can discuss but i still did not get a solution for this problem....

  6. #6
    Join Date
    Jun 2008
    Posts
    4

    Default Service discovery failure

    SERIN2 / SEROUT2 are 'bit banged' UART commands.......



    skimask i cant get you with the term 'bit banged'.... I am little new to PIC.... If u dont mind please explain it to me... Anyway thanks for the reply sir....

  7. #7
    Join Date
    Jun 2008
    Posts
    4

    Default Service discovery failure

    SERIN2 / SEROUT2 are 'bit banged' UART commands.......



    skimask i cant get you with the term 'bit banged'.... I am little new to PIC.... If u dont mind please explain it to me... Anyway thanks for the reply sir....

  8. #8
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by Rameesh View Post
    SERIN2 / SEROUT2 are 'bit banged' UART commands.......

    skimask i cant get you with the term 'bit banged'.... I am little new to PIC.... If u dont mind please explain it to me... Anyway thanks for the reply sir....
    Bit-banged - driven by software (i.e. put pin high, wait X seconds, put pin low, wait X seconds, and so on)

Similar Threads

  1. interaction between Bluetooth and PIC MCU
    By veenadari in forum Bluetooth
    Replies: 1
    Last Post: - 23rd June 2009, 15:03
  2. help my bluetooth and PIC 16F877A?
    By slimpeng in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th March 2008, 06:52
  3. Bluetooth GPS and PBP interfacing
    By RFsolution in forum Bluetooth
    Replies: 0
    Last Post: - 5th January 2006, 11:17
  4. Bluetooth wireless with PIC / HSERIN / DAC
    By rpatel in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 20th December 2004, 22:13
  5. Replies: 8
    Last Post: - 11th November 2004, 20:08

Posting Permissions

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