Author Topic: Bluetooth unable to connect to computer  (Read 2705 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 »

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


while (1)
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 »


Get Your Ad Here