nRF Connect SDK API 2.8.0
Loading...
Searching...
No Matches
shell_bt_nus.h File Reference
#include <zephyr/shell/shell.h>
#include <zephyr/bluetooth/conn.h>
#include <bluetooth/services/nus.h>
#include <zephyr/sys/ring_buffer.h>

Go to the source code of this file.

Data Structures

struct  shell_bt_nus_ctrl_blk
 Instance control block (RW data). More...
 
struct  shell_bt_nus
 Instance structure. More...
 

Macros

#define SHELL_BT_NUS_DEFINE(_name, _tx_ringbuf_size, _rx_ringbuf_size)
 Macro for creating an instance of the module.
 

Functions

int shell_bt_nus_init (void)
 Initialize the NUS shell transport instance.
 
void shell_bt_nus_enable (struct bt_conn *conn)
 Enable the NUS shell transport instance.
 
void shell_bt_nus_disable (void)
 Disable the NUS shell transport instance.
 

Variables

const struct shell_transport_api shell_bt_nus_transport_api