This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
component:microcontroller:zh [2023/11/05 11:11] hfsr |
component:microcontroller:zh [2023/11/05 11:11] (current) hfsr [组件:微控制器] |
||
---|---|---|---|
Line 18: | Line 18: | ||
返回微控制器是否正在运行。 | 返回微控制器是否正在运行。 | ||
\\ | \\ | ||
- | - `isSideOpen(side: number): boolean` | + | - `isSideOpen(side: number): boolean` |
获取网络信息是否通过给定面发送。 | 获取网络信息是否通过给定面发送。 | ||
\\ | \\ | ||
- | - `lastError(): string` | + | - `lastError(): string` |
若可行,返回微控制器崩溃的原因。若未发生崩溃则返回`nil`。 | 若可行,返回微控制器崩溃的原因。若未发生崩溃则返回`nil`。 | ||
\\ | \\ | ||
- | - `stop(): boolean` | + | - `stop(): boolean` |
停止微控制器的运行。若其状态发生变化则返回`true`。 | 停止微控制器的运行。若其状态发生变化则返回`true`。 | ||