orphe-core-insole - v0.4.0
GitHub
Preparing search index...
InsoleSessionCoreDevice
Interface InsoleSessionCoreDevice
OrpheCoreInsole のうちセッションが使う部分
interface
InsoleSessionCoreDevice
{
commands
:
unknown
;
firmware
?:
{
name
?:
string
|
null
}
|
null
;
id
:
number
;
lastAdvertisement
?:
unknown
;
profile
:
{
streaming_mode
?:
number
|
null
;
sensorParseOptions
?
()
:
InsoleParseOptions
;
}
;
transport
:
{
addAfterReconnectSuccessHook
(
hook
:
()
=>
unknown
)
:
()
=>
void
;
startNotify
(
uuid
:
string
)
:
Promise
<
unknown
>
;
stopNotify
(
uuid
:
string
)
:
Promise
<
unknown
>
;
}
;
begin
(
type
:
string
,
options
:
Record
<
string
,
unknown
>
)
:
Promise
<
unknown
>
;
isConnected
()
:
boolean
;
onRaw
(
listener
:
(
uuid
:
string
,
data
:
DataView
)
=>
void
)
:
()
=>
void
;
reset
()
:
void
;
}
Index
Properties
commands
firmware?
id
last
Advertisement?
profile
transport
Methods
begin
is
Connected
on
Raw
reset
Properties
Readonly
commands
commands
:
unknown
Optional
Readonly
firmware
firmware
?:
{
name
?:
string
|
null
}
|
null
Readonly
id
id
:
number
Optional
Readonly
last
Advertisement
lastAdvertisement
?:
unknown
Readonly
profile
profile
:
{
streaming_mode
?:
number
|
null
;
sensorParseOptions
?
()
:
InsoleParseOptions
;
}
Readonly
transport
transport
:
{
addAfterReconnectSuccessHook
(
hook
:
()
=>
unknown
)
:
()
=>
void
;
startNotify
(
uuid
:
string
)
:
Promise
<
unknown
>
;
stopNotify
(
uuid
:
string
)
:
Promise
<
unknown
>
;
}
Methods
begin
begin
(
type
:
string
,
options
:
Record
<
string
,
unknown
>
)
:
Promise
<
unknown
>
Parameters
type
:
string
options
:
Record
<
string
,
unknown
>
Returns
Promise
<
unknown
>
is
Connected
isConnected
()
:
boolean
Returns
boolean
on
Raw
onRaw
(
listener
:
(
uuid
:
string
,
data
:
DataView
)
=>
void
)
:
()
=>
void
Parameters
listener
:
(
uuid
:
string
,
data
:
DataView
)
=>
void
Returns
()
=>
void
reset
reset
()
:
void
Returns
void
Settings
Theme
OS
Light
Dark
On This Page
Properties
commands
firmware
id
last
Advertisement
profile
transport
Methods
begin
is
Connected
on
Raw
reset
GitHub
orphe-core-insole - v0.4.0
Loading...
OrpheCoreInsole のうちセッションが使う部分