{IDO Function Table Interface Specification}

1. Overview

Provides the ability to query the status of the function table, refresh the function table, and clear the function table.

2. Interface Abilities

1. Refresh Function Table:

1.1 Summary:

Get the device function table and refresh the local function table.

1.2 API ID:

Future<IDOFunctionTable?> refreshFuncTable();

1.3 API Parameters:

@return Function table, null if failed to fetch.

2. Clear Function Table:

2.1 Summary:

None.

2.2 API ID:

void cleanDataOnMemory() {
  _ft = null;
}

2.3 API Parameters:

None

3. Export Function Table:

3.1 Summary:

Export the function table information to a text file in the storage root directory </xx/../ido_sdk/devices/{macAddress}/>, with the name func_table.json

3.2 API ID:

Future<String?> exportFuncTableFile();

3.3 API Parameters:

@return Absolute path of the func_table.json file, null if export fails.

4. Query Status of a Function Table:

4.1 Summary:

Query the status of a specific function table, false for off, true for on.

4.2 API ID:

class BaseFunctionTable {
  ...
}

4.3 API Parameters:

@return Function table status, bool type, false for off, true for on. Translate Chinese in the text to English, do not change the structure of other parts.

Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by GitbookModify Date: 2025-04-30 09:32:44

results matching ""

    No results matching ""