Skip to main content
Every 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
Input Output

checkStatus

device.checkStatus Check whether a specified Bolt device is online Risk: read
Input Output

digitalRead

device.digitalRead Read the status of a digital pin on a specified Bolt device Risk: read
Input Output

digitalWrite

device.digitalWrite Set a digital pin HIGH or LOW on a specified Bolt device Risk: write
Input Output

Serial

read

serial.read Read incoming serial data from a Bolt device UART Risk: read
Input Output

write

serial.write Send ASCII serial data to a Bolt device over UART Risk: write
Input Output

writeRead

serial.writeRead Send serial data and read reply immediately on a Bolt device Risk: write
Input Output