[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[savannah-help-public] [sr #108890] Regarding the brodcast issue in LWIP
From: |
Nilesh |
Subject: |
[savannah-help-public] [sr #108890] Regarding the brodcast issue in LWIP |
Date: |
Thu, 24 Sep 2015 10:24:09 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.99 Safari/537.36 |
Follow-up Comment #1, sr #108890 (project administration):
Please ignore previous message.
I an working with lpcopen_2_10_keil_iar_ea_devkit_1788 code.When I am
brodcast the data using net conn api.
lu8_udp_write=netconn_sendto(st_conn_udp, lst_buf,IP_ADDR_BROADCAST,50022);
its not going to broadcast the data in freertos code .I made some changes
like
#define IP_SOF_BROADCAST 0
#define IP_SOF_BROADCAST_RECV 0 in lwipoph.h
and
/* Enable packet reception */
#if IP_SOF_BROADCAST_RECV
Chip_ENET_EnableRXFilter(LPC_ETHERNET, ENET_RXFILTERCTRL_APE |
ENET_RXFILTERCTRL_ABE);
#else
Chip_ENET_EnableRXFilter(LPC_ETHERNET,ENET_RXFILTERCTRL_APE
|ENET_RXFILTERCTRL_ABE );
#endif
after that its worked in freertos.But I guess its not a good solution.Please
help me if is there any other method to enable the broadcast in netconn api.
thanks and regards
nilesh
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/support/?108890>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/