47f873b038
* GATT characteristic allowing passng data + behavior label to invoke the behavior on the peripheral side. * Behaviors have a locality setting to specify where they run. * Build reset/power/RGB on peripheral.
8 lines
No EOL
255 B
C
8 lines
No EOL
255 B
C
|
|
#pragma once
|
|
|
|
#include <bluetooth/addr.h>
|
|
#include <zmk/behavior.h>
|
|
|
|
int zmk_split_bt_invoke_behavior(const bt_addr_le_t *source, struct zmk_behavior_binding *binding,
|
|
struct zmk_behavior_binding_event event, bool state); |