u_short get485devShort ( u_char src[sizeof(short)] )
return decode value
Prototyped in: | libutil.h |
int open_cli_sock ( const char* srvName, const char* srvPort )
Prototyped in: | libutil.h | |
Calls: | __assert13(), close(), connect(), err(), errx(), freeaddrinfo(), gai_strerror(), getaddrinfo(), memset(), perror(), socket() |
ssize_t readPacket ( int d, struct iovec iovec[NUM_e_packetCat], _Bool ntohF, _Bool readBlkF )
Prototyped in: | libutil.h | |
Calls: | __assert13(), __byte_swap_long_variable(), __byte_swap_word_variable(), fprintf(), fstat(), read(), recv(), usleep() |
int rs485_make_long_packet ( u_char* pcmdbuf, u_char flag, u_char address, u_char length, u_char count, const u_char* pdata )
Prototyped in: | libutil.h | |
Calls: | memcpy() |
size_t rs485_make_packet ( u_char* pcmdbuf, u_char id, u_char flag, u_char address, u_char length, u_char count, const u_char* pdata )
Prototyped in: | libutil.h | |
Calls: | memcpy() | |
Called by: | editLedDispReq() | libled.c |
editPwmSrvAng() | libservo.c | |
editSrvAng() | libservo.c | |
editSrvCmgn() | libservo.c | |
editSrvCslp() | libservo.c | |
editSrvParams() | libservo.c | |
editSrvPunch() | libservo.c | |
editSrvPwr() | libservo.c | |
editSrvRst() | libservo.c | |
editSrvTrq() | libservo.c |
u_short set485devShort ( u_char dst[sizeof(short)], u_short src )
return src value
Prototyped in: | libutil.h | |
Called by: | editSrvAng() | libservo.c |
editSrvParams() | libservo.c | |
editSrvPunch() | libservo.c |
struct timeval* usec2tv ( time_t usec, struct timeval* tv )
Prototyped in: | libutil.h |
ssize_t writePacket ( int d, __uint32_t seq, __uint16_t pri, __uint16_t cat, __uint16_t flg, __uint16_t datLen, void* dat, _Bool htonF )
Prototyped in: | libutil.h | |
Calls: | __byte_swap_long_variable(), __byte_swap_word_variable(), writev() |