boltiot.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.
Device
analogRead
device.analogRead
Read the analog value (0-1023) from a specified pin on a Bolt device
Risk: read
Output
checkStatus
device.checkStatus
Check whether a specified Bolt device is online
Risk: read
Output
digitalRead
device.digitalRead
Read the status of a digital pin on a specified Bolt device
Risk: read
Output
digitalWrite
device.digitalWrite
Set a digital pin HIGH or LOW on a specified Bolt device
Risk: write
Output
Serial
read
serial.read
Read incoming serial data from a Bolt device UART
Risk: read
Output
write
serial.write
Send ASCII serial data to a Bolt device over UART
Risk: write
Output
writeRead
serial.writeRead
Send serial data and read reply immediately on a Bolt device
Risk: write
Output