bl_iot_sdk/customer_app/bl602_demo_blemeshnode
Thomas Hebb 422a8da5c5 Respect MAX_MAKE_JOBS in new projects
commit f90cec631c ("limit amount of make jobs") in our fork added a
new environment variable check to all the genromap scripts to limit the
number of parallel jobs. Port this check onto the new projects added by
upstream in the latest merge.
2021-01-03 12:07:11 -08:00
..
bl602_demo_blemeshnode ble mesh node 2020-12-24 16:24:20 +08:00
genblemesh ble mesh node 2020-12-24 16:24:20 +08:00
genromap Respect MAX_MAKE_JOBS in new projects 2021-01-03 12:07:11 -08:00
logo.png ble mesh node 2020-12-24 16:24:20 +08:00
Makefile ble mesh node 2020-12-24 16:24:20 +08:00
proj_config.mk ble mesh node 2020-12-24 16:24:20 +08:00
README.md ble mesh node 2020-12-24 16:24:20 +08:00

Bluetooh mesh node demo user guide

This demo code button pin is IO12. Please add the following setting to corresponding dts file this node feature is " button" and mode is " multipress". this node will trigger three event , customer can set "press time" setting.

This mesh node default provision mode is PB-GATT. This demo has two button event:

  1. short press: enable unprovisioned advertising (PB-GATT).

  2. long press : reset node.

gpio2 {
    status = "okay";
    pin = <12>;
    feature = "button";
    active = "Hi";
    mode = "multipress";
    button {
        debounce = <10>;
        short_press_ms {
            start = <100>;
            end = <2000>;
            kevent = <2>;
        };
        long_press_ms {
            start = <3000>;
            end = <5000>;
            kevent = <3>;
        };
        longlong_press_ms {
            start = <10000>;
            kevent = <4>;
        };
        trig_level = "Lo";
    };
    hbn_use = "disable";
};