Home
last modified time | relevance | path

Searched refs:device_commands (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/samples/net/secure_mqtt_sensor_actuator/src/
Ddevice.c36 struct device_cmd device_commands[] = { variable
41 const size_t num_device_commands = ARRAY_SIZE(device_commands);
47 if (strcmp(command, device_commands[i].command) == 0) { in device_command_handler()
48 LOG_INF("Executing device command: %s", device_commands[i].command); in device_command_handler()
49 return device_commands[i].handler(); in device_command_handler()