forked from kofal.net/zmk
feat(ble): Add security related tests.
* Add security related tests to verify behavior when trying to read a GATT characteristic from our peripheral with and without client auto security request/retry.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#include <behaviors.dtsi>
|
||||
#include <dt-bindings/zmk/bt.h>
|
||||
#include <dt-bindings/zmk/keys.h>
|
||||
#include <dt-bindings/zmk/kscan_mock.h>
|
||||
|
||||
&kscan {
|
||||
events =
|
||||
<ZMK_MOCK_PRESS(0,0,10000)
|
||||
ZMK_MOCK_RELEASE(0,0,2000)
|
||||
ZMK_MOCK_PRESS(0,1,100)
|
||||
ZMK_MOCK_RELEASE(0,1,1000)>;
|
||||
};
|
||||
|
||||
/ {
|
||||
keymap {
|
||||
compatible = "zmk,keymap";
|
||||
|
||||
default_layer {
|
||||
bindings = <
|
||||
&kp A &kp B
|
||||
&bt BT_SEL 0 &bt BT_SEL 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user