Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/examples/protocols/modbus/tcp/mb_tcp_slave/main/
Dtcp_slave.c79 static inline char* gen_id_str(char* service_name, char* slave_id_str) in gen_id_str() argument
81 sprintf(slave_id_str, "%s%02X%02X%02X%02X", service_name, MB_ID2STR(MB_DEVICE_ID)); in gen_id_str()
82 return slave_id_str; in gen_id_str()
/hal_espressif-3.4.0/examples/protocols/modbus/tcp/mb_tcp_master/main/
Dtcp_master.c232 static inline char* gen_id_str(char* service_name, char* slave_id_str) in gen_id_str() argument
234 sprintf(slave_id_str, "%s%02X%02X%02X%02X", service_name, MB_ID2STR(MB_DEVICE_ID)); in gen_id_str()
235 return slave_id_str; in gen_id_str()