Home
last modified time | relevance | path

Searched refs:addr_cmd (Results 1 – 1 of 1) sorted by relevance

/device/linaro/hikey/wpan/uim/
Duim.c294 uim_bdaddr_change_cmd addr_cmd; in st_uart_config() local
402 memset(&addr_cmd, 0, sizeof(addr_cmd)); in st_uart_config()
404 addr_cmd.uart_prefix = HCI_COMMAND_PKT; in st_uart_config()
405 addr_cmd.hci_hdr.opcode = WRITE_BD_ADDR_OPCODE; in st_uart_config()
406 addr_cmd.hci_hdr.plen = sizeof(bdaddr_t); in st_uart_config()
407 memcpy(&addr_cmd.addr, bd_addr, sizeof(bdaddr_t)); in st_uart_config()
413 len = write(dev_fd, &addr_cmd, sizeof(addr_cmd)); in st_uart_config()