Page 1 of 1

Communicate with socket from ENC28J60 to PC

Posted: Fri Jan 17, 2020 10:48 am
by stefan.erni
Hi Ben

The programpart with the "Webserver" is working nice.
I can commnunicate with a socket connection from a PC too. But not as a socket open/close connection, just as send back a string.
From the forum I found a samplecode for socket. Is this the correct way to use NetworkComms? What mean's status not Yet Supported?
I can not compiele to the chip anymore even the socket part is not yet includet.
regards

Stefan
Network.PNG
(20.42 KiB) Downloaded 319 times

Re: Communicate with socket from ENC28J60 to PC

Posted: Fri Jan 17, 2020 11:32 am
by Benj
Hello,

The compilation errors seem to be coming from references to a DebugPrint component which doesn't seem to be in the project.
Fc8_Leddriver_EFG144_1_test_socket1.c: In function 'FCM_Socket':
Fc8_Leddriver_EFG144_1_test_socket1.c:5958:46: error: expected expression before '%' token
Maybe it's just a component I don't have here or somehow it's been removed from the project?

Another cause of an error is this icon. Mainly because socket_buffer is declared as a byte array rather than a string and this is breaking the code generation behind the scenes.
Error.jpg
Error.jpg (6.78 KiB) Viewed 2581 times

Re: Communicate with socket from ENC28J60 to PC

Posted: Fri Jan 17, 2020 1:55 pm
by stefan.erni
Hi Ben


Thank you for the Infos. I can compile it now.
In the forum I found somthing about the ENC28J60. Is this still a problem?

http://www.matrixtsl.com/mmforums/viewt ... J60#p97073
Notsup.PNG
(21.59 KiB) Downloaded 307 times

Re: Communicate with socket from ENC28J60 to PC

Posted: Fri Jan 17, 2020 2:34 pm
by Benj
Hello,

Yes we have made progress with the ENC module but at the moment I beleive it is still not supported by the Network Comms component.

There's a table here we are trying to keep up to date.
https://www.matrixtsl.com/wiki/index.ph ... etworking)

Re: Communicate with socket from ENC28J60 to PC

Posted: Fri Jan 17, 2020 3:39 pm
by stefan.erni
Hi Ben

OK. I have to think about what I want to do with the modul. Maybe I have to take a new module or wait....
It would be nice to know which WiFi and LAN modules are planned for Flowcode 9.

Microchip has a new Board. On this board, there is an Ethernet PHY connector.
Will Flowcode support this physical layer Ethernet in the future?

https://eu.mouser.com/new/microchip/mic ... /#Bullet-1
PIC-Board.PNG
(539.78 KiB) Downloaded 294 times