class Bluetooth::LocalDevice

Defined in:

bluetooth/local_device.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def close #

[View source]
def connect(address : String) #

[View source]
def dev_id : Int32 #

[View source]
def disconnect #

[View source]
def le_scan(scan_time : Int32 = 0, max_results : Int32 = 254) : Hash(String, String) #

[View source]
def scan(scan_time : Int32 = 8, max_results : Int32 = 254) : Hash(String, String) #

[View source]
def socket : Int32 #

[View source]