-
Notifications
You must be signed in to change notification settings - Fork 13
bluetooth: services: HID service #10
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
base: main
Are you sure you want to change the base?
Conversation
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.
Adding some initial comments from earlier. Will do more thorough review after it is rebased.
cmake_minimum_required(VERSION 3.20.0) | ||
|
||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) | ||
project(ble_hid_keyboard) |
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.
project(ble_hid_keyboard) | |
project(ble_hids_keyboard) |
d23a847
to
2b0a7aa
Compare
1db87b8
to
851e42a
Compare
A second button simulates the Shift button and shows how to modify the letter keystrokes. | ||
An LED displays the Caps Lock state, which can be modified by another connected keyboard. (TODO Match this behaviour from NCS sample) | ||
|
||
This sample exposes the HID GATT Service. It uses a report map for a generic keyboard. |
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.
This sample exposes the HID GATT Service. It uses a report map for a generic keyboard. | |
This sample exposes the HID GATT Service. | |
It uses a report map for a generic keyboard. |
The sample uses the buttons on a development kit to simulate keys on a keyboard. | ||
One button simulates the letter keys by generating letter keystrokes for a predefined string. | ||
A second button simulates the Shift button and shows how to modify the letter keystrokes. | ||
An LED displays the Caps Lock state, which can be modified by another connected keyboard. (TODO Match this behaviour from NCS sample) |
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.
An LED displays the Caps Lock state, which can be modified by another connected keyboard. (TODO Match this behaviour from NCS sample) | |
An LED displays the Caps Lock state, which can be modified by another connected keyboard. |
This should be removed before merging :)
* Add Bluetooth HID service. * Add HID keyboard sample. * Add HID mouse sample. Co-authored-by: Eivind Jølsgard <[email protected]> Signed-off-by: Emanuele Di Santo <[email protected]>
Update button features to match NCS sample. Work in progress. Signed-off-by: Eivind Jølsgard <[email protected]>
Add Bluetooth HID service and HID keyboard sample.
If you pair with your phone it sends some keystrokes in a loop.