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.
13 lines
460 B
13 lines
460 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.
|
|
-- @see types.Property
|
|
bluetooth.enabled = types.Property
|
|
|
|
--- Whether or not there is an active connection to another Bluetooth device.
|
|
-- @see types.Property
|
|
bluetooth.connected = types.Property
|
|
|
|
return bluetooth
|
|
|