# Mixing HTTPS and SNMP example

**URL:** <https://forums.digi.com/t/mixing-https-and-snmp-example/5446>\
**Category:** NET+OS\
**Created:** [August 12, 2009, 2:28pm UTC](https://forums.digi.com/t/mixing-https-and-snmp-example/5446 "2009-08-12T14:28:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![User883](https://avatars.discourse-cdn.com/v4/letter/u/e99b99/32.png) [@User883](https://forums.digi.com/u/User883)\
**Post date:** [August 12, 2009, 2:28pm UTC](https://forums.digi.com/t/mixing-https-and-snmp-example/5446/1 "2009-08-12T14:28:33Z")

</div>

Hi, I did 2 firmwares one is HTTPS based on example nahttps\_pd ,and the other is SNMP based on namib example.

Now I want to put them to work together.  
So I just copy the archives of HTTPS to SNMP firmware and changed root.c, but this isn’t work. The compiler didn’t recognize/find the includes required for HTTPS firmware (like ssl.h).

My question is: Is there a place where I can choose the type of application that I’ll use and the compiler/IDE includes the \*.h automatically?

On File-\>New-\>NET+OS Project there isn’t the option to start a new project with SNMP and HTTPS, there’s just the option HTTPS and others that I won’t use.

---

<div class="post-metadata">

**Author:** ![User883](https://avatars.discourse-cdn.com/v4/letter/u/e99b99/32.png) [@User883](https://forums.digi.com/u/User883)\
**Post date:** [August 12, 2009, 2:38pm UTC](https://forums.digi.com/t/mixing-https-and-snmp-example/5446/2 "2009-08-12T14:38:51Z")

</div>

Where is the option SNMP?

---

<div class="post-metadata">

**Author:** ![charliek](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@charliek](https://forums.digi.com/u/charliek)\
**Post date:** [August 15, 2009, 4:06am UTC](https://forums.digi.com/t/mixing-https-and-snmp-example/5446/3 "2009-08-15T04:06:51Z")

</div>

You have to build SNMP into your application (i.e. in root.c like in your SNMP example).

If you want to change the includes and libraries, you need to go to the NET+OS projects properties -\> NET+OS tab -\> see the library and include tabs.

---

<div class="post-metadata">

**Author:** ![User883](https://avatars.discourse-cdn.com/v4/letter/u/e99b99/32.png) [@User883](https://forums.digi.com/u/User883)\
**Post date:** [August 17, 2009, 6:06pm UTC](https://forums.digi.com/t/mixing-https-and-snmp-example/5446/4 "2009-08-17T18:06:54Z")

</div>

Thanks a lot charliek, I just included the library libsnmp.a and now everything is working fine.
