Click here to Skip to main content
15,911,890 members
Home / Discussions / Mobile
   

Mobile

 
AnswerRe: copy iphone4 Pin
HimanshuJoshi20-Oct-10 5:56
HimanshuJoshi20-Oct-10 5:56 
QuestionHow accurate are the emulators? Pin
Alexander DiMauro19-Oct-10 15:37
Alexander DiMauro19-Oct-10 15:37 
AnswerRe: How accurate are the emulators? Pin
Peter_in_278019-Oct-10 20:15
professionalPeter_in_278019-Oct-10 20:15 
GeneralRe: How accurate are the emulators? Pin
Magnetomage22-Oct-10 11:47
professionalMagnetomage22-Oct-10 11:47 
AnswerRe: How accurate are the emulators? Pin
ChrisGWilliams21-Oct-10 5:59
ChrisGWilliams21-Oct-10 5:59 
AnswerRe: How accurate are the emulators? Pin
ghle21-Oct-10 19:34
ghle21-Oct-10 19:34 
GeneralRe: How accurate are the emulators? Pin
Alexander DiMauro22-Oct-10 1:44
Alexander DiMauro22-Oct-10 1:44 
GeneralRe: How accurate are the emulators? Pin
Lee Sudduth22-Oct-10 3:03
Lee Sudduth22-Oct-10 3:03 
GeneralRe: How accurate are the emulators? Pin
Alexander DiMauro22-Oct-10 3:53
Alexander DiMauro22-Oct-10 3:53 
AnswerRe: How accurate are the emulators? Pin
sjewrd21-Oct-10 20:18
sjewrd21-Oct-10 20:18 
JokeRe: How accurate are the emulators? Pin
Peter_in_278021-Oct-10 20:24
professionalPeter_in_278021-Oct-10 20:24 
JokeRe: How accurate are the emulators? Pin
ghle21-Oct-10 20:39
ghle21-Oct-10 20:39 
AnswerRe: How accurate are the emulators? Pin
NotDadsW4122-Oct-10 3:58
NotDadsW4122-Oct-10 3:58 
GeneralRe: How accurate are the emulators? Pin
Alexander DiMauro22-Oct-10 4:16
Alexander DiMauro22-Oct-10 4:16 
GeneralRe: How accurate are the emulators? Pin
ghle22-Oct-10 11:40
ghle22-Oct-10 11:40 
GeneralRe: How accurate are the emulators? Pin
Marijus Sugajevas24-Oct-10 17:23
professionalMarijus Sugajevas24-Oct-10 17:23 
AnswerRe: How accurate are the emulators? Pin
SohjSolwin22-Oct-10 4:40
SohjSolwin22-Oct-10 4:40 
AnswerRe: How accurate are the emulators? Pin
JasonPSage22-Oct-10 6:21
JasonPSage22-Oct-10 6:21 
AnswerRe: How accurate are the emulators? Pin
Andrei Bozantan23-Oct-10 6:48
Andrei Bozantan23-Oct-10 6:48 
Questionconnect sql server over wifi Pin
mersad0018-Oct-10 11:19
mersad0018-Oct-10 11:19 
QuestionHow to edit a CBitmap in windows mobile? Pin
veryveryfatman17-Oct-10 0:21
veryveryfatman17-Oct-10 0:21 
AnswerRe: How to edit a CBitmap in windows mobile? Pin
Alain Rist19-Oct-10 21:18
Alain Rist19-Oct-10 21:18 
Questionhow to write and implement compiled script resource for windows mobile desktop dotnet application Pin
ahmad4dotnet16-Oct-10 2:54
ahmad4dotnet16-Oct-10 2:54 
Questionrecovery deleted sms from nokia s60v03.08 handset. Pin
srihlp13-Oct-10 2:48
srihlp13-Oct-10 2:48 
Questionproblems with sending out data using bluetooth Pin
dusk857-Oct-10 16:53
dusk857-Oct-10 16:53 
hi,
i'm currently using waspmote IDE to write a source code to send or receive data.Unfortunately, my program doesn't work and i don't know where the problem lies.Here's my code:

C++
void setup(){
  // setup for Serial port over USB
  USB.begin();
  USB.println("USB port started...");
  USB.close();

  // Powering BT
  BT.ON();

  // Init
  if(!BT.init()) USB.println("Init OK");
}

int n=0;

void loop()
{
   // Searching for devices
  if(!BT.scanNetwork()) USB.println("Scan OK");
  else USB.println("Scan failed");

  // Printing the devices that have been found
  for(int l=0;l<BT.devices_found;l++)
  {
    n=0;
    USB.print("---- DEVICE ");
    USB.print(l,DEC);
    USB.print(" ----  ");
    USB.print("MAC: ");
    for(int m=0;m<12;m++)
    {
      USB.print(BT.discovered_devices[l].mac_address[m],BYTE);
    }
    USB.print(" -- NAME: ");
    while(BT.discovered_devices[l].name[n]!='\0')
    {
      USB.print(BT.discovered_devices[l].name[n],BYTE);
      n++;
    }
    n=0;
    USB.print(" -- CoD: ");
    while(BT.discovered_devices[l].CoD[n]!='\0')
    {
      USB.print(BT.discovered_devices[l].CoD[n],BYTE);
      n++;
    }
    USB.println("");
   
    delay(2000);
  }

  //Creating a connection to a device
  if(!BT.createConnection("0003190D1DB9","02"))
  {
    USB.println("");
    USB.print("--- CONNECTION -- MTU: ");
    USB.print(BT.connection_mtu[0],BYTE);
    USB.print(BT.connection_mtu[1],BYTE);
    USB.println(BT.connection_mtu[2],BYTE);   
  }
  else USB.println("Connection failed");


  delay(1000);
  
  // Sending the data to the opened connection
  if(!BT.sendData("test!")) USB.println("Data sent OK");
  else USB.println("Error while sending data");
  
delay(2000);
}

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.