<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem in implementation of SNMP Protocol with LPC1768 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-in-implementation-of-SNMP-Protocol-with-LPC1768/m-p/1158290#M42361</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;As mentioned in subject, I am working on a project in which SNMP protocol is to be implemented. I have written a code for SNMP Protocol which is working fine with the LPC1768 controller board. I am able to receive all the data(string) which is sent from controller to PC using ethernet. These strings are written in MIB_STR() function of MIB Table,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for eg.&lt;/P&gt;&lt;P&gt;const MIB_ENTRY snmp_mib[] = {&lt;/P&gt;&lt;P&gt;/* ---------- System MIB ----------- */&lt;/P&gt;&lt;P&gt;/* SysDescr Entry */&lt;BR /&gt;{ MIB_OCTET_STR | MIB_ATR_RO,&lt;BR /&gt;8, {OID0(1,3), 6, 1, 2, 1, 1, 1, 0},&amp;nbsp;&lt;BR /&gt;MIB_STR("Hello World"),&amp;nbsp; //as this string i am not updating while execution of main function so it is working fine&lt;BR /&gt;NULL }&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;but when i am trying to update current values of parameters in place of string, it is not allowing to do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for eg.&lt;/P&gt;&lt;P&gt;const MIB_ENTRY snmp_mib[] = {&lt;/P&gt;&lt;P&gt;/* ---------- System MIB ----------- */&lt;/P&gt;&lt;P&gt;/* SysDescr Entry */&lt;BR /&gt;{ MIB_OCTET_STR | MIB_ATR_RO,&lt;BR /&gt;8, {OID0(1,3), 6, 1, 2, 1, 1, 1, 0},&amp;nbsp;&lt;BR /&gt;MIB_STR(Temp[1]),&amp;nbsp; //error: initializer element is not a compile-time constant&lt;BR /&gt;NULL }&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;Temperature values are saved in an array in ASCII format.&amp;nbsp;&lt;/P&gt;&lt;P&gt;so, I am planning to Copy the same MIB Table to RAM when controller starts execution of code &amp;amp; then i want controller to read MIB table from the specific RAM address area so, i can update Current values of parameters at respective RAM Address locations.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;may i know how to make controller to read from Specific RAM address location instead of&amp;nbsp; FLASH memory while execution of main function.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Has anyone encountered this issue or maybe even found a solution?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Pruthviraj Gidveer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Sep 2020 03:48:02 GMT</pubDate>
    <dc:creator>pvgidveer</dc:creator>
    <dc:date>2020-09-24T03:48:02Z</dc:date>
    <item>
      <title>Problem in implementation of SNMP Protocol with LPC1768</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-in-implementation-of-SNMP-Protocol-with-LPC1768/m-p/1158290#M42361</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;As mentioned in subject, I am working on a project in which SNMP protocol is to be implemented. I have written a code for SNMP Protocol which is working fine with the LPC1768 controller board. I am able to receive all the data(string) which is sent from controller to PC using ethernet. These strings are written in MIB_STR() function of MIB Table,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for eg.&lt;/P&gt;&lt;P&gt;const MIB_ENTRY snmp_mib[] = {&lt;/P&gt;&lt;P&gt;/* ---------- System MIB ----------- */&lt;/P&gt;&lt;P&gt;/* SysDescr Entry */&lt;BR /&gt;{ MIB_OCTET_STR | MIB_ATR_RO,&lt;BR /&gt;8, {OID0(1,3), 6, 1, 2, 1, 1, 1, 0},&amp;nbsp;&lt;BR /&gt;MIB_STR("Hello World"),&amp;nbsp; //as this string i am not updating while execution of main function so it is working fine&lt;BR /&gt;NULL }&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;but when i am trying to update current values of parameters in place of string, it is not allowing to do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for eg.&lt;/P&gt;&lt;P&gt;const MIB_ENTRY snmp_mib[] = {&lt;/P&gt;&lt;P&gt;/* ---------- System MIB ----------- */&lt;/P&gt;&lt;P&gt;/* SysDescr Entry */&lt;BR /&gt;{ MIB_OCTET_STR | MIB_ATR_RO,&lt;BR /&gt;8, {OID0(1,3), 6, 1, 2, 1, 1, 1, 0},&amp;nbsp;&lt;BR /&gt;MIB_STR(Temp[1]),&amp;nbsp; //error: initializer element is not a compile-time constant&lt;BR /&gt;NULL }&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;Temperature values are saved in an array in ASCII format.&amp;nbsp;&lt;/P&gt;&lt;P&gt;so, I am planning to Copy the same MIB Table to RAM when controller starts execution of code &amp;amp; then i want controller to read MIB table from the specific RAM address area so, i can update Current values of parameters at respective RAM Address locations.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;may i know how to make controller to read from Specific RAM address location instead of&amp;nbsp; FLASH memory while execution of main function.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Has anyone encountered this issue or maybe even found a solution?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Pruthviraj Gidveer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 03:48:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-in-implementation-of-SNMP-Protocol-with-LPC1768/m-p/1158290#M42361</guid>
      <dc:creator>pvgidveer</dc:creator>
      <dc:date>2020-09-24T03:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in implementation of SNMP Protocol with LPC1768</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-in-implementation-of-SNMP-Protocol-with-LPC1768/m-p/1158336#M42363</link>
      <description>&lt;P&gt;Hi, PvgidVeer,&lt;/P&gt;
