MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / setDeviceControlAllowed

Method setDeviceControlAllowed

app/src/AI/CommandRegistry.cpp:137–140  ·  view source on GitHub ↗

* @brief Toggles the device-control gate driven by AI::Assistant. */

Source from the content-addressed store, hash-verified

135 * @brief Toggles the device-control gate driven by AI::Assistant.
136 */
137void AI::CommandRegistry::setDeviceControlAllowed(bool allowed)
138{
139 m_deviceControlAllowed = allowed;
140}
141
142/**
143 * @brief Returns the names of all explicitly Safe commands.

Callers 2

AssistantMethod · 0.80
setAllowDeviceControlMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected