Function forbid_indication
pub fn forbid_indication(forbidden: bool) -> Result<()>Expand description
Forbids QMI indication.
This is used in example_lpm.c before entering and after leaving low power
mode, so it seems to have an effect on power consumption.
The underlying function exposes a mask, but it’s not clear what valid flags are. The aforementioned example only uses 0 and 1 and so we map it to a boolean here.
§Quectel Examples
API/api_test_main.c(shows the meaning of the mask)low_power_consume_app/example_lpm.c
§Implementation Notes
This function calls qmi_client_send_msg_sync.