Lines Matching +full:specifier +full:- +full:space

2  * Copyright (c) 2016-2019 Intel Corporation
4 * SPDX-License-Identifier: Apache-2.0
9 * @brief App implementing 802.15.4 "serial-radio" protocol
11 * Application implementing 802.15.4 "serial-radio" protocol compatible
12 * with popular Contiki-based native border routers.
28 #define THREAD_PRIORITY K_PRIO_COOP(CONFIG_NUM_COOP_PRIORITIES - 1)
124 buf = net_buf_frag_last(pkt_curr->buffer); in slip_process_byte()
126 LOG_ERR("No more buf space: buf %p len %u", buf, buf->len); in slip_process_byte()
241 struct net_buf *buf = net_buf_frag_last(pkt->buffer); in process_data()
263 ret = radio_api->tx(ieee802154_dev, IEEE802154_TX_MODE_DIRECT, in process_data()
270 /* TODO: Implement re-transmissions if needed */ in process_data()
280 radio_api->set_channel(ieee802154_dev, chan); in set_channel()
285 struct net_buf *buf = net_buf_frag_last(pkt->buffer); in process_config()
313 uint8_t specifier; in rx_thread() local
316 buf = net_buf_frag_last(pkt->buffer); in rx_thread()
320 LOG_HEXDUMP_DBG(buf->data, buf->len, "SLIP >"); in rx_thread()
323 specifier = net_buf_pull_u8(buf); in rx_thread()
324 switch (specifier) { in rx_thread()
332 LOG_ERR("Unknown message specifier %c", specifier); in rx_thread()
342 size_t len = buf->len; in slip_buffer()
370 return sbuf - sbuf_orig; in slip_buffer()
383 len -= wrote; in try_write()
391 * TX - transmit to SLIP interface
407 buf = net_buf_frag_last(pkt->buffer); in tx_thread()
412 LOG_HEXDUMP_DBG(buf->data, buf->len, "SLIP <"); in tx_thread()
415 buf->len -= 2U; in tx_thread()
472 radio_api = (struct ieee802154_radio_api *)ieee802154_dev->api; in init_ieee802154()
480 radio_api->get_capabilities(ieee802154_dev)) { in init_ieee802154()
488 radio_api->filter(ieee802154_dev, true, in init_ieee802154()
494 radio_api->filter(ieee802154_dev, true, in init_ieee802154()
503 radio_api->filter(ieee802154_dev, true, in init_ieee802154()
511 radio_api->set_channel(ieee802154_dev, in init_ieee802154()
516 radio_api->start(ieee802154_dev); in init_ieee802154()