&lt;P&gt;Can you tell us the tools you are using? is the MIB_STR(Temp[1])&amp;nbsp; a function or macro? do you have it's prototype?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 05:36:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-in-implementation-of-SNMP-Protocol-with-LPC1768/m-p/1158336#M42363</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-09-24T05:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in implementation of SNMP Protocol with LPC1768</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-in-implementation-of-SNMP-Protocol-with-LPC1768/m-p/1158370#M42364</link>
      <description>&lt;P&gt;Hello, Xiangjun_rong,&lt;/P&gt;&lt;P&gt;I am using Keil uVision 4 IDE and MIB_STR() is declared as a macro in Net_Config.h file&lt;/P&gt;&lt;P&gt;macro declaration in Net_Config.h is as given below.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/* SNMP-MIB Macros */&lt;BR /&gt;#define MIB_STR(s) sizeof(s)-1, s&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regrads,&lt;/P&gt;&lt;P&gt;Pruthviraj Gidveer.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 06:10:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-in-implementation-of-SNMP-Protocol-with-LPC1768/m-p/1158370#M42364</guid>
      <dc:creator>pvgidveer</dc:creator>
      <dc:date>2020-09-24T06:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in implementation of SNMP Protocol with LPC1768</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-in-implementation-of-SNMP-Protocol-with-LPC1768/m-p/1159238#M42394</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Unfortunately, I do not see the Net_Config.h file in the LWIP directory, can you post all the project to the community so that we can have a review.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 09:21:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-in-implementation-of-SNMP-Protocol-with-LPC1768/m-p/1159238#M42394</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-09-25T09:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in implementation of SNMP Protocol with LPC1768</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-in-implementation-of-SNMP-Protocol-with-LPC1768/m-p/1162882#M42464</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;Here i have attached a code, If you compile this code you will get an error, to resolve that error goto line no.49 of SNMP_MIB.c file &amp;amp; do modifications as mentioned in commented line then it will work. but actually i want to print the values of which are stored in dataString[]. If i try to print values from the array dataString[] it will give an error. Help me to resolve this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Pruthviraj Gidveer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 10:55:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-in-implementation-of-SNMP-Protocol-with-LPC1768/m-p/1162882#M42464</guid>
      <dc:creator>pvgidveer</dc:creator>
      <dc:date>2020-10-05T10:55:45Z</dc:date>
    </item>
  </channel>
</rss>

