<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Digits Domotica Blog &#187; Siemens M20</title>
	<atom:link href="http://blog.hekkers.net/tag/siemens-m20/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hekkers.net</link>
	<description>My Weblog about Domotica and more</description>
	<lastBuildDate>Sun, 05 Feb 2012 22:30:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Siemens M20T operational</title>
		<link>http://blog.hekkers.net/2009/06/11/siemens-m20t-operational/</link>
		<comments>http://blog.hekkers.net/2009/06/11/siemens-m20t-operational/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 14:48:48 +0000</pubDate>
		<dc:creator>Robert Hekkers</dc:creator>
				<category><![CDATA[Domotica]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Siemens M20]]></category>

		<guid isPermaLink="false">http://blog.hekkers.net/?p=241</guid>
		<description><![CDATA[Today i finished the interface for my Siemens M20T. This interface handles all the low-level communication with the M20T: Initialization at startup for things like PIN code, Echo setting, SMS mode; Sending SMS; Receiving SMS notifications and reading the SMS; Deleting read SMS message from the message store. The class i created for handling the [...]]]></description>
			<content:encoded><![CDATA[<p>Today i finished the interface for my Siemens M20T. This interface handles all the low-level communication with the M20T:</p>
<ul>
<li>Initialization at startup for things like PIN code, Echo setting, SMS mode;</li>
<li>Sending SMS;</li>
<li>Receiving SMS notifications and reading the SMS;</li>
<li>Deleting read SMS message from the message store.</li>
</ul>
<p>The class i created for handling the communication with the M20T was derived from a special &#8216;Physical Interface&#8217; class i created a long time ago when i was developing the basics for my Home Automation system. All classes that interface with hardware, whether it is PLCBUS, RFXCOM, X-10 or whatever, are derived from that class. That way i only have to develop the device-specific routines and when that part is finished, the new hardware is instantly and completely integrated with the rest of my system:</p>
<p><img class="aligncenter size-full wp-image-242" title="capture_13-5-2009-2335469-6-2009-19380711-6-2009-03128" src="http://blog.hekkers.net/wp-content/uploads/2009/06/capture_13-5-2009-2335469-6-2009-19380711-6-2009-03128.png" alt="capture_13-5-2009-2335469-6-2009-19380711-6-2009-03128" width="516" height="44" /></p>
<p>No need to do additional development to enable an SMS to trigger an event, store historical data in the database, or to have the information available in my <a href="http://blog.hekkers.net/2009/04/28/designing-my-own-home-automation-ui/" target="_blank">Home Automation GUI</a> that&#8217;s running on my ASUS TOP in the living room. It&#8217;s just like writing a HS Plugin <img src='http://blog.hekkers.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Last month i developed 2 new interfaces for new hardware this way.</p>
<p>The Siemens M20T will be moved to the place where lots of other Domotica hardware can be found, the fuse cabinet. There it will be attached to a <a href="http://www.eztcp.com/en/products/ezl-400s.php" target="_blank">Sollae EZL-400S</a>, and occupy it&#8217;s 3rd port. The first 2 ports are going to be used by my X10 interface and my PLCBUS interface. Those last 2 interfaces are currently connected to 2 single port serial to Ethernet converters, but by connecting these 3 devices to a single multi-port serial to Ethernet converter i can save additional power usage.</p>
<g:plusone href="http://blog.hekkers.net/2009/06/11/siemens-m20t-operational/"  size="standard"   ></g:plusone>]]></content:encoded>
			<wfw:commentRss>http://blog.hekkers.net/2009/06/11/siemens-m20t-operational/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Added Siemens M20T GSM device</title>
		<link>http://blog.hekkers.net/2009/06/05/added-siemens-m20t-gsm-device/</link>
		<comments>http://blog.hekkers.net/2009/06/05/added-siemens-m20t-gsm-device/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 10:23:46 +0000</pubDate>
		<dc:creator>Robert Hekkers</dc:creator>
				<category><![CDATA[Domotica]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Siemens M20]]></category>

		<guid isPermaLink="false">http://blog.hekkers.net/?p=228</guid>
		<description><![CDATA[Last week i bought a Siemens M20T. The Siemens M20 Terminal is a GSM900 Phase II voice, data, group 3 fax and SMS terminal device. This device has been on my wish list for a long time. Although i had the ability to send SMS by using Voipbuster, using a dedicated device like the Siemens [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_229" class="wp-caption alignleft" style="width: 459px"><img class="size-full wp-image-229 " title="Siemens M20T" src="http://blog.hekkers.net/wp-content/uploads/2009/06/capture_13-5-2009-2335464-6-2009-220356.png" alt="Siemens M20T" width="449" height="378" /><p class="wp-caption-text">Siemens M20T</p></div>
<p>Last week i bought a Siemens M20T. The Siemens M20 Terminal is a GSM900 Phase II voice, data, group 3 fax and SMS terminal device. This device has been on my wish list for a long time. Although i had the ability to send SMS by using Voipbuster, using a dedicated device like the Siemens M20 has always been my favorite. Last week the Siemens M20T arrived and yesterday i took some time to do some tests. After making a straight 1:1 RS232 cable and inserting the new arrived SIM, i connected the M20T to my PC and switched on the power adapter. The LED kept on blinking, where  it should burn continuously. Of course, i had to enter the PIN code, so i started Hyperterminal and sent the appropriate command. So far so good.</p>
<p>Now it was time to test sending a SMS to my mobile phone. That wasn&#8217;t to hard, the command for sending a SMS is quite easy and human readable:</p>
<pre><span style="color: #0000ff;">AT+CMGS="06987654321"
&gt; TESTING 123&lt;Ctrl+z&gt;
&gt;
+CMGS: 4</span></pre>
<p>It worked. One problem though; the mobile phone displayed an error message saying the message could not be displayed? <img src='http://blog.hekkers.net/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  After some searching i found out that the text mode SMS i sent with the command above, is not supported by all mobile phones. However there&#8217;s another mode to send a SMS, called PDU mode. It involves a bit more work in encoding the SMS before it can be sent to the M20T, but i found enough documentation to send my first PDU-mode SMS after 2 hours. This worked well! <img src='http://blog.hekkers.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
The command for sending a PDU mode SMS looks like this:</p>
<pre><span style="color: #0000ff;">AT+CMGS=xx
&gt;0001000B911389674523F100000BD4E2949A741E4131D90C</span></pre>
<p>The text sent is no longer human readable, the phone number is hard to recognize, but who cares if it&#8217;s working, as long as the M20T and my mobile phone understand it, it&#8217;s fine by me..</p>
<p>This evening i&#8217;ve started to write an interface to my Home Automation software so that i can send SMS messages whenever interesting things happen in and around my house.</p>
<g:plusone href="http://blog.hekkers.net/2009/06/05/added-siemens-m20t-gsm-device/"  size="standard"   ></g:plusone>]]></content:encoded>
			<wfw:commentRss>http://blog.hekkers.net/2009/06/05/added-siemens-m20t-gsm-device/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

