It is currently 21 Oct 2018 13:12

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Help with enc28j60 lib
PostPosted: 24 Dec 2017 17:29 
Offline

Joined: 24 Dec 2017 17:13
Posts: 3
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


Top
 Profile  
 
PostPosted: 28 Dec 2017 10:49 
Offline
mikroElektronika team
User avatar

Joined: 18 Dec 2017 15:44
Posts: 108
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,

_________________
Marko Stankovic.


Top
 Profile  
 
PostPosted: 28 Dec 2017 19:01 
Offline

Joined: 24 Dec 2017 17:13
Posts: 3
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


Top
 Profile  
 
PostPosted: 05 Jan 2018 16:28 
Offline
mikroElektronika team
User avatar

Joined: 18 Dec 2017 15:44
Posts: 108
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,

_________________
Marko Stankovic.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: