Send Call Duration to Firmware

Flutter Example:

/// Event number for sending call duration to firmware after call connection is established
setNoticeCallTime(
  evtBase: _VBusEvtBase.base_app_set,
  evtType: _VBusEvtType.app_set_notice_call_time),

/// Send call duration to firmware after call connection is established
libManager.send(evt: CmdEvtType.setNoticeCallTime, json: jsonEncode(json));

JSON fields sent by the app:

Field Name Field Type Field Description
sec int Call duration in seconds

Example:

{
    "sec": 30
}

JSON fields received by the app:

Field Name Field Type Field Description
status_code int 0: Success
1: Failure, incorrect parameters

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 ""