Commit Graph

14 Commits

Author SHA1 Message Date
Michal Gorecki 8a01f72db5 apps: Allow stub/full implementation of packages in syscfg
Packages console, log and stats allow to choose stub or full
implementation. All apps had either stub or full implementation
hardwired in pkg.yml file. Now it can be easily overriden in target.
This also changes defunct setting
of CONSOLE_MODE to CONSOLE_IMPLEMENTATION in all apps.
2023-02-06 14:37:48 +01:00
Andrzej Kaczmarek e9a4a4fce2 apps: Update to new transport
We do not need depedency to nimble/transport, this is automatically
included by nimble/host.
2022-03-17 11:48:16 +01:00
Jerzy Kasenberg c13d0b478b apps: Remove controller direct dependency
Direct dependency on controller is incorrect when
controller runs on another core.
2022-01-18 11:07:35 +01:00
Jerzy Kasenberg 8c6f70425b apps: Update transport selection method
Transport package should not be included directly.
Instead, nimble/transport should be included and
BLE_HCI_TRANSPORT syscfg value should specify transport,
and this will include correct package.

This commit changes nimble/transport/ram to nimble/transport in
all applications that still have deprecated way of transport
selection.

Default value of BLE_HCI_TRANSPORT is ram so syscfg.yml for
targets does not need to be updated.
2021-12-17 14:12:46 +01:00
Krzysztof Kopyściński 489bb3a925 apps/blemesh: fix build after introducing return codes in models
This applies to both blemesh, blemesh_models_example_1 and
blemesh_models_example_2
2021-11-10 06:24:00 +01:00
Krzysztof Kopyściński 011dbfda65 mesh: Encapsulate feature config
Moves mesh feature configuration to a separate module, deprecating the
bt_mesh_cfg_srv structure. The initial values for the features should
now be enabled through KConfig, where new config entries have been added
for each feature.

This removes the upward dependency on the config server from the core
stack, and makes the config server a pure frontend for the configuration
states, as all spec mandated behavior around the feature states is now
encapsulated.

this is port of ad2fd44d7ad915e66765ba17ce53d4c5829a0efb
2021-01-12 14:05:19 +01:00
Krzysztof Kopyściński 78f95c5b7f mesh: replace zephyr integer types with C99 types
this is port of a1b77fd589dbe7284c17b029f251426a724abd47
2021-01-12 14:05:19 +01:00
Michał Narajowski 3a2f0dab95 nimble/mesh: Add support for log modules
This PR adds support for various log modules which is possible
thanks to modlog feature. With this feature we can specify
a logging level for each module separately which could have the
following advantages:

- Being able to filter out only the logs that we are interested in at
  the moment
- Controlling log level in runtime
- Improved readability if we start printing module name in log header
- Ability to use color-coded log messages by mapping module to a
  specific color
2019-11-26 09:51:50 +01:00
Vipul Rahane 7fa441c477 apps: Make corresponding MCUmgr changes 2019-09-26 13:13:24 -07:00
Michał Narajowski 83dff410f2 apps: Stop using ble_npl api
This api should only be used between the OS and Nimble. Apps should
use OS specific APIs.
2019-07-12 15:02:39 +02:00
Szymon Janc b8c2f9ab58 Fix license headers 2019-03-26 21:26:26 +01:00
Michał Narajowski e665d203e9 apps/blemesh_models_example_2: Sync with Zephyr
This patch combines all the changes made to this application in Zephyr.
It features a lot of improvements and updates.

With these changes some of the PTS Mesh Model testcases pass.
2019-02-18 10:17:37 +01:00
Andrzej Kaczmarek 536be17b66 Remove misleading comments from .yml files
These comments were added by some old version of newt and are never
updated after c&p so they are just misleading and unnecessary.
2018-10-19 11:49:05 +02:00
Michał Narajowski 5c058dd19e apps/blemesh_models_example_2: Add app with various models
This is a application demonstrating a Bluetooth mesh node in
which Root element has following models

- Generic OnOff Server
- Generic OnOff Client
- Generic Level Server
- Generic Level Client
- Generic Power OnOff Server
- Generic Power OnOff Setup Server
- Generic Power OnOff Client
- Light Lightness Server
- Light Lightness Setup Server
- Light Lightness Client
- Light CTL Server
- Light CTL Setup Server
- Light CTL Client
- Vendor Model

And Secondary element has following models

- Generic OnOff Server
- Generic OnOff Client
- Generic Level Server
- Generic Level Client
- Light CTL Temperature Server

Prior to provisioning, an unprovisioned beacon is broadcast that contains
a unique UUID. Each button controls the state of its
corresponding LED and does not initiate any mesh activity
2018-08-24 14:02:20 +02:00