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

RE: [bluetooth-dev] Country code missed function



Thanks, I have checked it in, can you please verify it 
(bt_read_country_code in bt_if.c) ?
brgds
/Mattias

> -----Original Message-----
> From: Per Haglund [mailto:pih00@xxxxxxx.uk]
> Sent: den 29 juli 2001 18:18
> To: bluetooth-dev@xxxxxxx.com
> Subject: [bluetooth-dev] Country code missed function
> 
> 
> Hi,
> 
> I forgot to include the actual function in the previous mail (also
> belongs to hci.c).
> 
> s32
> hci_read_country_code(void)
> {
>   s32 tmp;
> 
>   D_CMD(__FUNCTION__"\n");
>   c_pkt.type = CMD_PKT;
>   c_pkt.opcode = hci_put_opcode(READ_COUNTRY_CODE, HCI_IP);
>   c_pkt.len = 0;
> 
>   tmp = send_cmd_block((u8*) &c_pkt, c_pkt.len + CMD_HDR_LEN 
> + HCI_HDR_LEN);
> 
>   if (tmp < 0) {
>     return tmp;
>   } else {
>     return result_param;
>   }
> }
> 
> Kind regards,
> 
> Per
> 
> -
> To unsubscribe from this list: send the line "unsubscribe 
> bluetooth-dev" in
> the body of a message to majordomo@xxxxxxx.com
> 
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com