Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/fcx_mldx5/
Dfcx_mldx5.c28 #define FCX_MLDX5_CMD_LEN 2 macro
33 (FCX_MLDX5_STX_LEN + FCX_MLDX5_CMD_LEN + FCX_MLDX5_CHECKSUM_LEN + FCX_MLDX5_ETX_LEN)
37 #define FCX_MLDX5_DATA_INDEX (FCX_MLDX5_CMD_INDEX + FCX_MLDX5_CMD_LEN)
132 strncmp(command_error, command_received, FCX_MLDX5_CMD_LEN) != 0) { in fcx_mldx5_frame_check_error()
164 } else if (strncmp(command, command_received, FCX_MLDX5_CMD_LEN) != 0) { in fcx_mldx5_frame_verify()
165 LOG_ERR("Expected command %s not %.*s", command, FCX_MLDX5_CMD_LEN, in fcx_mldx5_frame_verify()
175 FCX_MLDX5_CMD_LEN + fcx_mldx5_cmds_data_len[cmd]); in fcx_mldx5_frame_verify()
237 memcpy(&buf[FCX_MLDX5_CMD_INDEX], fcx_mldx5_cmds[cmd], FCX_MLDX5_CMD_LEN); in fcx_mldx5_uart_send()
243 FCX_MLDX5_CMD_LEN + cmd_data_len); in fcx_mldx5_uart_send()