blob: 2fba1ec64ad7d55e0dcc770a36f434845ec51ea7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- Properties and functions for handling Bluetooth connectivity
-- @module bluetooth
local bluetooth = {}
--- Whether or not the Bluetooth stack is currently enabled. This property is writeable, and can be used to enable or disable Bluetooth.
-- @treturn types.Property a boolean property
function bluetooth.enabled() end
--- Whether or not there is an active connection to another Bluetooth device.
-- @treturn types.Property a boolean property
function bluetooth.connected() end
return bluetooth
|