summaryrefslogtreecommitdiff
path: root/app/src/ble.c
AgeCommit message (Collapse)Author
2020-09-13fix(bluetooth): Reject pairing to taken profiles.Pete Johanson
2020-09-13feat(bluetooth): Add back profiles, split fixes.Pete Johanson
* Add back in profiles, not using Zephyr BT identity infrastructure. * Restore additional `&bt` commands for profile operations. * Fix for split pairing and subscriptions, since Zephyr persists subscriptions across connects. * Remove keymap from peripheral builds, reduces firmware size, and avoids unneeded attempts to send HID data.
2020-09-13fix(bluetooth): Log when clearing on start.Pete Johanson
2020-09-13fix(bluetooth): Delete any previously stored name.Pete Johanson
2020-09-13fix(bluetooth): Kconfig to clear bonds on startPete Johanson
2020-09-13fix(bluetooth): Remove identity, minimal `bt`.Pete Johanson
* Simplify the `bt` behavior to one current command `BT_CLEAR_BONDS_CMD`. * Simplify BLE code for split and non-split keyboards. * Remove keymap processing from split peripheral side.
2020-09-13feat(bluetooth): Proper bond management, identity support for non-splitsPete Johanson
* Add `bt` behavior that can be used to perform certain actions, such as next/prev identity, reset identity, etc. NOTE: Multiple identities is only supported for non-split shields, due to missing Zephyr identity functionality for dual central/peripheral devices. * Proper bond reset tied to action, that honors peripheral bonds, so folks can reset and pair to other hosts, without breaking bonds between splt halves.
2020-09-10fix: Switch to single AUTHORS file.* Closes #164Pete Johanson
2020-08-18Merge pull request #99 from petejohanson/core/bluetooth-unpair-magic-comboPete Johanson
Add magic combo for unpairing BT devices on start.
2020-08-18fix(bluetooth): Stop peripheral half advertising once connected.Pete Johanson
2020-08-18feeature(bt): Add "unpair combo" on startup.Pete Johanson
* Especially for splits, we need the ability to unpair all paired devices as sledgehammer if we need to "reset things", and doing so via keymaps isn't suitable. * Allows shields to define a collection of key positions that if all held 2 seconds after startup, will unpair all existing pairs for the device.
2020-08-18Add missing license header.Pete Johanson
2020-08-16Create proper fix for split default conn bugNick
2020-08-14Remove use of printk.Pete Johanson
2020-08-05Add if block and param req callback commentNick
2020-08-03Remove updated callbackNick
2020-08-02Add two solutions to param updatesNick
2020-08-02Fix variable name in peripheral PHY updateNick
2020-08-02Fix interval update, add PHY updateNick
2020-07-21Fixes for BLE host connections w/ split support.Pete Johanson
2020-07-19Update connectin params once we're connected to.Pete Johanson
2020-07-17Working BT settings.Pete Johanson
2020-07-17Lots of work on split peripheral/central logic.Pete Johanson
2020-07-17Initial work on split central support.Pete Johanson
2020-07-17Initial exploration of split BLE service.Pete Johanson
* Service for split peripheral to report position state to split central. * Updated advertising info. * Behavior for split BT until we have a proper event system.
2020-07-07Use SYS_INIT for BLE and USB init.Pete Johanson
2020-06-21Clean up after refactor, better HID constants.Pete Johanson
2020-06-08Move Zephyr app into subdirectory.Pete Johanson