Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth MESH sample apps with Herald integration #113

Open
adamfowleruk opened this issue Dec 30, 2021 · 0 comments
Open

Bluetooth MESH sample apps with Herald integration #113

adamfowleruk opened this issue Dec 30, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@adamfowleruk
Copy link
Contributor

Create basic MVP sample apps using Bluetooth MESH as:-

  • Bluetooth MESH basic relay node (standard sample, check it works and builds in our set up)
  • MESH + Herald LE Proxy node, with Beacon Server Model for each item on the network (translates to what is advertised over LE to the Herald devices)
  • MESH + USB 'modem', or direct Windows MESH app, to act as one of many controllers/coordinators that may provide additional services (E.g. date/time services) onto the MESH.

These samples with act as the basis for future standard apps around healthcare and location services.

@adamfowleruk adamfowleruk added the enhancement New feature or request label Dec 30, 2021
@adamfowleruk adamfowleruk added this to the v2.1 milestone Dec 30, 2021
@adamfowleruk adamfowleruk self-assigned this Dec 30, 2021
adamfowleruk added a commit to adamfowleruk/herald-for-cpp that referenced this issue Jan 15, 2022
Added basic MESH example
- MESH sample compiles and runs
- Links in Herald, but doesn't use Herald code live yet
- Some build flag enhancements for MESH
Signed-off-by: Adam Fowler <[email protected]>
adamfowleruk added a commit to adamfowleruk/herald-for-cpp that referenced this issue Apr 13, 2022
adamfowleruk added a commit to adamfowleruk/herald-for-cpp that referenced this issue Apr 13, 2022
adamfowleruk added a commit to adamfowleruk/herald-for-cpp that referenced this issue Apr 13, 2022
adamfowleruk added a commit to adamfowleruk/herald-for-cpp that referenced this issue Apr 13, 2022
adamfowleruk added a commit to adamfowleruk/herald-for-cpp that referenced this issue Apr 13, 2022
adamfowleruk added a commit to adamfowleruk/herald-for-cpp that referenced this issue Apr 14, 2022
Project now builds small enough for nRF52840DK
- Uses 160KB SRAM, 591KB Flash (With debug flags)
- Herald Beacon code running
- Herald scanning code running, but without provider configured yet
- Beacon advertising causing Mesh adverts to not show - investigate
Signed off by: Adam Fowler <[email protected]>
adamfowleruk added a commit to adamfowleruk/herald-for-cpp that referenced this issue Apr 15, 2022
adamfowleruk added a commit to adamfowleruk/herald-for-cpp that referenced this issue Apr 15, 2022
adamfowleruk added a commit to adamfowleruk/herald-for-cpp that referenced this issue Apr 19, 2022
Significant changes:-
- Added herald/mesh/modem_client.cpp/h and MeshModem class (shell only)
- Added herald/mesh/modem_rabbitmq.cpp/h to link MeshModem to RabbitMQ
- Added mesh_modem_rmq_adapter sample app to provide containerisable and locally runnable command link MeshModem to RabbitMQ link
- MeshModemRabbitMQAdapter compiles successfully
- Currently untested
Signed off by: Adam Fowler <[email protected]>
adamfowleruk added a commit to adamfowleruk/herald-for-cpp that referenced this issue Apr 19, 2022
Adapter Zephyr app working
- Connects to a real RabbitMQ server
- Connects to a real Herald Mesh Modem over USB tty (nRF52840DK)
- Configures the serial connection correctly
- Subscribes to RabbitMQ events and creates exchange/queue successfully
- Not yet added individual command support
Signed off by: Adam Fowler <[email protected]>
adamfowleruk added a commit to adamfowleruk/herald-for-cpp that referenced this issue Apr 23, 2022
adamfowleruk added a commit to adamfowleruk/herald-for-cpp that referenced this issue Apr 23, 2022
…sh on dongle.

Working samples on dongle
- Use nrf52840dongle_nrf52840 BOARD type
- Can programme Venue Beacon to Maker Diary nRF52840 MDK USB Dongle
- Venue Beacon works fine
- Can programme MESH Relay to same dongle
- Fails within 1 second of provisioning - likely a dk_prov incompatibility
- Need to create new, dummy (no OOB) provisioner for now as a placeholder
Signed off by: Adam Fowler <[email protected]>
adamfowleruk added a commit to adamfowleruk/herald-for-cpp that referenced this issue Apr 24, 2022
Refactored elements
- Primary first element is for Bluetooth SIG models only
- Second element is for presence server
- Added OnOff model to control activation of presence server
- Successfully compiles
Signed off by: Adam Fowler <[email protected]>
adamfowleruk added a commit to adamfowleruk/herald-for-cpp that referenced this issue Apr 24, 2022
Also added editorconfig files for spaces not tabs
Signed off by: Adam Fowler <[email protected]>
adamfowleruk added a commit to adamfowleruk/herald-for-cpp that referenced this issue Apr 25, 2022
Lots of code changes
- Added README files to all embedded apps
- Added Herald scanning back into relay app
- Encountered MPU bug sue to std::string
- Removed ALL uses of std::string in Herald - use -DCONFIG_HERALD_NO_STD_STRING
- Added herald/data/string_utils.h/cpp for DataString and DataStringStream classes
- Added aliases to stdlib when compiled with that instead (uses std::string)
- Compiles on Mac so far, with tests
- Have not fixed Hex String parsing issue for formatting (still buggy)
- Have not removed std::vector or std::map yet
- Updated file copyright end dates where changed
Signed off by: Adam Fowler <[email protected]>
adamfowleruk added a commit to adamfowleruk/herald-for-cpp that referenced this issue Apr 26, 2022
adamfowleruk added a commit to adamfowleruk/herald-for-cpp that referenced this issue Jul 18, 2022
@adamfowleruk adamfowleruk modified the milestones: v2.1, v2.2 Oct 15, 2022
adamfowleruk added a commit to adamfowleruk/herald-for-cpp that referenced this issue Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant