JS::BLE::GATT::Device class of PicoRuby
Singleton methods
new
JS::BLE::GATT::Device.new(JS::Object js_device) -> void
Instance methods
connect
instance.connect() -> JS::BLE::GATT::Server?
connected?
instance.connected?() -> bool
disconnect
instance.disconnect() -> void
on_disconnected
instance.on_disconnected() { () -> void } -> void
Attr accessors
js_device (reader)
instance.js_device -> JS::Object
name (reader)
instance.name -> String?