Home
last modified time | relevance | path

Searched full:health (Results 1 – 25 of 58) sorted by relevance

123

/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dhealth_cli.h2 * @brief Health Client Model APIs.
16 * @brief Health Client Model
17 * @defgroup bt_mesh_health_cli Health Client Model
26 /** Health Client Model Context */
40 /** @brief Optional callback for Health Period Status messages.
42 * Handles received Health Period Status messages from a Health
45 * @param cli Health client that received the status message.
47 * @param divisor Health Period Divisor value.
52 /** @brief Optional callback for Health Attention Status messages.
54 * Handles received Health Attention Status messages from a Health
[all …]
Dhealth_srv.h2 * @brief Health Server Model APIs.
14 * @brief Health Server Model
15 * @defgroup bt_mesh_health_srv Health Server Model
27 /** Callback function for the Health Server model */
46 * @param model Health Server model instance to get faults of.
72 * @param model Health Server model instance to get faults of.
89 * @param model Health Server model instance to clear faults of.
98 * The Health server may support up to 256 self-tests for each Company
103 * @param model Health Server model instance to run test for.
120 * Health server instances on the device, the attention state should
[all …]
Dshell.h15 /** Maximum number of faults the health server can have. */
19 * A helper to define a health publication context for shell with the shell's
38 /** @brief External reference to health server */
41 /** @brief External reference to health server metadata */
44 /** @brief External reference to health client */
Dhealth_faults.h2 * @brief Health faults
14 * @brief List of specification defined Health fault values.
15 * @defgroup bt_mesh_health_faults Health faults
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dhealth_cli.rst3 Health Client
6 The Health Client model interacts with a Health Server model to read out
9 All message passing functions in the Health Client API have ``cli`` as
15 The Health Client model is optional, and may be instantiated on any element.
16 However, if a Health Client model is instantiated on an element other than the
Dhealth_srv.rst3 Health Server
6 The Health Server model provides attention callbacks and node diagnostics for
10 If present, the Health Server model must be instantiated on the primary element.
15 The Health Server model may report a list of faults that have occurred in the
38 device they're provisioning, as well as through the Health models at runtime.
41 seconds when enabled. The Health Server API provides two callbacks for the
57 Health faults
Dshell.rst263 Health Server Test
266 ``mesh test health-srv add-fault <FaultID>``
269 Register a new Health Server Fault for the Linux Foundation Company ID.
274 ``mesh test health-srv del-fault [FaultID]``
277 Remove registered Health Server faults for the Linux Foundation Company ID.
935 Health Client
938 The Health Client model is an optional mesh subsystem that can be enabled through the
940 module (``mesh models health``) inside the ``mesh models`` subcommand list. This module will work on
941 any instance of the Health Client model if the mentioned shell configuration options is enabled, and
942 as long as one or more Health Client model(s) is present in the model composition of the
[all …]
/Zephyr-latest/dts/bindings/rng/
Dst,stm32-rng.yaml33 The Health Register (health-test-config property) must correspond
37 health-test-magic:
40 Magic Number to be written to Health Test Configuration Register (HTCR)
43 health-test-config:
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dhealth.c24 shell_print(sh, "Health Test ID 0x%02x Company ID 0x%04x: no faults\n", test_id, in show_faults()
29 shell_print(sh, "Health Test ID 0x%02x Company ID 0x%04x Fault Count %zu:\n", test_id, cid, in show_faults()
63 shell_error(sh, "Failed to send Health Fault Get (err %d)", err); in cmd_fault_get()
97 shell_error(sh, "Failed to send Health Fault Clear (err %d)", err); in fault_clear()
107 shell_error(sh, "Health Fault Clear Unacknowledged failed (err %d)", err); in fault_clear()
150 shell_error(sh, "Failed to send Health Fault Test (err %d)", err); in fault_test()
160 shell_error(sh, "Health Fault Test Unacknowledged failed (err %d)", err); in fault_test()
190 shell_error(sh, "Failed to send Health Period Get (err %d)", err); in cmd_period_get()
192 shell_print(sh, "Health FastPeriodDivisor: %u", divisor); in cmd_period_get()
222 shell_error(sh, "Failed to send Health Period Set (err %d)", err); in period_set()
[all …]
DKconfig53 bool "Support for shell Health Server instance"
56 This option enables Health Server model instance in the
70 bool "Support for Health Client shell commands"
74 This option enables support of Health Client shell commands.
DCMakeLists.txt8 zephyr_library_sources_ifdef(CONFIG_BT_MESH_SHELL_HEALTH_CLI health.c)
/Zephyr-latest/samples/bluetooth/central_ht/
DREADME.rst2 :name: Health Thermometer (Central)
5 Connect to a Bluetooth LE health thermometer sensor and read temperature measurements.
11 application specifically looks for health thermometer sensor and reports the
/Zephyr-latest/samples/bluetooth/peripheral_ht/
DREADME.rst2 :name: Health Thermometer (Peripheral)
5 Expose a Health Thermometer (HT) GATT Service generating dummy temperature values.
11 application specifically exposes the HT (Health Thermometer) GATT Service.
Dprj.conf8 CONFIG_BT_DEVICE_NAME="Zephyr Health Thermometer"
Dsample.yaml3 description: Demonstrates the HT (Health Thermometer) GATT Service
/Zephyr-latest/drivers/charger/
Dcharger_bq24190.c105 static int bq24190_charger_get_health(const struct device *dev, enum charger_health *health) in bq24190_charger_get_health() argument
121 *health = CHARGER_HEALTH_COLD; in bq24190_charger_get_health()
126 *health = CHARGER_HEALTH_HOT; in bq24190_charger_get_health()
129 *health = CHARGER_HEALTH_UNKNOWN; in bq24190_charger_get_health()
132 *health = CHARGER_HEALTH_OVERVOLTAGE; in bq24190_charger_get_health()
143 *health = CHARGER_HEALTH_UNSPEC_FAILURE; in bq24190_charger_get_health()
146 *health = CHARGER_HEALTH_OVERHEAT; in bq24190_charger_get_health()
149 *health = CHARGER_HEALTH_SAFETY_TIMER_EXPIRE; in bq24190_charger_get_health()
152 *health = CHARGER_HEALTH_UNKNOWN; in bq24190_charger_get_health()
161 *health = CHARGER_HEALTH_OVERVOLTAGE; in bq24190_charger_get_health()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Dhealth_srv.c30 /* Health Server context of the primary element */
121 LOG_ERR("Unable to send Health Current Status response"); in health_fault_get()
169 LOG_ERR("Unable to send Health Current Status response"); in health_fault_clear()
224 LOG_ERR("Unable to send Health Current Status response"); in health_fault_test()
304 LOG_ERR("Unable to send Health Period Status"); in send_health_period_status()
396 * Health Current Status. in bt_mesh_health_srv_fault_update()
425 LOG_ERR("No Health Server context provided"); in health_srv_init()
430 LOG_ERR("Health Server has no publication support"); in health_srv_init()
458 LOG_WRN("No Health Server available"); in bt_mesh_attention()
/Zephyr-latest/drivers/pwm/
DKconfig.nrfx1 # Copyright (c) 2018, Cue Health Inc
/Zephyr-latest/include/zephyr/drivers/
Dcharger.h48 /** Represents the health of the charger. */
174 * battery health
185 * @brief Charger health conditions
190 /** Charger health condition is unknown */
192 /** Charger health condition is good */
277 enum charger_health health; member
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/provision/
Dpb_remote_reprovision.sh12 # 5. The provisioner configures the health server on the recently provisioned device and sends Node
/Zephyr-latest/samples/drivers/charger/src/
Dmain.c105 printk("Device \"%s\" health is %d\n", chgdev->name, val.health); in main()
/Zephyr-latest/samples/drivers/charger/
DREADME.rst23 health state and the implications the environment may have on the charge cycle execution. The
/Zephyr-latest/samples/sensor/bq274xx/
DREADME.rst23 - State of health measurement in percentage
/Zephyr-latest/samples/sensor/bq274xx/src/
Dmain.c122 printk("Failed to fetch State of Health\n"); in do_main()
134 printk("State of health: %d%%\n", state_of_health.val1); in do_main()
/Zephyr-latest/dts/arm/st/h7/
Dstm32h7a3.dtsi98 health-test-magic = <0x17590abc>;
99 health-test-config = <0x72ac>;

123