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
130 ${hccontrol} -n ${dev}hci reset \
133 ${hccontrol} -n ${dev}hci read_bd_addr \
136 ${hccontrol} -n ${dev}hci read_local_supported_features \
139 ${hccontrol} -n ${dev}hci read_buffer_size \
144 ${hccontrol} -n ${dev}hci write_scan_enable 3 \
147 ${hccontrol} -n ${dev}hci write_scan_enable 1 \
152 ${hccontrol} -n ${dev}hci write_scan_enable 2 \
155 ${hccontrol} -n ${dev}hci write_scan_enable 0 \
161 ${hccontrol} -n ${dev}hci write_class_of_device ${bluetooth_device_class} \
165 ${hccontrol} -n ${dev}hci write_authentication_enable 1 \
168 ${hccontrol} -n ${dev}hci write_authentication_enable 0 \
174 ${hccontrol} -n ${dev}hci write_encryption_mode 0 \
179 ${hccontrol} -n ${dev}hci write_encryption_mode 1 \
184 ${hccontrol} -n ${dev}hci write_encryption_mode 2 \
195 ${hccontrol} -n ${dev}hci write_node_role_switch 1 \
198 ${hccontrol} -n ${dev}hci write_node_role_switch 0 \
202 ${hccontrol} -n ${dev}hci change_local_name "${bluetooth_device_local_name}" \
205 ${hccontrol} -n ${dev}hci initialize \
219 ngctl shutdown ${dev}hci: > /dev/null 2>&1