/Zephyr-Core-2.7.6/samples/userspace/prod_consumer/ |
D | README.rst | 39 function with a fixed-sized data payload. 40 - App A callback function, in supervisor mode, places the data payload 43 When it wakes up, copy the data payload into a buffer allocated out 64 I:monitor thread got data payload #0 66 I:monitor thread got data payload #1 68 I:monitor thread got data payload #2 70 I:monitor thread got data payload #3 72 I:monitor thread got data payload #4 73 I:processing payload #1 complete 76 I:monitor thread got data payload #5 [all …]
|
/Zephyr-Core-2.7.6/subsys/logging/ |
D | log_msg.c | 160 cont_free(msg->payload.ext.next); in msg_free() 205 return msg->payload.ext.data.args[arg_idx]; in cont_arg_get() 209 cont = msg->payload.ext.next; in cont_arg_get() 217 return cont->payload.args[arg_idx]; in cont_arg_get() 230 arg = msg->payload.single.args[arg_idx]; in log_msg_arg_get() 267 next = &msg->payload.ext.next; in msg_alloc() 289 struct log_msg_cont *cont = msg->payload.ext.next; in copy_args_to_msg() 292 (void)memcpy(msg->payload.ext.data.args, args, in copy_args_to_msg() 297 (void)memcpy(msg->payload.single.args, args, in copy_args_to_msg() 305 (void)memcpy(cont->payload.args, args, in copy_args_to_msg() [all …]
|
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/openisa/lll/ |
D | lll_test.c | 205 uint8_t *payload; in ll_test_tx() local 221 payload = &pdu[2]; in ll_test_tx() 225 memcpy(payload, prbs9, len); in ll_test_tx() 229 memset(payload, 0x0f, len); in ll_test_tx() 233 memset(payload, 0x55, len); in ll_test_tx() 237 memcpy(payload, prbs15, len); in ll_test_tx() 241 memset(payload, 0xff, len); in ll_test_tx() 245 memset(payload, 0x00, len); in ll_test_tx() 249 memset(payload, 0xf0, len); in ll_test_tx() 253 memset(payload, 0xaa, len); in ll_test_tx()
|
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_test.c | 207 uint8_t *payload; in ll_test_tx() local 223 payload = &pdu[2]; in ll_test_tx() 227 memcpy(payload, prbs9, len); in ll_test_tx() 231 memset(payload, 0x0f, len); in ll_test_tx() 235 memset(payload, 0x55, len); in ll_test_tx() 239 memcpy(payload, prbs15, len); in ll_test_tx() 243 memset(payload, 0xff, len); in ll_test_tx() 247 memset(payload, 0x00, len); in ll_test_tx() 251 memset(payload, 0xf0, len); in ll_test_tx() 255 memset(payload, 0xaa, len); in ll_test_tx()
|
/Zephyr-Core-2.7.6/samples/net/sockets/coap_server/src/ |
D | coap-server.c | 213 uint8_t payload[40]; in piggyback_get() local 261 r = snprintk((char *) payload, sizeof(payload), in piggyback_get() 267 r = coap_packet_append_payload(&response, (uint8_t *)payload, in piggyback_get() 268 strlen(payload)); in piggyback_get() 335 const uint8_t *payload; in test_put() local 353 payload = coap_packet_get_payload(request, &payload_len); in test_put() 354 if (payload) { in test_put() 355 net_hexdump("PUT Payload", payload, payload_len); in test_put() 395 const uint8_t *payload; in test_post() local 413 payload = coap_packet_get_payload(request, &payload_len); in test_post() [all …]
|
/Zephyr-Core-2.7.6/include/logging/ |
D | log_msg.h | 146 } payload; /*!< Message data. */ member 155 } payload; member 383 msg->payload.single.args[0] = arg1; in log_msg_create_1() 412 msg->payload.single.args[0] = arg1; in log_msg_create_2() 413 msg->payload.single.args[1] = arg2; in log_msg_create_2() 444 msg->payload.single.args[0] = arg1; in log_msg_create_3() 445 msg->payload.single.args[1] = arg2; in log_msg_create_3() 446 msg->payload.single.args[2] = arg3; in log_msg_create_3()
|
/Zephyr-Core-2.7.6/samples/userspace/prod_consumer/src/ |
D | app_b.c | 38 void *payload; in processor_thread() local 57 payload = k_queue_get(&shared_queue_incoming, K_FOREVER); in processor_thread() 71 k_queue_alloc_append(&shared_queue_outgoing, payload); in processor_thread()
|
D | app_a.c | 83 void *payload; in monitor_entry() local 102 payload = sys_heap_alloc(&shared_pool, in monitor_entry() 104 if (payload == NULL) { in monitor_entry() 114 ret = k_msgq_get(&mqueue, payload, K_FOREVER); in monitor_entry() 132 k_queue_alloc_append(&shared_queue_incoming, payload); in monitor_entry()
|
/Zephyr-Core-2.7.6/tests/net/lib/mqtt_pubsub/src/ |
D | test_mqtt_pubsub.c | 30 static const uint8_t *payload; variable 112 if (payload_left != evt->param.publish.message.payload.len) { in publish_handler() 114 evt->param.publish.message.payload.len); in publish_handler() 124 if (memcmp(payload, buf, evt->param.publish.message.payload.len) in publish_handler() 349 payload_left = strlen(payload); in test_publish() 355 param.message.payload.data = (uint8_t *)payload; in test_publish() 356 param.message.payload.len = payload_left; in test_publish() 437 payload = payload_short; in test_mqtt_publish_short() 443 payload = payload_long; in test_mqtt_publish_long()
|
/Zephyr-Core-2.7.6/tests/net/lib/mqtt_publisher/src/ |
D | test_mqtt_publish.c | 22 char payload[] = "DOORS:OPEN_QoSx"; variable 153 payload[strlen(payload) - 1] = '0' + qos; in get_mqtt_payload() 155 return payload; in get_mqtt_payload() 193 param.message.payload.data = get_mqtt_payload(qos); in publish() 194 param.message.payload.len = in publish() 195 strlen(param.message.payload.data); in publish()
|
/Zephyr-Core-2.7.6/drivers/disk/ |
D | sdmmc_spi.c | 159 static int sdhc_spi_tx_cmd(struct sdhc_spi_data *data, uint8_t cmd, uint32_t payload) in sdhc_spi_tx_cmd() argument 163 LOG_DBG("cmd%d payload=%u", cmd, payload); in sdhc_spi_tx_cmd() 168 sys_put_be32(payload, &buf[1]); in sdhc_spi_tx_cmd() 261 uint8_t cmd, uint32_t payload) in sdhc_spi_cmd_r1_raw() argument 265 err = sdhc_spi_tx_cmd(data, cmd, payload); in sdhc_spi_cmd_r1_raw() 284 uint8_t cmd, uint32_t payload) in sdhc_spi_cmd_r1() argument 286 return sdhc_map_r1_status(sdhc_spi_cmd_r1_raw(data, cmd, payload)); in sdhc_spi_cmd_r1() 291 uint32_t payload) in sdhc_spi_cmd_r1_idle() argument 293 return sdhc_map_r1_idle_status(sdhc_spi_cmd_r1_raw(data, cmd, payload)); in sdhc_spi_cmd_r1_idle() 298 uint8_t cmd, uint32_t payload) in sdhc_spi_cmd_r2() argument [all …]
|
/Zephyr-Core-2.7.6/samples/net/mqtt_publisher/src/ |
D | main.c | 219 static APP_BMEM char payload[30]; in get_mqtt_payload() local 221 snprintk(payload, sizeof(payload), "{d:{temperature:%d}}", in get_mqtt_payload() 224 static APP_DMEM char payload[] = "DOORS:OPEN_QoSx"; in get_mqtt_payload() 226 payload[strlen(payload) - 1] = '0' + qos; in get_mqtt_payload() 229 return payload; in get_mqtt_payload() 250 param.message.payload.data = get_mqtt_payload(qos); in publish() 251 param.message.payload.len = in publish() 252 strlen(param.message.payload.data); in publish()
|
/Zephyr-Core-2.7.6/subsys/net/l2/ppp/ |
D | pap.c | 23 uint8_t payload[] = { 5, 'b', 'l', 'a', 'n', 'k', in pap_config_info_add() local 27 pkt = net_pkt_alloc_with_buffer(ppp_fsm_iface(fsm), sizeof(payload), in pap_config_info_add() 33 (void)net_pkt_write(pkt, payload, sizeof(payload)); in pap_config_info_add()
|
/Zephyr-Core-2.7.6/drivers/ieee802154/ |
D | ieee802154_b91.c | 175 static void b91_set_tx_payload(uint8_t *payload, uint8_t payload_len) in b91_set_tx_payload() argument 187 memcpy(data.tx_buffer + B91_PAYLOAD_OFFSET, payload, payload_len); in b91_set_tx_payload() 256 uint8_t *payload; in b91_rf_rx_isr() local 280 payload = (uint8_t *)(data.rx_buffer + B91_PAYLOAD_OFFSET); in b91_rf_rx_isr() 284 (payload[B91_FRAME_TYPE_OFFSET] == B91_ACK_TYPE)) { in b91_rf_rx_isr() 292 if (b91_run_filter(payload) == false) { in b91_rf_rx_isr() 298 if (payload[B91_FRAME_TYPE_OFFSET] & B91_ACK_REQUEST) { in b91_rf_rx_isr() 299 b91_send_ack(payload[B91_DSN_OFFSET]); in b91_rf_rx_isr() 310 if (net_pkt_write(pkt, payload, length)) { in b91_rf_rx_isr()
|
D | ieee802154_nrf5.c | 436 static bool nrf5_tx_immediate(struct net_pkt *pkt, uint8_t *payload, bool cca) in nrf5_tx_immediate() argument 446 return nrf_802154_transmit_raw(payload, &metadata); in nrf5_tx_immediate() 449 static bool nrf5_tx_csma_ca(struct net_pkt *pkt, uint8_t *payload) in nrf5_tx_csma_ca() argument 458 return nrf_802154_transmit_csma_ca_raw(payload, &metadata); in nrf5_tx_csma_ca() 463 static bool nrf5_tx_at(struct net_pkt *pkt, uint8_t *payload, bool cca) in nrf5_tx_at() argument 476 ret = nrf_802154_transmit_raw_at(payload, in nrf5_tx_at() 494 uint8_t *payload = frag->data; in nrf5_tx() local 502 LOG_DBG("%p (%u)", payload, payload_len); in nrf5_tx() 505 memcpy(nrf5_radio->tx_psdu + 1, payload, payload_len); in nrf5_tx() 559 memcpy(payload, nrf5_radio->tx_psdu + 1, payload_len); in nrf5_tx()
|
/Zephyr-Core-2.7.6/samples/net/cloud/tagoio_http_post/src/ |
D | main.c | 46 (void)snprintf(ctx.payload, sizeof(ctx.payload), in collect_data()
|
D | sockets.c | 115 req.payload = ctx->payload; in tagoio_http_push() 116 req.payload_len = strlen(ctx->payload); in tagoio_http_push()
|
D | sockets.h | 11 uint8_t payload[TAGOIO_SOCKET_MAX_BUF_LEN]; member
|
/Zephyr-Core-2.7.6/doc/reference/networking/ |
D | can_isotp.rst | 20 This transport protocol extends the limited payload data size for classical 23 behavior. ISO-TP segments packets into small fragments depending on the payload 32 the entire payload data and additionally, the first few bytes of payload data.
|
/Zephyr-Core-2.7.6/subsys/bluetooth/host/ |
D | testing.c | 35 const void *payload, size_t payload_len) in bt_test_mesh_net_recv() argument 41 cb->mesh_net_recv(ttl, ctl, src, dst, payload, in bt_test_mesh_net_recv()
|
D | testing.h | 14 const void *payload, size_t payload_len);
|
/Zephyr-Core-2.7.6/samples/net/cloud/mqtt_azure/src/ |
D | main.c | 241 len = evt->param.publish.message.payload.len; in mqtt_event_handler() 291 char payload[] = "{id=123}"; in publish() local 299 param.message.payload.data = payload; in publish() 300 param.message.payload.len = strlen(payload); in publish()
|
/Zephyr-Core-2.7.6/tests/net/lib/coap/src/ |
D | main.c | 94 static const char payload[] = "payload"; in test_build_simple_pdu() local 114 r = coap_packet_append_payload(&cpkt, payload, sizeof(payload)); in test_build_simple_pdu() 127 zassert_equal(payload_len, sizeof(payload), "Invalid payload length"); in test_build_simple_pdu() 212 const uint8_t payload[] = "payload"; in test_parse_simple_pdu() local 236 zassert_equal(payload_len, sizeof(payload), "Invalid payload length"); in test_parse_simple_pdu() 449 uint8_t payload[32] = { 0 }; in prepare_block1_request() local 480 r = coap_packet_append_payload(req, payload, in prepare_block1_request() 610 uint8_t payload[64]; in prepare_block2_response() local 645 r = coap_packet_append_payload(rsp, payload, in prepare_block2_response() 795 char payload[] = "This is the payload"; in server_resource_1_get() local [all …]
|
/Zephyr-Core-2.7.6/tests/net/lib/mqtt_packet/src/ |
D | mqtt_packet.c | 374 .message.payload.data = (uint8_t *)"OK", 375 .message.payload.len = 2, 393 .message.payload.data = (uint8_t *)"OK", 394 .message.payload.len = 2, 412 .message.payload.data = (uint8_t *)"OK", 413 .message.payload.len = 2, 430 .message.payload.data = (uint8_t *)"OK", 431 .message.payload.len = 2, 779 memcpy(buf.end, param->message.payload.data, in eval_msg_publish() 780 param->message.payload.len); in eval_msg_publish() [all …]
|
/Zephyr-Core-2.7.6/samples/net/sockets/http_client/src/ |
D | main.c | 255 req.payload = "foobar"; in run_queries() 256 req.payload_len = strlen(req.payload); in run_queries() 275 req.payload = "foobar"; in run_queries() 276 req.payload_len = strlen(req.payload); in run_queries()
|