go_away

Author Topic: Bluetooth unable to connect to computer  (Read 1789 times)

0 Members and 1 Guest are viewing this topic.

Offline Ji Jing MengTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
Bluetooth unable to connect to computer
« on: September 08, 2010, 11:22:46 AM »
Hi,

I am encountering some problems connecting my ATmega8 via bluetooth module (KC Wirefree SKKCA-21) to my computer. Whenever I try to connect to a COM port, the message "The device you selected does not have a serial port service running" appears. I can't seem to figure what the problem exactly is as I have initialized UART and solved all errors and warnings.

My Source Code:

Code: [Select]
#include "SoR_Utils.h"

int main(void)
{

char keypress;

uartInit();  // initialize the UART (serial port)
uartSetBaudRate(115200);// set the baud rate of the UART for our debug/reporting output
configure_ports();
rprintfInit(uartSendByte);

LED_on();

while (1)
{
keypress=uartGetByte();
if (keypress!=-1)
{
if (keypress == 'r')
{
rprintf("Connection Loaded 100%");
}
}
}

return 0;
}

Any solutions or ideas?? Your help will be greatly appreciated.



« Last Edit: September 08, 2010, 11:26:33 AM by Ji Jing Meng »

 

Related Topics

  Subject / Started by Replies Last post
10 Replies
7621 Views
Last post August 09, 2009, 09:02:43 AM
by Novice1
10 Replies
3125 Views
Last post September 02, 2009, 02:41:48 PM
by Admin
3 Replies
703 Views
Last post November 04, 2010, 09:29:09 AM
by Admin
2 Replies
577 Views
Last post September 02, 2012, 02:01:54 AM
by ironheartbj18


Get Your Ad Here

data_list