Set Respiration Rate Switch
Menu: setRespirationRate
Flutter Example:
/// Respiration rate switch setting event
setRRespiRateTurn(
evtBase: _VBusEvtBase.base_app_set,
evtType: _VBusEvtType.app_set_respi_rate_on_off),
/// Set respiration rate switch
libManager.send(evt: CmdEvtType.setRRespiRateTurn, json: jsonEncode(json));
JSON Fields Sent by the App:
Field Name | Field Type | Field Description |
---|---|---|
on_off | int | 0: Off 1: On |
Example:
{
"on_off": 1
}
JSON Fields Received by the App:
Field Name | Field Type | Field Description |
---|---|---|
err_code | int | 0 for success, non-zero for error |
Example:
{
"err_code": 0
}