Home
last modified time | relevance | path

Searched refs:model (Results 51 – 75 of 1024) sorted by relevance

12345678910>>...41

/Zephyr-latest/subsys/bluetooth/mesh/
Dop_agg.h22 int bt_mesh_op_agg_cli_send(const struct bt_mesh_model *model, struct net_buf_simple *msg);
24 int bt_mesh_op_agg_srv_send(const struct bt_mesh_model *model, struct net_buf_simple *msg);
Dcfg_cli.c51 static int comp_data_status(const struct bt_mesh_model *model, in comp_data_status() argument
88 static uint8_t state_status_u8(const struct bt_mesh_model *model, in state_status_u8() argument
114 static int beacon_status(const struct bt_mesh_model *model, in beacon_status() argument
120 status = state_status_u8(model, ctx, buf, OP_BEACON_STATUS); in beacon_status()
129 static int ttl_status(const struct bt_mesh_model *model, in ttl_status() argument
135 status = state_status_u8(model, ctx, buf, OP_DEFAULT_TTL_STATUS); in ttl_status()
144 static int friend_status(const struct bt_mesh_model *model, in friend_status() argument
150 status = state_status_u8(model, ctx, buf, OP_FRIEND_STATUS); in friend_status()
159 static int gatt_proxy_status(const struct bt_mesh_model *model, in gatt_proxy_status() argument
166 status = state_status_u8(model, ctx, buf, OP_GATT_PROXY_STATUS); in gatt_proxy_status()
[all …]
Dod_priv_proxy_cli.c70 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, val_rsp ? &rsp : NULL); in bt_mesh_od_priv_proxy_cli_get()
88 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, val_rsp ? &rsp : NULL); in bt_mesh_od_priv_proxy_cli_set()
104 cli->model = mod; in on_demand_proxy_cli_init()
Daccess.c134 const struct bt_mesh_model *model = &elem->models[j]; in bt_mesh_model_foreach() local
136 func(model, elem, false, i == 0, user_data); in bt_mesh_model_foreach()
140 const struct bt_mesh_model *model = &elem->vnd_models[j]; in bt_mesh_model_foreach() local
142 func(model, elem, true, i == 0, user_data); in bt_mesh_model_foreach()
245 const struct bt_mesh_model *model = &elem->models[j]; in bt_mesh_metadata_page_0_size() local
247 size += metadata_model_size(model, elem, false); in bt_mesh_metadata_page_0_size()
251 const struct bt_mesh_model *model = &elem->vnd_models[j]; in bt_mesh_metadata_page_0_size() local
253 size += metadata_model_size(model, elem, true); in bt_mesh_metadata_page_0_size()
330 const struct bt_mesh_model *model = &elem->models[j]; in bt_mesh_metadata_get_page_0() local
332 if (!model->metadata) { in bt_mesh_metadata_get_page_0()
[all …]
Dod_priv_proxy_srv.c111 static void od_priv_proxy_srv_reset(const struct bt_mesh_model *model) in od_priv_proxy_srv_reset() argument
118 static int od_priv_proxy_srv_settings_set(const struct bt_mesh_model *model, const char *name, in od_priv_proxy_srv_settings_set() argument
138 static void od_priv_proxy_srv_pending_store(const struct bt_mesh_model *model) in od_priv_proxy_srv_pending_store() argument
Dsol_pdu_rpl_cli.c124 return bt_mesh_msg_ackd_send(cli->model, ctx, &msg, in bt_mesh_sol_pdu_rpl_clear()
148 return bt_mesh_msg_send(cli->model, ctx, &msg); in bt_mesh_sol_pdu_rpl_clear_unack()
173 cli->model = mod; in sol_pdu_rpl_cli_init()
/Zephyr-latest/samples/sensor/sensor_shell/
DREADME.rst40 info :Get sensor info, such as vendor and model name, for all sensors.
69 **info**: prints vendor, model, and friendly name information for all sensors.
75 device name: apds9960@39, vendor: Avago Technologies, model: apds9960, friendly name: (null)
76 device name: mma8652fc@1d, vendor: NXP Semiconductors, model: fxos8700, friendly name: (null)
77 device name: ti_hdc@43, vendor: Texas Instruments, model: hdc, friendly name: (null)
78 device name: temp@4000c000, vendor: Nordic Semiconductor, model: nrf-temp, friendly name: (null)
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/
Dtrain_magic_wand_model.ipynb29 "# Train a gesture recognition model for microcontroller use"
39 …ognition model for [TensorFlow Lite for Microcontrollers](https://tensorflow.org/lite/microcontrol…
41 …"The model is designed to be used with [Google Colaboratory](https://colab.research.google.com).\n…
123 "# Download the data we will use to train the model\n",
206 "!python train.py --model CNN --person true"
218 … "The `train.py` script writes a model, `model.tflite`, to the training scripts' directory.\n",
220 …"In the following cell, we convert this model into a C++ source file we can use with TensorFlow Li…
236 "!xxd -i model.tflite > /content/model.cc\n",
238 "!cat /content/model.cc"
246 "name": "Train a gesture recognition model for microcontroller use",
DREADME.md5 The scripts in this directory can be used to train a TensorFlow model that
7 TensorFlow 2.0. The resulting model is less than 20KB in size.
10 model, and capturing your own training data.
31 notebook demonstrates how to train the model. It's the easiest way to get
53 There are two ways to train the model:
69 $ python train.py --model CNN --person false
82 $ python train.py --model CNN --person true
87 In the `--model` argument, you can can provide `CNN` or `LSTM`. The CNN
88 model has a smaller size and lower latency.
191 Finally, run the commands described earlier to train a new model.
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Daccess.h384 int (*const func)(const struct bt_mesh_model *model,
827 int (*const settings_set)(const struct bt_mesh_model *model,
843 int (*const start)(const struct bt_mesh_model *model);
857 int (*const init)(const struct bt_mesh_model *model);
869 void (*const reset)(const struct bt_mesh_model *model);
879 void (*const pending_store)(const struct bt_mesh_model *model);
975 int bt_mesh_model_send(const struct bt_mesh_model *model,
994 int bt_mesh_model_publish(const struct bt_mesh_model *model);
1004 static inline bool bt_mesh_model_pub_is_retransmission(const struct bt_mesh_model *model) in bt_mesh_model_pub_is_retransmission() argument
1006 return model->pub->count != BT_MESH_PUB_TRANSMIT_COUNT(model->pub->retransmit); in bt_mesh_model_pub_is_retransmission()
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Drpr_cli.rst6 The Remote Provisioning Client model is a foundation model defined by the Bluetooth
10 The Remote Provisioning Client model is introduced in the Bluetooth Mesh Protocol
12 This model provides functionality to remotely provision devices into a mesh network, and perform
14 :ref:`bluetooth_mesh_models_rpr_srv` model.
16 The Remote Provisioning Client model communicates with a Remote Provisioning Server model
17 using the device key of the node containing the target Remote Provisioning Server model instance.
19 If present, the Remote Provisioning Client model must be instantiated on the primary
63 Additionally, the Remote Provisioning Client model also supports extended scanning with the
104 :ref:`bluetooth_mesh_models_rpr_srv` model. This is provided through the Node Provisioning Protocol
Dcfg.rst10 configurator device with a :ref:`bluetooth_mesh_models_cfg_cli` model. Each
11 mesh node instantiates a :ref:`bluetooth_mesh_models_cfg_srv` model that the
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_suspend.c30 static int model_1_init(const struct bt_mesh_model *model);
31 static int model_2_init(const struct bt_mesh_model *model);
52 static int model_1_update(const struct bt_mesh_model *model) in model_1_update() argument
54 model->pub->msg->data[1]++; in model_1_update()
55 LOG_DBG("Model 1 publishing..., n: %d", model->pub->msg->data[1]); in model_1_update()
60 static int msg_handler(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in msg_handler() argument
148 static int model_1_init(const struct bt_mesh_model *model) in model_1_init() argument
150 bt_mesh_model_msg_init(model->pub->msg, TEST_MESSAGE_OP); in model_1_init()
151 net_buf_simple_add_u8(model->pub->msg, 1); in model_1_init()
156 static int model_2_init(const struct bt_mesh_model *model) in model_2_init() argument
Dtest_op_agg.c57 static int get_handler(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in get_handler() argument
78 return bt_mesh_model_send(model, ctx, &msg, NULL, NULL); in get_handler()
81 static int status_handler(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in status_handler() argument
96 static int dummy_vnd_mod_get(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in dummy_vnd_mod_get() argument
113 return bt_mesh_model_send(model, ctx, &msg, NULL, NULL); in dummy_vnd_mod_get()
/Zephyr-latest/drivers/gpio/
Dgpio_mcp23sxx.c116 #define GPIO_MCP23SXX_DEVICE(inst, num_gpios, open_drain, model) \ argument
117 static struct mcp23xxx_drv_data mcp##model##_##inst##_drvdata = { \
124 static struct mcp23xxx_config mcp##model##_##inst##_config = { \
141 DEVICE_DT_INST_DEFINE(inst, gpio_mcp23xxx_init, NULL, &mcp##model##_##inst##_drvdata, \
142 &mcp##model##_##inst##_config, POST_KERNEL, \
/Zephyr-latest/drivers/pinctrl/
DKconfig.gd3210 AF pin multiplexing model.
18 AFIO pin multiplexing model.
/Zephyr-latest/boards/raspberrypi/rpi_4b/
Drpi_4b.dts13 model = "Raspberry Pi 4 Model B";
14 compatible = "raspberrypi,4-model-b", "brcm,bcm2838";
/Zephyr-latest/boards/raspberrypi/rpi_5/
Drpi_5.dts13 compatible = "raspberrypi,5-model-b", "brcm,bcm2712";
14 model = "Raspberry Pi 5";
/Zephyr-latest/boards/arm/fvp_baser_aemv8r/doc/
Ddebug-with-arm-ds.rst58 Create a new model configuration
63 .. image:: images/create-new-model-configuration.jpg
65 :alt: Arm DS create new model configuration
70 2. Choose ``Launch and connect to specific model``, then ``Next >``.
73 .. image:: images/create-new-model-configuration_model-path.jpg
75 :alt: Arm DS create new model configuration: set model path
80 .. image:: images/create-new-model-configuration_model-use-V8R64-Generic.jpg
82 :alt: Arm DS create new model configuration: import
/Zephyr-latest/samples/modules/tflite-micro/tflm_ethosu/
DREADME.rst4 Run an inference using an optimized TFLite model on Arm Ethos-U NPU.
12 The sample application runs a model that has been downloaded from the
13 `Arm model zoo <https://github.com/ARM-software/ML-zoo>`_. This model has then
/Zephyr-latest/samples/modules/tflite-micro/tflm_ethosu/src/
Dinference_process.cpp113 const tflite::Model *model = ::tflite::GetModel(job.networkModel.data); in runJob() local
114 if (model->version() != TFLITE_SCHEMA_VERSION) { in runJob()
116 model->version(), TFLITE_SCHEMA_VERSION); in runJob()
124 tflite::MicroInterpreter interpreter(model, resolver, tensorArena, tensorArenaSize); in runJob()
/Zephyr-latest/samples/bluetooth/mesh_demo/src/
Dmain.c53 static void attention_on(const struct bt_mesh_model *model) in attention_on() argument
60 static void attention_off(const struct bt_mesh_model *model) in attention_off() argument
83 static int vnd_button_pressed(const struct bt_mesh_model *model, in vnd_button_pressed() argument
89 if (ctx->addr == bt_mesh_model_elem(model)->rt->addr) { in vnd_button_pressed()
/Zephyr-latest/drivers/sensor/st/lsm6dso/
Dlsm6dso.c873 #define LSM6DSO_DEVICE_INIT(inst, model) \ argument
877 &model##_data_##inst, \
878 &model##_config_##inst, \
914 #define LSM6DSO_CONFIG_SPI(inst, model) \ argument
916 STMEMSC_CTX_SPI(&model##_config_##inst.stmemsc_cfg), \
929 #define LSM6DSO_CONFIG_I2C(inst, model) \ argument
931 STMEMSC_CTX_I2C(&model##_config_##inst.stmemsc_cfg), \
943 #define LSM6DSO_DEFINE(inst, model) \ argument
944 static struct lsm6dso_data model##_data_##inst; \
945 static const struct lsm6dso_config model##_config_##inst = \
[all …]
/Zephyr-latest/boards/beagle/beaglev_fire/
Dbeaglev_fire_polarfire_u54_smp.dts5 model = "beagle,beaglev-fire";
Dbeaglev_fire_polarfire_u54.dts5 model = "beagle,beaglev-fire";

12345678910>>...41