Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
noble
Descriptor
Class Descriptor
Hierarchy
EventEmitter
Descriptor
Index
Properties
name
type
uuid
Methods
addListener
emit
listeners
on
once
readValue
removeAllListeners
removeListener
setMaxListeners
toString
writeValue
Properties
public
name
:
string
public
type
:
string
public
uuid
:
string
Methods
public
addListener
(
event
:
string
, listener
:
Function
)
:
EventEmitter
Parameters
event:
string
listener:
Function
Returns
EventEmitter
public
emit
(
event
:
string
, args
?:
Array<any>
)
:
boolean
Parameters
event:
string
args?:
Array<any>
optional
Returns
boolean
public
listeners
(
event
:
string
)
:
Array<Function>
Parameters
event:
string
Returns
Array<Function>
public
on
(
event
:
string
, listener
:
Function
)
:
EventEmitter
Parameters
event:
string
listener:
Function
Returns
EventEmitter
public
on
(
event
:
""valueRead""
, listener
:
(error: string, data: NodeBuffer) => void
)
:
EventEmitter
Parameters
event:
""valueRead""
listener:
(error: string, data: NodeBuffer) => void
Returns
EventEmitter
public
on
(
event
:
""valueWrite""
, listener
:
(error: string) => void
)
:
EventEmitter
Parameters
event:
""valueWrite""
listener:
(error: string) => void
Returns
EventEmitter
public
once
(
event
:
string
, listener
:
Function
)
:
EventEmitter
Parameters
event:
string
listener:
Function
Returns
EventEmitter
public
readValue
(
callback
?:
(error: string, data: NodeBuffer) => void
)
Parameters
callback?:
(error: string, data: NodeBuffer) => void
optional
public
removeAllListeners
(
event
?:
string
)
:
EventEmitter
Parameters
event?:
string
optional
Returns
EventEmitter
public
removeListener
(
event
:
string
, listener
:
Function
)
:
EventEmitter
Parameters
event:
string
listener:
Function
Returns
EventEmitter
public
setMaxListeners
(
n
:
number
)
Parameters
n:
number
public
toString
(
)
:
string
Returns
string
public
writeValue
(
data
:
NodeBuffer
, callback
?:
(error: string) => void
)
Parameters
data:
NodeBuffer
callback?:
(error: string) => void
optional
Globals
NodeJS
assert
buffer
child_process
cluster
crypto
dgram
dns
domain
events
fs
http
https
net
noble
os
path
punycode
querystring
readline
repl
stream
string_decoder
tls
tty
url
util
vm
zlib
Advertisement
Characteristic
Descriptor
name
type
uuid
addListener
emit
listeners
on
once
readValue
removeAllListeners
removeListener
setMaxListeners
toString
writeValue
Peripheral
Service
on
startScanning
stopScanning