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
Communicate with socket from ENC28J60 to PC
Moderator: Benj
-
- Valued Contributor
- Posts: 654
- Joined: Fri Aug 19, 2016 2:09 pm
- Location: switzerland
- Has thanked: 182 times
- Been thanked: 179 times
- Contact:
Communicate with socket from ENC28J60 to PC
- Attachments
-
- Fc8_Leddriver_EFG144_1_test_socket1.fcfx
- (54.21 KiB) Downloaded 162 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Communicate with socket from ENC28J60 to PC
Hello,
The compilation errors seem to be coming from references to a DebugPrint component which doesn't seem to be in 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.
The compilation errors seem to be coming from references to a DebugPrint component which doesn't seem to be in the project.
Maybe it's just a component I don't have here or somehow it's been removed from 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
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Valued Contributor
- Posts: 654
- Joined: Fri Aug 19, 2016 2:09 pm
- Location: switzerland
- Has thanked: 182 times
- Been thanked: 179 times
- Contact:
Re: Communicate with socket from ENC28J60 to PC
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
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
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Communicate with socket from ENC28J60 to PC
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)
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)
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Valued Contributor
- Posts: 654
- Joined: Fri Aug 19, 2016 2:09 pm
- Location: switzerland
- Has thanked: 182 times
- Been thanked: 179 times
- Contact:
Re: Communicate with socket from ENC28J60 to PC
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
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