home
Basic | BrilliantSole JavaScript SDK
available devices
name:
type:
connect
connection
connect
reconnect
ip address:
connect via webSockets
reconnect on disconnection?
reset
device information
battery level:
is charging?
battery current:
update batteryCurrent
name:
new name:
set name
id:
mtu:
type:
new type:
set type
display
is display available?
status:
disable display
display information:
brightness:
100
%
opacity
100
%
fill color
line color
background color
line width
0
px
rotation
0
deg
vertical alignment
horizontal alignment
segment start cap
segment end cap
segment start radius
1
px
segment end radius
1
px
crop top
0
px
crop right
0
px
crop bottom
0
px
crop left
0
px
rotation crop top
0
px
rotation crop right
0
px
rotation crop bottom
0
px
rotation crop left
0
px
bitmap scale x
1
x
bitmap scale y
1
x
bitmap scale
1
x
x
100
px
y
100
px
width
100
px
height
100
px
radius
50
px
border radius
0
px
number of sides
3
end x
200
px
end y
100
px
start angle
0
deg
angle offset
90
deg
shape type
drawRect
drawCircle
drawRoundRect
drawEllipse
drawRegularPolygon
drawSegment
drawArc
drawArcEllipse
drawBitmap
draw shape
bitmap
number of colors
2
width
16
height
16
current bitmap color
image
quantize image
override display colors?
clear
sensor configuration:
0ms
5ms
10ms
20ms
40ms
100ms
1000ms
Pressure
reset pressure range
sensor data
vibration
add vibration
trigger vibrations
type
add segment
sequence loop count
add segment
trigger?
delete vibration
type
effect
delay
effect
delay
ms
loop count
delete segment
amplitude
duration
ms
delete segment
file transfer
file transfer type
file (max
0
kb)
file transfer direction
send
receive
send file
tflite
name:
new name:
set name
task:
new task:
set task
sample rate:
new sample rate:
set sample rate
sensor types
set sensor types
is ready?
threshold:
new threshold:
set threshold
capture delay:
new capture delay:
set capture delay
inferencing enabled?
enable inferencing
inference classes (newline separated - ignore idle)
inference:
wifi
is wifi available?
wifi ssid:
new wifi ssid:
set wifi ssid
wifi password:
new wifi password:
set wifi password
is wifi connection enabled?
toggle wifi connection
enable wifi connection
is wifi connected?
ip address
connect via webSockets
camera
is camera available?
status:
auto picture:
take picture
focus camera
sleep camera
camera configuration:
take picture after update?
white balance
microphone
is microphone available?
status:
start microphone
start microphone
stop microphone
enable microphone voice activity detection
start recording
microphone configuration:
stream
recording
auto play
firmware update
status:
firmware
upload firmware
firmware images:
test
confirm
erase
reset