michal-narajowski opened a new pull request #148: apps/blemesh_onoff: Add example app implementing onoff models URL: https://github.com/apache/mynewt-nimble/pull/148 This application is specific to the Nordic nRF52840-PDK board. It supports the 4 buttons and 4 LEDs as mesh clients and servers. Prior to provisioning, a button inverts the state of the corresponding LED. The unprovisioned beacon uses the device address set by Nordic in the FICR as its UUID and is presumed unique. Button and LED 1 are in the root node. The 3 remaining button/LED pairs are in element 1 through 3. Assuming the provisioner assigns 0x100 to the root node, the secondary elements will appear at 0x101, 0x102 and 0x103. It's anticipated that after provisioning, the button clients would be configured to publish and the LED servers to subscribe. If a LED server is provided with a publish address, it will also publish its status on a state change. Messages from a button to its corresponding LED are ignored as the LED's state has already been changed locally by the button client. The buttons are debounced at a nominal 250ms. That value can be changed as needed.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
