Git Product home page Git Product logo

Comments (3)

trond-snekvik avatar trond-snekvik commented on August 16, 2024

Hi, this project does what you want, but with some restrictions. The power consumption is high, and you are only allowed to flood messages to all devices in the network. The mesh-solution attempts to synchronize a set of handle-value pairs across all devices in the system. A handle-value pair could represent various states in the system, like "Living room lights on/off" or "Refridgerator Temperature".

As a start, I would recommend that you run the LED_mesh example under /nRF51/Examples/, and get familiar with the api presented in /nRF51/rbc_mesh/rbc_mesh.h. Read the README, and accompanying files under the /docs/ folder. As a basis for your own application, use the template project at /nRF51/examples/Template project, and build from there.

from nrf51-ble-bcast-mesh.

strawhat5 avatar strawhat5 commented on August 16, 2024

Thanks for your guidance. I have started using this project since a while ago but I am stuck at one point.
I am currently experimenting on the BLE-Gateway-SDK7 example. I wanted to send my "Custom Data", so I inserted the "Manufacturer Data" in nrf_adv_conn.c. And, I flashed the "edited" BLE-Gateway-SDK7 on to my 1st nRF51422. Now, I wanted to read this Custom Data using my 2nd nRF51422 and make changes to it. So, how should I achieve this? I tried flashing the "unedited" BLE-Gateway-SDK7 on to my 2nd nRF51422, but I didn't know how to proceed further. Or, should I need to change something else in the BLE-Gateway-SDK7 project?

from nrf51-ble-bcast-mesh.

trond-snekvik avatar trond-snekvik commented on August 16, 2024

I hadn't seen your reply, sorry.
I would recommend that you read the structure document, which explains how you should interact with the framework. All nodes share the same data set, and will attempt to synchronize all variables across the mesh. They're also all allowed to read or update all of them through the API. When a node updates a value with rbc_mesh_value_set(), the rest of the nodes get an event from the framework, notifying them of the change. They can choose to act on these events (by turning on leds for instance) or just let them be, and store them in their local copy of the shared data set.

from nrf51-ble-bcast-mesh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.