Home
last modified time | relevance | path

Searched refs:streamer (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/subsys/mgmt/mcumgr/smp/src/
Dsmp.c107 static inline int smp_write_hdr(struct smp_streamer *streamer, const struct smp_hdr *src_hdr) in smp_write_hdr() argument
109 memcpy(streamer->writer->nb->data, src_hdr, sizeof(*src_hdr)); in smp_write_hdr()
113 static int smp_build_err_rsp(struct smp_streamer *streamer, const struct smp_hdr *req_hdr, in smp_build_err_rsp() argument
117 struct cbor_nb_writer *nbw = streamer->writer; in smp_build_err_rsp()
142 smp_write_hdr(streamer, &rsp_hdr); in smp_build_err_rsp()
274 static int smp_handle_single_req(struct smp_streamer *streamer, const struct smp_hdr *req_hdr, in smp_handle_single_req() argument
278 struct cbor_nb_writer *nbw = streamer->writer; in smp_handle_single_req()
298 rc = smp_handle_single_payload(streamer, req_hdr); in smp_handle_single_req()
300 *rsn = MGMT_CTXT_RC_RSN(streamer); in smp_handle_single_req()
308 *rsn = MGMT_CTXT_RC_RSN(streamer); in smp_handle_single_req()
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/
Dsmp.c114 struct smp_streamer streamer; in smp_process_packet() local
117 streamer = (struct smp_streamer) { in smp_process_packet()
123 rc = smp_process_request_packet(&streamer, nb); in smp_process_packet()
/Zephyr-latest/include/zephyr/mgmt/mcumgr/smp/
Dsmp.h107 int smp_process_request_packet(struct smp_streamer *streamer, void *req);
/Zephyr-latest/doc/connectivity/bluetooth/
Dbluetooth-tools.rst286 ``emulator avd YOUR_AVD -packet-streamer-endpoint default``