-
Notifications
You must be signed in to change notification settings - Fork 32
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
feat: implement Bluetooth Emulation BiDi mapping #2624
Conversation
🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use -- conventional-commit-lint bot |
The CDDL generated portions are hardcoded and will be removed once generated fro spec.
@alexnj thanks for updating the types! I think they have been rolled now so this PR can be rebased and landed. |
🤖 I have created a release *beep* *boop* --- ## [0.8.1](chromium-bidi-v0.8.0...chromium-bidi-v0.8.1) (2024-10-11) ### Features * implement Bluetooth Emulation BiDi mapping ([#2624](#2624)) ([48a233f](48a233f)) * support MPArch sessions ([#2662](#2662)) ([662485f](662485f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@@ -148,6 +148,16 @@ export class CommandProcessor extends EventEmitter<CommandProcessorEventsMap> { | |||
return await this.#bluetoothProcessor.handleRequestDevicePrompt( | |||
this.#parser.parseHandleRequestDevicePromptParams(command.params) | |||
); | |||
case 'bluetooth.simulateAdapter': | |||
return await this.#bluetoothProcessor.simulateAdapter(command.params); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI: the params should be parsed
Implements the Bluetooth Emulation spec from WebBluetoothCG/web-bluetooth#630. Needs to wait until spec is landed before this can be merged.