![]() ![]() Is there something I am missing here? In the for loop, it should try to establish a connection until it succeeds, but it never actually manages to connect to something. ![]() VTaskDelay(1000) // To see the result easily in Comm OperatorĪs I can ping it, I don't think something is fundamentally wrong. Netconn_write(xNetConn, b_data, b_len, NETCONN_COPY) IP4_ADDR(&pc_ip, IP_ADDR0_PC, IP_ADDR0_PC, IP_ADDR2_PC, IP_ADDR3_PC) īind_err = netconn_bind ( xNetConn, &local_ip, TCP_PORT_NETCONN ) Ĭonnect_err = netconn_connect ( xNetConn, &pc_ip, TCP_PORT_NETCONN) STM32 Nucleo-144 development board with STM32F746ZG MCU, supports Arduino, ST Zio and morpho connectivity, NUCLEO-F746ZG Datasheet, NUCLEO-F746ZG circuit, NUCLEO-F746ZG data sheet : 2443, alldatasheet, Datasheet, Datasheet search site for Electronic Components and Semiconductors, integrated circuits, diodes, triacs, and other semiconductors. IP4_ADDR(&local_ip, IP_ADDR0_CLIENT, IP_ADDR1_CLIENT, IP_ADDR2_CLIENT, IP_ADDR3_CLIENT) Here is the code: static void tcpecho_client_thread(void const *arg) ![]() Both boards are assigned an IP via DHCP, but the address is always the same and matches with what I expect. The client implementation is causing me problems, as it can't seem to establish a connection to a TCP server. The server works fine, I can connect to it from Hercules and transfer data. Both of these implementations follow the provided examples. NUCLEO-F746ZG Datasheet See all Technical Docs 3.0 Write a Review Ask a Question Product Information Want to see similar products Simply select your required attributes below and hit the button × Silicon Manufacturer: STMicroelectronics No. To do this, one will run a client and the other will run a server. I want to transmit data between two boards using TCP. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |