Documentation ¶
Index ¶
Constants ¶
View Source
const ( SOL_L2CAP = 6 L2CAP_LM = 3 L2CAP_LM_CENTRAL = 1 L2CAP_LM_RELIABLE = 16 )
Variables ¶
This section is empty.
Functions ¶
func ListenBLE ¶
ListenBLE creates a net.Listener that attempts to connect to pinecone-like BLE networks with the given service and PSM UUID. The pubkey parameter is added to the announcement and compared with discovered devices' announced pubkey to determine which should connect to the other, as done by the Matrix P2P app.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.