CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

SNMP using CCS TCP stack 3.75 @CCS compiler V4.081

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
picdigger



Joined: 06 Apr 2009
Posts: 7

View user's profile Send private message

SNMP using CCS TCP stack 3.75 @CCS compiler V4.081
PostPosted: Mon Apr 06, 2009 5:47 am     Reply with quote

I want to make the SNMP client run for a custom hardware using the 10MB internal ethernet port of the 18F96J60. ARP, ICMP, DHCP are work well, so the toolchain itself should be OK.

I get a lot of compiler errors all in the snmp.c. It seems that they all depend on the define "_WIN32". Hence there is no example provided by CCS...

- Has anybody made the SNMP operate?
- Can anybody provide me an example or snipets how to start?
- What's about the define _WIN32? I can not find an explanation.
- What's the meaning of the windows.h, what should be inside, where will I get it from?

Any ideas will be highly appreciated.

Tnx,
Jens
picdigger



Joined: 06 Apr 2009
Posts: 7

View user's profile Send private message

PostPosted: Wed Apr 08, 2009 8:12 am     Reply with quote

Has anybody used the SNMP stack by CCS and made it run?
jamesjl



Joined: 22 Sep 2003
Posts: 52
Location: UK

View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger

PostPosted: Fri Oct 23, 2009 1:52 pm     Reply with quote

Did you ever get your question answered or did you manage to sort it out yourself? I'm looking at a new SNMP project and thought that the PIC would be a great way to do it, but not if there are stack implementation issues with CCS.

Regards,

Jason.
bkamen



Joined: 07 Jan 2004
Posts: 1615
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Tue Oct 27, 2009 10:28 pm     Reply with quote

I'm had the 3.75 stack working on a project here...

I did not implement SNMP.

The latest stack from MCHP is 5.1 and it is not yet converted to CCS. (it's a pain and I was working on it but am working on other fires right now.)

The 3.75 stack might be fine for you though... have you tried it out yet?

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
jamesjl



Joined: 22 Sep 2003
Posts: 52
Location: UK

View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger

PostPosted: Wed Oct 28, 2009 5:56 am     Reply with quote

No, not yet. Just trying to find the time to get all of the pieces together before I take a close look. Do you know which is the latest MCHP TCP/IP stack to be ported to CCS? Is it generally available to do I have to talk with CCS about getting hold of a copy?

I'll try and keep this thread updated with my progress but it will take a while.

Thanks,

J.
bkamen



Joined: 07 Jan 2004
Posts: 1615
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Wed Oct 28, 2009 11:35 am     Reply with quote

3.75 is what you get if you ask for the latest MCHP stack that's been "ported".

5.1 is the latest available from MCHP's website and I was working on porting it only to find what a royal pain it is. It's on hold for the moment at the request of my client.

There was 1 thing I found in 3.75 which MCHP says is a limitation of that version that has been resolved in 5.1:

If the stack has a received packet that's large and my code operates on part of the packet's contents, goes off to do something else and then comes back to finish up that packet, the tcp stack tells my code there is no additional packet data until more packets arrive. The data is still there. It's just not reported/delivered properly.

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
jamesjl



Joined: 22 Sep 2003
Posts: 52
Location: UK

View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger

PostPosted: Wed Oct 28, 2009 4:49 pm     Reply with quote

Bn,

thanks for the heads up.

J.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group