Transmit Motion Icon Information and Notify Firmware of Status from the App

Flutter Example:

/// Event number for transmitting motion icon information and notifying firmware of status from the app
setNoticeIconInformation(
  evtBase: _VBusEvtBase.base_app_set,
  evtType: _VBusEvtType.app_app_to_ble_notcie_icon_informationg
),

/// Transmit motion icon information and notify firmware of status from the app
libManager.send(evt: CmdEvtType.setNoticeIconInformation, json: jsonEncode(json));

JSON fields sent by the app:

Field Name Field Type Field Description
states int 1: Start transmission
2: End transmission
icon_num int Number of icons for transmission

Example:

{
    "states": 0,
    "icon_num": 0
}

JSON fields received by the app:

Field Name Field Type Field Description
status int 0: Success
1: Failure

Example:

{
    "status": 1
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by GitbookModify Date: 2023-09-14 16:04:31

results matching ""

    No results matching ""