[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bluetooth-dev] rf_send in user mode??



On Tue, Nov 06, 2001 at 07:07:48PM +0800, LEUNG_YU_TIM wrote:
> Dear all,
>     
>      i am now testing the user mode of the openbt. could anyone tell me
> where can i find the char (letter) received in rf_send(i, repeat, line)??
> how can i see whether the char (letter) received are correct???
> 
>      thank you very much!!
> 
> Kelvin.

If you take a look in the code, you will see that a table (named tmp[]) is filled with next characters :

/* fill them with letters... */
  for (j = 0; j < len; j++)
  {
    tmp[j] = (j % 25) + 65;
  }

the content of this table is sent through bluetooth.

Regards.

--
Alain Paschoud                      SMARTDATA SA
alain.paschoud@xxxxxxx.ch         PSE-A
http://www.smartdata.ch             1015 Lausanne
Phone +41-21-693'84'98              
Fax   +41-27-693'84'91              
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com