Hello,
I have a question regarding enc28j60 library. I want to make a project in witch you send a e-mail to some user. My questions are:
Is SPI_Ethernet_UserTCP command only for http requests or is it general command in witch you can specify any protocol?
How do i specify IP adress of email server wich i send SMTP request to?
What port do i use and where do i specifiy it? (i think it doesnt matter as long as it is not normal port for example 7777)
Thanks in advance,
Marin
Help with enc28j60 lib
- marko.stankovic
- mikroElektronika team
- Posts: 108
- Joined: 18 Dec 2017 15:44
Re: Help with enc28j60 lib
Hi,
Function SPI_Ethernet_UserTCP is written for http requests, but the function has open source code and you can transform it for your protocol. The function defines that it only works for local port 80.
In the help of this function it says that the function source code is provided with appropriate example projects and the code should be adjusted by the user to achieve desired reply.
Best Regards,
Function SPI_Ethernet_UserTCP is written for http requests, but the function has open source code and you can transform it for your protocol. The function defines that it only works for local port 80.
In the help of this function it says that the function source code is provided with appropriate example projects and the code should be adjusted by the user to achieve desired reply.
Best Regards,
Marko Stankovic.
-
- Posts: 3
- Joined: 24 Dec 2017 17:13
Re: Help with enc28j60 lib
Hello,
Thank you for your answer, could you just help me with two other questions?
Do i only have to modify "SPI_Ethernet_UserTCP " function or do i need to modify anything else?
Where can i find the code of this function?
Thank you for your help,
Marin
Thank you for your answer, could you just help me with two other questions?
Do i only have to modify "SPI_Ethernet_UserTCP " function or do i need to modify anything else?
Where can i find the code of this function?
Thank you for your help,
Marin
- marko.stankovic
- mikroElektronika team
- Posts: 108
- Joined: 18 Dec 2017 15:44
Re: Help with enc28j60 lib
Hi,
You can download the example at next link https://libstock.mikroe.com/projects/vi ... ck-example
There you can find the code of this function
Best Regard,
You can download the example at next link https://libstock.mikroe.com/projects/vi ... ck-example
There you can find the code of this function
Best Regard,
Marko Stankovic.