Morse Micro IoT SDK  2.11.2

Detailed Description

Functions

static enum mmagic_status mmagic_controller_get_mqtt_keepalive_s (struct mmagic_controller *controller, uint16_t *var)
 Gets keepalive_s setting for module mqtt. More...
 
static enum mmagic_status mmagic_controller_set_mqtt_keepalive_s (struct mmagic_controller *controller, uint16_t var)
 Sets keepalive_s setting for module mqtt. More...
 
static enum mmagic_status mmagic_controller_mqtt_commit_all (struct mmagic_controller *controller)
 Saves all settings from persistent store. More...
 

Function Documentation

◆ mmagic_controller_get_mqtt_keepalive_s()

static enum mmagic_status mmagic_controller_get_mqtt_keepalive_s ( struct mmagic_controller *  controller,
uint16_t *  var 
)
inlinestatic

Gets keepalive_s setting for module mqtt.

The period at which keep-alive messages are sent by the client

Parameters
controllerReference to the controller handle.
varReference to the uint16_t to place the received data in.
Returns
MMAGIC_STATUS_OK on success, else an error code.

Definition at line 6531 of file mmagic_controller.h.

◆ mmagic_controller_mqtt_commit_all()

static enum mmagic_status mmagic_controller_mqtt_commit_all ( struct mmagic_controller *  controller)
inlinestatic

Saves all settings from persistent store.

Parameters
controllerReference to the controller handle.
Returns
MMAGIC_STATUS_OK on success, else an error code.

Definition at line 6602 of file mmagic_controller.h.

◆ mmagic_controller_set_mqtt_keepalive_s()

static enum mmagic_status mmagic_controller_set_mqtt_keepalive_s ( struct mmagic_controller *  controller,
uint16_t  var 
)
inlinestatic

Sets keepalive_s setting for module mqtt.

The period at which keep-alive messages are sent by the client

Parameters
controllerReference to the controller handle.
varThe uint16_t to write.
Returns
MMAGIC_STATUS_OK on success, else an error code.

Definition at line 6568 of file mmagic_controller.h.