Subversion Repositories Projects

Rev

Rev 485 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 485 Rev 486
Line 45... Line 45...
45
  int i;
45
  int i;
46
  char disp_txt[20];
46
  char disp_txt[20];
47
  for(i=0;i<bt_device_count;i++)
47
  for(i=0;i<bt_device_count;i++)
48
    {
48
    {
49
      if (i<3)
49
      if (i<3)
50
        {
50
        {
51
         
51
         
52
          if (selected_bt_device==i)
52
          if (selected_bt_device==i)
53
            sprintf(disp_txt,"#%s",names[i]);
53
            sprintf(disp_txt,"#%s",names[i]);
54
          else
54
          else
55
            sprintf(disp_txt," %s",names[i]);
55
            sprintf(disp_txt," %s",names[i]);
56
          write_display(i,disp_txt);
56
          write_display(i,disp_txt);
57
        }
57
        }
58
    }
58
    }
59
}
59
}
Line 60... Line 60...
60
 
60
 
Line 86... Line 86...
86
 
86
 
Line 87... Line 87...
87
 
87
 
88
 
88
 
89
 
89
 
90
 
90
 
Line 215... Line 215...
215
 
215
 
216
  while( TRUE )    
216
  while( TRUE )    
Line 217... Line 217...
217
    {
217
    {
218
 
218
 
219
      //      blink_evdev_led();
219
      //      blink_evdev_led();
Line 220... Line 220...
220
       bt_host_tick(mk_socket);
220
      //       bt_host_tick(mk_socket);
Line 330... Line 330...
330
            while (RxBuffer[2]!='B')
330
            while (RxBuffer[2]!='B')
331
            {
331
            {
Line 332... Line 332...
332
 
332
 
333
              RxBuffer[1]=0;
333
              RxBuffer[1]=0;
334
              read_from_mk();
334
              read_from_mk();
335
              bt_host_send(RxBuffer,rx_last_length);
335
              //              bt_host_send(RxBuffer,rx_last_length);
Line 336... Line 336...
336
              printf("sending to host: %s",PrintableRxBuffer);
336
              printf("sending to host: %s",PrintableRxBuffer);