JS::BLE::GATT::Characteristic class of PicoRuby

Singleton methods

new

JS::BLE::GATT::Characteristic.new(JS::Object js_char) -> void

Instance methods

on_change

instance.on_change() { (String data) -> void } -> void

read

instance.read() -> String?

start_notify

instance.start_notify() -> void

stop_notify

instance.stop_notify() -> void

write

instance.write(String data, ?without_response: bool) -> void

Attr accessors

js_char (reader)

instance.js_char -> JS::Object
Tags: class