Questions tagged [hci]

For questions about Host Controller Interface.

The Host Controller Interface, in Bluetooth protocols, allows the communication between the Host (e.g. computer) and the Controller (e.g. Bluetooth adapter).

More reading:

201 questions
3
votes
3 answers

Smallest recommended button size

Is there a recommended smallest button size under normal conditions? By "recommended" I mean prescribed by some document like: Apple HCI Guidelines Windows UX Guidelines or some ISO standard.. By "normal" conditions I mean: desktop/office…
zombie
  • 118
  • 1
  • 5
3
votes
4 answers

Is there a generally acceptable definition of (soft) realtime delays?

I'm trying to find a benchmark for how long users are willing to wait for a response from a remote service. In my case the response is for very useful but not business critical validation of data entry. I guess that there must have been some work…
Chris McCauley
  • 25,824
  • 8
  • 48
  • 65
2
votes
1 answer

Cancelling retransmissions on a L2CAP socket

I was wondering if anyone can assist me with a problem that I have with C Bluetooth programming (Linux Bluez). I am using Ubuntu 10.04, BlueZ 4.60. My goal is to have a L2CAP socket in which there will be minimal delay for sending data between 2…
eranre
  • 21
  • 2
2
votes
4 answers

Developing UI for Android

I am planning to develop an Android based mobile for my Human Computer Interaction based project. I am looking for a UI designing application for Android platform. Can it be achieved with Eclipse or is there a better way of developing UI for Android…
Manoj Kumar
  • 135
  • 1
  • 3
  • 13
2
votes
1 answer

Problem with getting list of HCI devices from driver in Android

I have to work with HCI device of Android, so I try to implement a simple code for get the number of bluetooth device: ... struct hci_dev_req *dr; int sk = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI); if (sk < 0) { res = "invalid socket"; …
Borg8
  • 1,562
  • 11
  • 19
2
votes
0 answers

hci_write_local_name to write BLE name

It's not clear what the behaviour of hci_write_local_name should be. I'm using this function to change the local name of my BLE device but when I scan the network I see the device with original name (I checked the mac address to confirm) although…
H2O
  • 153
  • 1
  • 1
  • 13
2
votes
2 answers

Help me get more information on Web Usability Studies

I am very interested in human computer interactions and mainly web interaction. Can you please tell me some studies, web sites, papers, links or research groups that are investigating Web pages design metrics similar to this…
unj2
  • 52,135
  • 87
  • 247
  • 375
2
votes
1 answer

Why do I get 2 interface descriptors before the endpoint descriptor after a GET_DESCRIPTOR USB request on QEMU?

I am writing a small x86-64 hobby OS I boot with UEFI. I am currently writing a driver for the Intel's xHC. I am at a point where I can address USB devices and have a Transfer Ring allocated for Endpoint 0 of each device. I then use a GET_DESCRIPTOR…
user123
  • 2,510
  • 2
  • 6
  • 20
2
votes
1 answer

How to determine on which Root Hub Port is connected a usb device after an Enable Slot Command with the Intel's xHC?

I am writing a small driver for the Intel's xHC in a small hobby OS I boot with UEFI. After I reset all Root Hub Ports, I get 2 Port Status Change Events which is because I asked QEMU to emulate a usb keyboard and a usb mouse in the command line.…
user123
  • 2,510
  • 2
  • 6
  • 20
2
votes
1 answer

Why am I not receiving interrupts on Port Status Change Event with the Intel's xHC on QEMU?

I'm coding a small OS kernel which is supposed to have a driver for the Intel's xHC (extensible host controller). I got to a point where I can actually generate Port Status Change Events by resetting the root hub ports. I'm using QEMU for…
user123
  • 2,510
  • 2
  • 6
  • 20
2
votes
2 answers

How does one use onmousedown/onmouseup correctly?

Whenever I write mouse handling code, the onmousedown/onmouseup/onmousemove model always seemed to force me to produce unnecessarily complex code that would still end up causing all sorts of UI bugs. The main problem which I see even in major…
Shalmanese
  • 5,254
  • 10
  • 29
  • 41
2
votes
1 answer

BlueZ: No default controller available

I'm setting up Linux device to act as BLE host, and ESP32 to work as a BLE controller over UART. I'm using BlueZ v5.55, with btattach and bluetoothctl utilities, and bluetoothd running in the background. However, after finishing the setup…
Filip Kubicz
  • 459
  • 1
  • 5
  • 17
2
votes
0 answers

Reading and setting LE 2M PHY on Bluetooth v5.0

Need to determine whether the central and peripheral devices (both running Bluetooth 5.0) are communicating via the faster LE 2M PHY bit rate. The command I am sending via the hcitool: sudo hcitool cmd 8 30 40 0 The response received: 01 30 20…
Alex
  • 51
  • 4
2
votes
0 answers

Send HCI ACL Data packets with hcitool

History: I used BlueZ 5.43 to communicate with a bluetooth device: connect FF:FF:FF:FF:FF:FF select-attribute /org/bluez/hci/dev_ ... write 0x54 It takes some time, but it works. Current issue: Now I'm using the HCI commands defined in the…
drink
  • 21
  • 3
2
votes
1 answer

Details on HCI filter socket options?

While I was testing some basic HCI commands using python's socket library, it seems that in order to get any socket traffic using AF_BLUETOOTH and BTPROTO_HCI a "pass all" filter needs to be set in the socket options: from socket import socket,…
Sean McVeigh
  • 569
  • 3
  • 18