Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/mgmt/osdp/src/
Dosdp_pd.c438 cmd.comset.address = buf[pos++]; in pd_decode_command()
439 cmd.comset.baud_rate = buf[pos++]; in pd_decode_command()
440 cmd.comset.baud_rate |= buf[pos++] << 8; in pd_decode_command()
441 cmd.comset.baud_rate |= buf[pos++] << 16; in pd_decode_command()
442 cmd.comset.baud_rate |= buf[pos++] << 24; in pd_decode_command()
443 if (cmd.comset.address >= 0x7F || in pd_decode_command()
444 (cmd.comset.baud_rate != 9600 && in pd_decode_command()
445 cmd.comset.baud_rate != 19200 && in pd_decode_command()
446 cmd.comset.baud_rate != 38400 && in pd_decode_command()
447 cmd.comset.baud_rate != 115200 && in pd_decode_command()
[all …]
Dosdp_cp.c231 buf[len++] = cmd->comset.address; in cp_build_command()
232 buf[len++] = BYTE_0(cmd->comset.baud_rate); in cp_build_command()
233 buf[len++] = BYTE_1(cmd->comset.baud_rate); in cp_build_command()
234 buf[len++] = BYTE_2(cmd->comset.baud_rate); in cp_build_command()
235 buf[len++] = BYTE_3(cmd->comset.baud_rate); in cp_build_command()
/Zephyr-Core-3.5.0/include/zephyr/mgmt/
Dosdp.h199 struct osdp_cmd_comset comset; member