RING_BUF_DECLARE(_name##_tx_ringbuf, _tx_ringbuf_size); \
RING_BUF_DECLARE(_name##_rx_ringbuf, _rx_ringbuf_size); \
.ctrl_blk = &_name##_ctrl_blk, \
.tx_ringbuf = &_name##_tx_ringbuf, \
.rx_ringbuf = &_name##_rx_ringbuf, \
}; \
struct shell_transport _name = { \
}
const struct shell_transport_api shell_bt_nus_transport_api
Instance control block (RW data).
Definition shell_bt_nus.h:29
Instance structure.
Definition shell_bt_nus.h:37
Macro for creating an instance of the module.