Lines Matching full:hci
98 # Setup HCI
99 ngctl mkpeer ${dev}: hci ${hook} drv \
102 ngctl name ${dev}:${hook} ${dev}hci \
105 ngctl msg ${dev}hci: set_debug ${bluetooth_device_hci_debug_level} \
109 ngctl mkpeer ${dev}hci: l2cap acl hci \
112 ngctl name ${dev}hci:acl ${dev}l2cap \
118 # Connect HCI node to the Bluetooth sockets layer
119 ngctl connect ${dev}hci: btsock_hci_raw: raw ${dev}raw \
129 # Initilalize HCI node
132 ${hccontrol} -n ${dev}hci reset \
142 ${hccontrol} -n ${dev}hci read_bd_addr \
145 ${hccontrol} -n ${dev}hci read_local_supported_features \
148 ${hccontrol} -n ${dev}hci read_buffer_size \
153 ${hccontrol} -n ${dev}hci write_scan_enable 3 \
156 ${hccontrol} -n ${dev}hci write_scan_enable 1 \
161 ${hccontrol} -n ${dev}hci write_scan_enable 2 \
164 ${hccontrol} -n ${dev}hci write_scan_enable 0 \
170 ${hccontrol} -n ${dev}hci write_class_of_device ${bluetooth_device_class} \
174 ${hccontrol} -n ${dev}hci write_authentication_enable 1 \
177 ${hccontrol} -n ${dev}hci write_authentication_enable 0 \
183 ${hccontrol} -n ${dev}hci write_encryption_mode 0 \
188 ${hccontrol} -n ${dev}hci write_encryption_mode 1 \
193 ${hccontrol} -n ${dev}hci write_encryption_mode 2 \
204 ${hccontrol} -n ${dev}hci write_node_role_switch 1 \
207 ${hccontrol} -n ${dev}hci write_node_role_switch 0 \
211 ${hccontrol} -n ${dev}hci change_local_name "${bluetooth_device_local_name}" \
214 ${hccontrol} -n ${dev}hci initialize \
228 ngctl shutdown ${dev}hci: > /dev/null 2>&1