Searched refs:bt_mesh_blob_srv (Results 1 – 12 of 12) sorted by relevance
/Zephyr-latest/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 | 54 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-latest/subsys/bluetooth/mesh/ |
D | blob_srv.c | 17 LOG_MODULE_REGISTER(bt_mesh_blob_srv); 44 static void cancel(struct bt_mesh_blob_srv *srv); 45 static void suspend(struct bt_mesh_blob_srv *srv); 47 static inline uint32_t block_count_get(const struct bt_mesh_blob_srv *srv) in block_count_get() 53 static inline uint32_t max_chunk_size(const struct bt_mesh_blob_srv *srv) in max_chunk_size() 59 static inline uint32_t max_chunk_count(const struct bt_mesh_blob_srv *srv) in max_chunk_count() 77 static void store_state(const struct bt_mesh_blob_srv *srv) in store_state() 91 static void erase_state(struct bt_mesh_blob_srv *srv) in erase_state() 100 static int io_open(struct bt_mesh_blob_srv *srv) in io_open() 109 static void io_close(struct bt_mesh_blob_srv *srv) in io_close() [all …]
|
D | blob.h | 72 #define BLOB_BLOCK_REPORT_STATUS_MSG_MAXLEN sizeof(((struct bt_mesh_blob_srv *)0)->block.missing) 73 #define BLOB_BLOCK_STATUS_MSG_MAXLEN (5 + sizeof(((struct bt_mesh_blob_srv *)0)->block.missing)) 76 #define BLOB_XFER_STATUS_MSG_MAXLEN (17 + sizeof(((struct bt_mesh_blob_srv *)0)->state.blocks))
|
D | dfu_srv.c | 515 static void blob_suspended(struct bt_mesh_blob_srv *b) in blob_suspended() 523 static void blob_end(struct bt_mesh_blob_srv *b, uint64_t id, bool success) in blob_end() 539 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-latest/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->rt->user_data, in cmd_rx() 551 err = bt_mesh_blob_srv_cancel((struct bt_mesh_blob_srv *)mod_srv->rt->user_data); in cmd_rx_cancel()
|
/Zephyr-latest/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-latest/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-latest/tests/bluetooth/tester/src/ |
D | btp_mesh.c | 4714 struct bt_mesh_blob_srv *srv = &dfd_srv.upload.blob; in blob_srv_recv() 4716 struct bt_mesh_blob_srv *srv = &dfu_srv.blob; in blob_srv_recv() 4753 struct bt_mesh_blob_srv *srv = &dfu_srv.blob; in blob_srv_cancel() 4755 struct bt_mesh_blob_srv *srv = &dfd_srv.upload.blob; in blob_srv_cancel()
|