View previous topic :: View next topic |
Author |
Message |
picdigger
Joined: 06 Apr 2009 Posts: 7
|
SNMP using CCS TCP stack 3.75 @CCS compiler V4.081 |
Posted: Mon Apr 06, 2009 5:47 am |
|
|
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
|
|
Posted: Wed Apr 08, 2009 8:12 am |
|
|
Has anybody used the SNMP stack by CCS and made it run? |
|
|
jamesjl
Joined: 22 Sep 2003 Posts: 52 Location: UK
|
|
Posted: Fri Oct 23, 2009 1:52 pm |
|
|
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
|
|
Posted: Tue Oct 27, 2009 10:28 pm |
|
|
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
|
|
Posted: Wed Oct 28, 2009 5:56 am |
|
|
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
|
|
Posted: Wed Oct 28, 2009 11:35 am |
|
|
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
|
|
Posted: Wed Oct 28, 2009 4:49 pm |
|
|
Bn,
thanks for the heads up.
J. |
|
|
|