Fork of Tangara with customizations
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
tangara-fw/src/lua/stubs/bluetooth.lua

14 lines
503 B

--- 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