<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Arduion IDE error  &#x27;MyGateway&#x27; does not name a type]]></title><description><![CDATA[<p dir="auto">Greetings,</p>
<p dir="auto">I have used Arduino products and the IDE in the past.  I downloaded the files for Arduino-Master and placed them where I was directed.  When I open the IDE and run the SerialGateway sketch, I get the message in the title, as well as the following;</p>
<p dir="auto">Arduino: 1.5.4 (Windows 7), Board: "Arduino Nano, ATmega328"</p>
<p dir="auto">SerialGateway:33: error: 'MyGateway' does not name a type<br />
SerialGateway:35: error: 'MAX_RECEIVE_LENGTH' was not declared in this scope<br />
SerialGateway.ino: In function 'void setup()':<br />
SerialGateway:41: error: 'gw' was not declared in this scope<br />
SerialGateway.ino: In function 'void loop()':<br />
SerialGateway:46: error: 'gw' was not declared in this scope<br />
SerialGateway:50: error: 'inputString' was not declared in this scope<br />
SerialGateway.ino: In function 'void serialEvent()':<br />
SerialGateway:69: error: 'MAX_RECEIVE_LENGTH' was not declared in this scope<br />
SerialGateway:71: error: 'inputString' was not declared in this scope<br />
SerialGateway:75: error: 'inputString' was not declared in this scope</p>
<p dir="auto">Would someone be so kind as to suggest where I may be doing things wrong?  I have a couple of nano devices connected to my radios . . . all I need is to make them communicate.</p>
<p dir="auto">Respectfully - Baran</p>
]]></description><link>https://forum.mysensors.org/topic/692/arduion-ide-error-mygateway-does-not-name-a-type</link><generator>RSS for Node</generator><lastBuildDate>Thu, 23 Apr 2026 00:30:09 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/692.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 08 Dec 2014 00:29:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Arduion IDE error  &#x27;MyGateway&#x27; does not name a type on Sun, 14 Dec 2014 08:19:58 GMT]]></title><description><![CDATA[<p dir="auto">Baran, just wondering, but did you try to copy and past JUST the library folder from the zip file into the same folder where your Arduino IDE's library folder is located. Let me make it clear that I'm not talking about pasting it into the Arduino library folder itself, but into the same folder that the Arduino's library folder is located. When you do this the computer will bring up a box that says you can't have two folders named library in this location and then ask if you want to consolidate them. You say yes and then they become one folder making it's so your Arduino IDE can find the now one library file.</p>
]]></description><link>https://forum.mysensors.org/post/7759</link><guid isPermaLink="true">https://forum.mysensors.org/post/7759</guid><dc:creator><![CDATA[botbite]]></dc:creator><pubDate>Sun, 14 Dec 2014 08:19:58 GMT</pubDate></item><item><title><![CDATA[Reply to Arduion IDE error  &#x27;MyGateway&#x27; does not name a type on Tue, 09 Dec 2014 14:26:18 GMT]]></title><description><![CDATA[<p dir="auto">Hi Again,</p>
<p dir="auto">I really feel stupid.  I followed the download and unzip instructions and still I received exactly the same errors as in the beginning with an error on the MyGateway gw line.</p>
<p dir="auto">One thing I still cannot resolve is where the program (serial gateway in the MySensors folder) finds the "stdawg.h" file.  All of the other associate files (.h, .cpp, etc) reside in the MySensors folder next to the Examples folder.  Is it possible that, without this file, my MyGateway.h file is not being properly read?</p>
<p dir="auto">Thank you for your patience - Baran</p>
]]></description><link>https://forum.mysensors.org/post/7580</link><guid isPermaLink="true">https://forum.mysensors.org/post/7580</guid><dc:creator><![CDATA[Baran]]></dc:creator><pubDate>Tue, 09 Dec 2014 14:26:18 GMT</pubDate></item><item><title><![CDATA[Reply to Arduion IDE error  &#x27;MyGateway&#x27; does not name a type on Tue, 09 Dec 2014 08:07:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hek" aria-label="Profile: hek">@<bdi>hek</bdi></a> There we go! Ok, so it's 'just' the library folder that we're supposed to move to the arduino sketch folder, and then let it merge with the existing arduino library file. That makes more sense.<br />
Thanks!</p>
]]></description><link>https://forum.mysensors.org/post/7569</link><guid isPermaLink="true">https://forum.mysensors.org/post/7569</guid><dc:creator><![CDATA[botbite]]></dc:creator><pubDate>Tue, 09 Dec 2014 08:07:28 GMT</pubDate></item><item><title><![CDATA[Reply to Arduion IDE error  &#x27;MyGateway&#x27; does not name a type on Tue, 09 Dec 2014 07:50:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hek" aria-label="Profile: hek">@<bdi>hek</bdi></a> said:</p>
<blockquote>
<p dir="auto"><a href="http://www.mysensors.org/build/arduino#installing-the-sensor-libraries" rel="nofollow ugc">http://www.mysensors.org/build/arduino#installing-the-sensor-libraries</a></p>
</blockquote>
<p dir="auto">Copy the libraries-folder out of the zip to the sketchbook-folder on your platform:</p>
<p dir="auto"><img src="/uploads/upload-c72de114-e784-4c12-b4a6-9d5c229bef84.png" alt="findingLibraries.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.mysensors.org/post/7566</link><guid isPermaLink="true">https://forum.mysensors.org/post/7566</guid><dc:creator><![CDATA[hek]]></dc:creator><pubDate>Tue, 09 Dec 2014 07:50:55 GMT</pubDate></item><item><title><![CDATA[Reply to Arduion IDE error  &#x27;MyGateway&#x27; does not name a type on Tue, 09 Dec 2014 07:47:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hek" aria-label="Profile: hek">@<bdi>hek</bdi></a> I have to agree with Baran. I just downloaded the new 1.4 file twice and followed the download instructions exactly, and I can't get it to recognize any of the # include files aside from SPI. There might be something wrong with how the new version the files were ordered in the zip file or something. If not could you tell us the correct order the files should go?</p>
]]></description><link>https://forum.mysensors.org/post/7564</link><guid isPermaLink="true">https://forum.mysensors.org/post/7564</guid><dc:creator><![CDATA[botbite]]></dc:creator><pubDate>Tue, 09 Dec 2014 07:47:00 GMT</pubDate></item><item><title><![CDATA[Reply to Arduion IDE error  &#x27;MyGateway&#x27; does not name a type on Tue, 09 Dec 2014 06:23:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/baran" aria-label="Profile: Baran">@<bdi>Baran</bdi></a> said:</p>
<blockquote>
<p dir="auto">Arduino-master\libraries\MySensors\examples + MySensor.h, MySensor.cpp, MyGateway.h, MyGateway.cpp, plus several .h and .cpp files for the radio.</p>
</blockquote>
<p dir="auto">This is wrong. Please look at the instructions/pictures here:</p>
<p dir="auto"><a href="http://www.mysensors.org/build/arduino#installing-the-sensor-libraries" rel="nofollow ugc">http://www.mysensors.org/build/arduino#installing-the-sensor-libraries</a></p>
]]></description><link>https://forum.mysensors.org/post/7559</link><guid isPermaLink="true">https://forum.mysensors.org/post/7559</guid><dc:creator><![CDATA[hek]]></dc:creator><pubDate>Tue, 09 Dec 2014 06:23:42 GMT</pubDate></item><item><title><![CDATA[Reply to Arduion IDE error  &#x27;MyGateway&#x27; does not name a type on Tue, 09 Dec 2014 04:19:15 GMT]]></title><description><![CDATA[<p dir="auto">Also . . . can anyone please tell me where to find stdarg.h?  Unlike all the other .h files on GitHub, I cannot find anything that looks like a file with this name.  If I am going to include it, I ought to find it first;).</p>
]]></description><link>https://forum.mysensors.org/post/7557</link><guid isPermaLink="true">https://forum.mysensors.org/post/7557</guid><dc:creator><![CDATA[Baran]]></dc:creator><pubDate>Tue, 09 Dec 2014 04:19:15 GMT</pubDate></item><item><title><![CDATA[Reply to Arduion IDE error  &#x27;MyGateway&#x27; does not name a type on Tue, 09 Dec 2014 01:50:20 GMT]]></title><description><![CDATA[<p dir="auto">Greetings Again,</p>
<p dir="auto">I beg forgiveness for my relative density but I am not seeing the problem.  The following line stops the compiler and is highlighted in yellow:</p>
<p dir="auto">MyGateway gw(DEFAULT_CE_PIN, DEFAULT_CS_PIN, INCLUSION_MODE_TIME, INCLUSION_MODE_PIN,  6, 5, 4);</p>
<p dir="auto">The errors are the same as reported above.</p>
<p dir="auto">My folder hierarchy is as follows:</p>
<p dir="auto">Arduino-master\libraries\MySensors\examples +  MySensor.h, MySensor.cpp, MyGateway.h, MyGateway.cpp, plus several .h and .cpp files for the radio.</p>
<p dir="auto">As best as I can tell, this is correct - the examples folder is nested in the MySensors folder with all of the .h and .cpp files.   Please correct me if I am wrong (and I must be) but I also tried placing all of the .h and .cpp files directly in the examples folder under MySensors to no avail.</p>
]]></description><link>https://forum.mysensors.org/post/7555</link><guid isPermaLink="true">https://forum.mysensors.org/post/7555</guid><dc:creator><![CDATA[Baran]]></dc:creator><pubDate>Tue, 09 Dec 2014 01:50:20 GMT</pubDate></item><item><title><![CDATA[Reply to Arduion IDE error  &#x27;MyGateway&#x27; does not name a type on Mon, 08 Dec 2014 06:39:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/baran" aria-label="Profile: Baran">@<bdi>Baran</bdi></a></p>
<p dir="auto">As your IDE can't find the libraries they must have been put in the wrong folder.</p>
]]></description><link>https://forum.mysensors.org/post/7527</link><guid isPermaLink="true">https://forum.mysensors.org/post/7527</guid><dc:creator><![CDATA[hek]]></dc:creator><pubDate>Mon, 08 Dec 2014 06:39:31 GMT</pubDate></item></channel></rss>