Failed to implement UDP multicast with zephyr_0.9.0 on S32R41

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Failed to implement UDP multicast with zephyr_0.9.0 on S32R41

899 次查看
JiangtongRadar
Contributor I

Project is based on "S32R41+TEF82xx_Development_Platform_v1.1".

Board is " S32R41 EVB and TEF82xx CAB".

Zephyr version is "SW32R41_AZ_2.7.2_0.9.0_HF01_D2302". 

It seemed there is no proper API  and examples for multicast implementation with zephyr. So how to  deal with UDP mutlicast function?

0 项奖励
回复
4 回复数

852 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

S32R41 is just a platform that supports Zephyr.

For specific software drivers, please check the zephyr forum.

Here you can see that the zsock_sendto function is supported in version 2.7.2

petervlna_0-1745311475416.png

petervlna_2-1745311509970.png

 

https://docs.zephyrproject.org/2.7.2/reference/networking/ethernet.html?highlight=net_eth_ipv4_mcast...

Best regards,

Peter

 

 

0 项奖励
回复

812 次查看
JiangtongRadar
Contributor I

Hello Peter,

Thanks for your reply.

At moment, the multicast sendto function works fine in my S32R41 platform. While still failed to receive multicast data. I think the main issue is how to add the multicast address into my socket. 

1) If use setsockopt() interface, there is no option as "IP_ADD_MEMBERSHIP" ;

2) If use net_ipv4_igmp_join() with CONFIG_NET_IPV4_IGMP enabled, still not work.

 

So do you have any suggestions for me?

 

Best regards

Jerry

0 项奖励
回复

789 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

From here we can see that this may be a zephyr os driver problem. It is recommended that customers consult the zephyr forum directly. The reference demo of R41 does use udp multicast mode, so no further suggestions can be given.

Best regards,

Peter

0 项奖励
回复

859 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Let me ask for clarification in RADAR team.

Best regards,

Peter

0 项奖励
回复