Searched refs:bt_mesh_blob_srv (Results 1 – 12 of 12) sorted by relevance
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/mesh/ |
D | blob_srv.h | 23 struct bt_mesh_blob_srv; 65 int (*start)(struct bt_mesh_blob_srv *srv, struct bt_mesh_msg_ctx *ctx, 80 void (*end)(struct bt_mesh_blob_srv *srv, uint64_t id, bool success); 99 void (*suspended)(struct bt_mesh_blob_srv *srv); 107 void (*resume)(struct bt_mesh_blob_srv *srv); 125 int (*recover)(struct bt_mesh_blob_srv *srv, 131 struct bt_mesh_blob_srv { struct 176 int bt_mesh_blob_srv_recv(struct bt_mesh_blob_srv *srv, uint64_t id, argument 190 int bt_mesh_blob_srv_cancel(struct bt_mesh_blob_srv *srv); 199 bool bt_mesh_blob_srv_is_busy(const struct bt_mesh_blob_srv *srv); [all …]
|
D | shell.h | 51 extern struct bt_mesh_blob_srv bt_mesh_shell_blob_srv;
|
D | dfu_srv.h | 178 struct bt_mesh_blob_srv blob;
|
D | dfd_srv.h | 228 struct bt_mesh_blob_srv blob;
|
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/ |
D | blob_srv.c | 17 LOG_MODULE_REGISTER(bt_mesh_blob_srv); 45 static void cancel(struct bt_mesh_blob_srv *srv); 46 static void suspend(struct bt_mesh_blob_srv *srv); 48 static inline uint32_t block_count_get(const struct bt_mesh_blob_srv *srv) in block_count_get() 54 static inline uint32_t max_chunk_size(const struct bt_mesh_blob_srv *srv) in max_chunk_size() 61 static inline uint32_t max_chunk_count(const struct bt_mesh_blob_srv *srv) in max_chunk_count() 79 static void store_state(const struct bt_mesh_blob_srv *srv) in store_state() 93 static void erase_state(struct bt_mesh_blob_srv *srv) in erase_state() 102 static int io_open(struct bt_mesh_blob_srv *srv) in io_open() 111 static void io_close(struct bt_mesh_blob_srv *srv) in io_close() [all …]
|
D | blob.h | 58 #define BLOB_BLOCK_REPORT_STATUS_MSG_MAXLEN sizeof(((struct bt_mesh_blob_srv *)0)->block.missing) 59 #define BLOB_BLOCK_STATUS_MSG_MAXLEN (5 + sizeof(((struct bt_mesh_blob_srv *)0)->block.missing)) 62 #define BLOB_XFER_STATUS_MSG_MAXLEN (17 + sizeof(((struct bt_mesh_blob_srv *)0)->state.blocks))
|
D | dfu_srv.c | 501 static void blob_suspended(struct bt_mesh_blob_srv *b) in blob_suspended() 509 static void blob_end(struct bt_mesh_blob_srv *b, uint64_t id, bool success) in blob_end() 525 static int blob_recover(struct bt_mesh_blob_srv *b, in blob_recover()
|
D | dfd_srv.c | 886 static int upload_start(struct bt_mesh_blob_srv *b, struct bt_mesh_msg_ctx *ctx, in upload_start() 893 static void upload_end(struct bt_mesh_blob_srv *b, uint64_t id, bool success) in upload_end() 913 static void upload_timeout(struct bt_mesh_blob_srv *b) in upload_timeout()
|
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/shell/ |
D | blob.c | 184 static int blob_srv_start(struct bt_mesh_blob_srv *srv, in blob_srv_start() 193 static void blob_srv_end(struct bt_mesh_blob_srv *srv, uint64_t id, in blob_srv_end() 212 struct bt_mesh_blob_srv bt_mesh_shell_blob_srv = { 533 err = bt_mesh_blob_srv_recv((struct bt_mesh_blob_srv *)mod_srv->user_data, in cmd_rx() 551 err = bt_mesh_blob_srv_cancel((struct bt_mesh_blob_srv *)mod_srv->user_data); in cmd_rx_cancel()
|
/Zephyr-Core-3.5.0/doc/connectivity/bluetooth/api/mesh/ |
D | blob_srv.rst | 34 static struct bt_mesh_blob_srv blob_srv = { 98 .. doxygengroup:: bt_mesh_blob_srv
|
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/ |
D | test_blob.c | 189 static void blob_srv_suspended(struct bt_mesh_blob_srv *b) in blob_srv_suspended() 194 static void blob_srv_end(struct bt_mesh_blob_srv *b, uint64_t id, bool success) in blob_srv_end() 199 static int blob_srv_recover(struct bt_mesh_blob_srv *b, struct bt_mesh_blob_xfer *xfer, in blob_srv_recover() 206 static int blob_srv_start(struct bt_mesh_blob_srv *srv, struct bt_mesh_msg_ctx *ctx, in blob_srv_start() 212 static void blob_srv_resume(struct bt_mesh_blob_srv *srv) in blob_srv_resume() 229 static struct bt_mesh_blob_srv blob_srv = { .cb = &blob_srv_cb };
|
/Zephyr-Core-3.5.0/tests/bluetooth/tester/src/ |
D | btp_mesh.c | 4455 struct bt_mesh_blob_srv *srv = &dfu_srv.blob; in blob_srv_recv() 4457 struct bt_mesh_blob_srv *srv = &dfd_srv.upload.blob; in blob_srv_recv() 4494 struct bt_mesh_blob_srv *srv = &dfu_srv.blob; in blob_srv_cancel() 4496 struct bt_mesh_blob_srv *srv = &dfd_srv.upload.blob; in blob_srv_cancel()
|