10 years, 2 months ago.

Websocket example code problem.

I am trying to get the Cookbook Websocket Ethernet example working.

http://mbed.org/users/samux/code/Websocket_Ethernet_HelloWorld/

I get an error when importing the program.

The remote repositry doesn't exist:/Websocket_Ethernet_acc/mbed-rtos/rtos

The remote repositry doesn't exist:/Websocket_Ethernet_acc/mbed-rtos/rtx

Can anyone suggest ways to fix this? I have tried deleting and reloading the mbed-rtos library.

Thanks

2 Answers

10 years, 2 months ago.

Hello,

please use official demo http://mbed.org/teams/mbed/code/Websocket_Ethernet_HelloWorld/ or contact directly a maintainer, in this case it's Samuel as it's his repository.

Regards,
0xc0170

Narrab
poster
10 years, 2 months ago.

I have tried using this official demo as well and get the following errors. when trying to compile.

Error: A value of type "void *" cannot be used to initialize an entity of type "lpc_enetdata *" in "EthernetInterface/lwip-eth/arch/lpc17_emac.c", Line: 288, Col: 36 Error: A value of type "void *" cannot be used to initialize an entity of type "lpc_enetdata *" in "EthernetInterface/lwip-eth/arch/lpc17_emac.c", Line: 350, Col: 36 Error: A value of type "void *" cannot be assigned to an entity of type "eth_hdr *" in "EthernetInterface/lwip-eth/arch/lpc17_emac.c", Line: 499, Col: 9 Error: A value of type "void *" cannot be used to initialize an entity of type "lpc_enetdata *" in "EthernetInterface/lwip-eth/arch/lpc17_emac.c", Line: 649, Col: 36 Error: A value of type "void *" cannot be used to initialize an entity of type "lpc_enetdata *" in "EthernetInterface/lwip-eth/arch/lpc17_emac.c", Line: 813, Col: 39 Error: A value of type "void *" cannot be used to initialize an entity of type "lpc_enetdata *" in "EthernetInterface/lwip-eth/arch/lpc17_emac.c", Line: 834, Col: 39 Error: A value of type "void *" cannot be used to initialize an entity of type "lpc_enetdata *" in "EthernetInterface/lwip-eth/arch/lpc17_emac.c", Line: 884, Col: 36

Update the libs in the project, and that should be fixed (click on library, then there is an update button).

posted by Erik - 16 Mar 2014

Thank you Eric!

posted by Narrab 16 Mar 2014