TCP/IP Mikrobasic PIC Example I Need

General discussion on mikroBasic PRO for PIC.
Post Reply
Author
Message
dnaci
Posts: 21
Joined: 09 Apr 2012 18:10

TCP/IP Mikrobasic PIC Example I Need

#1 Post by dnaci » 14 Jul 2023 21:03

Hi,

I am using all of your ethernet libraries fine. By developing a little more, I can turn on and off the devices I want from the processor pinouts using the UDP protocol. And I'm getting port statuses as a response. I can check and get a response from the UDP menu of the Hercules program without any problems.

I did a study for TCP protocol. I control the processor pins by connecting with the Hercules program TCP CLIENT. But after checking, the connection drops. I have to reconnect and get no response from the processor. I am using PIC18F46K20 and PIC18F46K22 Processors.

Do you have a stable working Mikrobasic PIC TCP/IP code sample?

I checked the forum and Libstock. There are TCP/IP Mikroc examples. But I have Mikrobasic PIC license and I cannot use them.

I don't want to add my TCP code, it is already problematic. I would be glad if you help.

Thanks.
Attachments
hercules.PNG
hercules.PNG (17.62 KiB) Viewed 578 times

Firewire
Posts: 166
Joined: 20 Jun 2009 17:12

Re: TCP/IP Mikrobasic PIC Example I Need

#2 Post by Firewire » 15 Jul 2023 10:20

Have you ever looked in the sample programs installed with the compiler ?
Maybe there is something there.

dnaci
Posts: 21
Joined: 09 Apr 2012 18:10

Re: TCP/IP Mikrobasic PIC Example I Need

#3 Post by dnaci » 15 Jul 2023 10:58

@Firewire IDE examples have TCP example. I have worked with these examples. In these examples, HTTP TCP works as GET. I need connection based. I need to use it with Hercules program. Thank you for your interest.

User avatar
IvanJeremic
mikroElektronika team
Posts: 316
Joined: 05 Sep 2022 14:32

Re: TCP/IP Mikrobasic PIC Example I Need

#4 Post by IvanJeremic » 20 Jul 2023 13:34

Hi,

I believe one of my colleagues spoke with you in a ticket already.

Regards,

Ivan.

dnaci
Posts: 21
Joined: 09 Apr 2012 18:10

Re: TCP/IP Mikrobasic PIC Example I Need

#5 Post by dnaci » 24 Jul 2023 18:52

IvanJeremic wrote:
20 Jul 2023 13:34
Hi,

I believe one of my colleagues spoke with you in a ticket already.

Regards,

Ivan.
Hello Ivan. I did not receive a reply to my last email.

Post Reply

Return to “mikroBasic PRO for PIC General”