Implement TCP/IP Send and Receive in Raspberry Pi
조회 수: 3 (최근 30일)
이전 댓글 표시
There is only UDP send and receive in Raspberry Pi. Do you think is it possible to implement TCP/IP send and receive for Raspberry Pi. Do you have the step how to do it? I would like to understand the complexity and implement it. I plan to use S Function builder to do it.
- Do you think is it visible to implement TCP/IP send and receive? Do you think the framework has limitation to do it by user?
- Is S Function builder project sufficient for this? What else do i need?
- How to change makefile setting for Raspeberry Pi. The default make file come with -D"_USE_TARGET_UDP_=" that enable UDP by default. How to change it? I did not see it from Matlab GUI option to disable it.
- I am thinking to disable -D"_USE_TARGET_UDP_=" in the makefile and supply a customize "libmwnetworkdevice.so" as call in the code HostLib_Network.c
- If i want to add or change in HostLib_Network.c, how to do it? because this file is generate by default.
댓글 수: 0
답변 (1개)
Murat Belge
2013년 7월 24일
I believe most of your questions are answered in Giampiero Campa "Device Drivers" submission to MATLAB File Exchange. If you did not already, download this FEX submission and read the guide.
1. It is possible to implement TCP/IP blocks for Raspberry Pi. I am not aware of any limitations. 2. Yes. 3. You do not need to change the makefile. This flag will not affect the TCP/IP blocks you develop. Do not touch HostLib_Network.c. These files are there only for UDP. If there are no UDP blocks in a Simulink model, they are not used. 4. Don't. No need for it. 5. See 4.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Development Computer Setup에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!