Set Anti-Lost Mode

Function Table: supportSetAntilost

Flutter Example:

/// Set Lost Find Event
setLostFind(
  evtBase: _VBusEvtBase.base_app_set,
  evtType: _VBusEvtType.app_set_lost_find),

/// Set Lost Find
libManager.send(evt: CmdEvtType.setLostFind, json: jsonEncode(json));

JSON Fields Sent by the App:

Field Name Field Type Field Description
mode int Mode
0: No anti-lost
1: Close-range anti-lost
2: Medium-range anti-lost
3: Long-range anti-lost

Example:

{
  "mode": 0
}

JSON Field Received by the App:

Field Name Field Type Field Description
status_code int 0: Success, non-zero: Error code

Example:

{
  "status_code": 0
}
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 ""