Zephyr API Documentation  3.5.0
A Scalable Open Source RTOS
3.5.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
bt.h File Reference

Bluetooth L2 stack public header. More...

Go to the source code of this file.

Macros

#define NET_REQUEST_BT_ADVERTISE    (_NET_BT_BASE | NET_REQUEST_BT_CMD_ADVERTISE)
 
#define NET_REQUEST_BT_CONNECT    (_NET_BT_BASE | NET_REQUEST_BT_CMD_CONNECT)
 
#define NET_REQUEST_BT_SCAN    (_NET_BT_BASE | NET_REQUEST_BT_CMD_SCAN)
 
#define NET_EVENT_BT_SCAN_RESULT    (_NET_BT_EVENT | NET_EVENT_BT_CMD_SCAN_RESULT)
 
#define NET_REQUEST_BT_DISCONNECT    (_NET_BT_BASE | NET_REQUEST_BT_CMD_DISCONNECT)
 

Enumerations

enum  net_request_bt_cmd { NET_REQUEST_BT_CMD_ADVERTISE = 1 , NET_REQUEST_BT_CMD_CONNECT , NET_REQUEST_BT_CMD_SCAN , NET_REQUEST_BT_CMD_DISCONNECT }
 
enum  net_event_bt_cmd { NET_EVENT_BT_CMD_SCAN_RESULT = 1 }
 

Detailed Description

Bluetooth L2 stack public header.

Macro Definition Documentation

◆ NET_EVENT_BT_SCAN_RESULT

#define NET_EVENT_BT_SCAN_RESULT    (_NET_BT_EVENT | NET_EVENT_BT_CMD_SCAN_RESULT)

◆ NET_REQUEST_BT_ADVERTISE

#define NET_REQUEST_BT_ADVERTISE    (_NET_BT_BASE | NET_REQUEST_BT_CMD_ADVERTISE)

◆ NET_REQUEST_BT_CONNECT

#define NET_REQUEST_BT_CONNECT    (_NET_BT_BASE | NET_REQUEST_BT_CMD_CONNECT)

◆ NET_REQUEST_BT_DISCONNECT

#define NET_REQUEST_BT_DISCONNECT    (_NET_BT_BASE | NET_REQUEST_BT_CMD_DISCONNECT)

◆ NET_REQUEST_BT_SCAN

#define NET_REQUEST_BT_SCAN    (_NET_BT_BASE | NET_REQUEST_BT_CMD_SCAN)

Enumeration Type Documentation

◆ net_event_bt_cmd

Enumerator
NET_EVENT_BT_CMD_SCAN_RESULT 

◆ net_request_bt_cmd

Enumerator
NET_REQUEST_BT_CMD_ADVERTISE 
NET_REQUEST_BT_CMD_CONNECT 
NET_REQUEST_BT_CMD_SCAN 
NET_REQUEST_BT_CMD_DISCONNECT