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.
12 lines
677 B
12 lines
677 B
--- @meta
|
|
|
|
--- The 'bluetooth' module contains Properties and functions for interacting
|
|
--- with the device's Bluetooth capabilities.
|
|
--- @class bluetooth
|
|
--- @field enabled Property Whether or not the Bluetooth stack is currently enabled. This property is writeable, and can be used to enable or disable Bluetooth.
|
|
--- @field connected Property Whether or not there is an active connection to another Bluetooth device.
|
|
--- @field paired_device Property The device that is currently paired. The bluetooth stack will automatically connected to this device if possible.
|
|
--- @field devices Property Devices nearby that have been discovered.
|
|
local bluetooth = {}
|
|
|
|
return bluetooth
|
|
|