1.0.9 • Published 3 years ago
sct_local_api v1.0.9
Introduction
SCT TEST LOCAL API.
Getting Started
- npm install sct_local_api
Build and Test
- import { bike } from 'sct_local_api';
Contribute
commond(public functions): 1. setOnAuteConfiguratuihTest(arr, callback(data))):取得自動更新進度 a. arr:{'isFail':true} //自動Fail b. data:{'step':1, error:'H001', 'H002'} //step進度失敗時回傳false,並帶出error
setOnBatteryShutdown(arr, callback(data)):取得自動更新進度 a. arr:{'isFail':true} //自動Fail b. data:{'step':1, error:'H001', 'H002'} //step進度失敗時回傳false,並帶出error
getHmiMidAndFwVer(arr, callback):取得hmi的mid及fw version a. {'mid': H000001,'ver': H01}
getDriverMidAndFwVer(arr, callback):取得driver的mid及fw version a. {'mid': D000001,'ver': D01}
If you want to learn more about creating good readme files then refer the following guidelines. You can also seek inspiration from the below readme files: