Skip to content

btdrv: document timeout parameter to btdrvTriggerConnection #669

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ndeadly
Copy link
Contributor

@ndeadly ndeadly commented Apr 29, 2025

No description provided.

@masagrator
Copy link
Contributor

masagrator commented Apr 29, 2025

Do we know which time unit is used for timeout?

@ndeadly
Copy link
Contributor Author

ndeadly commented Apr 29, 2025

Do we know which time unit is used for timeout?

It's not really clear. If you query the BCM4356 for the TBFC parameters used internally for this function the default host trigger timeout value is 0x1800/6144, which doesn't immediately jump out as some obvious round interval. Is a Kibisecond a valid unit of measurement? XD

@masagrator
Copy link
Contributor

masagrator commented Apr 29, 2025

Maybe like in BLE, it's timeout * 625us? Then 0x1800 gives us 3.84 seconds.

@ndeadly
Copy link
Contributor Author

ndeadly commented Apr 29, 2025

I considered that, but 3.84 is a rather specific number.

Is a Kibisecond a valid unit of measurement? XD

Maybe this wasn't so dumb after all. It might be in terms of literal "time units"...
https://en.wikipedia.org/wiki/TU_(time_unit)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants