<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Design Build Test Repeat</title>
	<atom:link href="http://designbuildtestrepeat.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://designbuildtestrepeat.wordpress.com</link>
	<description>Voluntarily cast upon the waves of outrageous fortune, this lowly geek flops from peak to peak of the technological ocean. Linux, Windows, C, Ruby, Python and embedded systems all attempt to pull our stalwart hero down. Will he survive alone or will the lifeboat of corporate servitude be too tempting.</description>
	<lastBuildDate>Sat, 24 Oct 2009 10:57:07 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on SMS over 3G and Bluetooth from Python by David Faure</title>
		<link>http://designbuildtestrepeat.wordpress.com/2008/06/26/sms-over-3g-and-bluetooth-from-python/#comment-1744</link>
		<dc:creator>David Faure</dc:creator>
		<pubDate>Sat, 24 Oct 2009 10:57:07 +0000</pubDate>
		<guid isPermaLink="false">http://designbuildtestrepeat.wordpress.com/?p=34#comment-1744</guid>
		<description>Excellent stuff, exactly what I was looking for.

Please note that the blog software replaced all quotes and double-quotes with non-ascii characters, which python doesn&#039;t like (and the indenting got messed up too). It would probably be helpful to provide a link to a plain-text version of it for proper download rather than copy/paste/reformatting by hand ;)

Also the &quot;if data.find(’+cmgl’)&gt;0:&quot; seems wrong, here it&#039;s +CMGL in uppercase, and it&#039;s at offset 0, and anyway the text of the SMS is on the following lines. So I recommend the following while loop instead:

  while data != &#039;&#039;:
   data = self.ser.readline()
   if data.find(&#039;+CMGL&#039;)&gt;=0:
     print·
   print string.rstrip(data)

I was wondering about writing a GUI app to do this. But maybe it would be simpler to just improve the python script so that it sends an email for each SMS it sees in GetAllSMS, so that one can get his incoming SMS messages in his email client, no need to monitor yet another application.</description>
		<content:encoded><![CDATA[<p>Excellent stuff, exactly what I was looking for.</p>
<p>Please note that the blog software replaced all quotes and double-quotes with non-ascii characters, which python doesn&#8217;t like (and the indenting got messed up too). It would probably be helpful to provide a link to a plain-text version of it for proper download rather than copy/paste/reformatting by hand <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Also the &#8220;if data.find(’+cmgl’)&gt;0:&#8221; seems wrong, here it&#8217;s +CMGL in uppercase, and it&#8217;s at offset 0, and anyway the text of the SMS is on the following lines. So I recommend the following while loop instead:</p>
<p>  while data != &#8221;:<br />
   data = self.ser.readline()<br />
   if data.find(&#8216;+CMGL&#8217;)&gt;=0:<br />
     print·<br />
   print string.rstrip(data)</p>
<p>I was wondering about writing a GUI app to do this. But maybe it would be simpler to just improve the python script so that it sends an email for each SMS it sees in GetAllSMS, so that one can get his incoming SMS messages in his email client, no need to monitor yet another application.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Steganography in Python by Carlos</title>
		<link>http://designbuildtestrepeat.wordpress.com/2007/11/07/steganography-in-python/#comment-1743</link>
		<dc:creator>Carlos</dc:creator>
		<pubDate>Sat, 17 Oct 2009 09:53:56 +0000</pubDate>
		<guid isPermaLink="false">http://designbuildtestrepeat.wordpress.com/2007/11/07/steganography-in-python/#comment-1743</guid>
		<description>Hi,

You are wrong.
Stepic doesn&#039;t work for JPEG files(http://domnit.org/blog/2007/02.html).
The reason: JPEG are not lossles format.
Your program runs because you use the same variable to decode (without read the file another time). If you don&#039;t beleave me, try this:
import Image
import stepic
im = Image.open(’in.jpg’)
s = stepic.Steganographer(im)
im2 = s.encode(’This is some cool text’)
im2.save(’out.jpg’,&#039;JPEG’)
im3 = Image.open(’out.jpg’)
s = stepic.decode(im3)
data = s.decode()
print data</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>You are wrong.<br />
Stepic doesn&#8217;t work for JPEG files(http://domnit.org/blog/2007/02.html).<br />
The reason: JPEG are not lossles format.<br />
Your program runs because you use the same variable to decode (without read the file another time). If you don&#8217;t beleave me, try this:<br />
import Image<br />
import stepic<br />
im = Image.open(’in.jpg’)<br />
s = stepic.Steganographer(im)<br />
im2 = s.encode(’This is some cool text’)<br />
im2.save(’out.jpg’,&#8217;JPEG’)<br />
im3 = Image.open(’out.jpg’)<br />
s = stepic.decode(im3)<br />
data = s.decode()<br />
print data</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SMS over 3G and Bluetooth from Python by septianw</title>
		<link>http://designbuildtestrepeat.wordpress.com/2008/06/26/sms-over-3g-and-bluetooth-from-python/#comment-1742</link>
		<dc:creator>septianw</dc:creator>
		<pubDate>Tue, 29 Sep 2009 16:38:41 +0000</pubDate>
		<guid isPermaLink="false">http://designbuildtestrepeat.wordpress.com/?p=34#comment-1742</guid>
		<description>thanks for post this one.

it would be help me to develop more.

let me grab it.</description>
		<content:encoded><![CDATA[<p>thanks for post this one.</p>
<p>it would be help me to develop more.</p>
<p>let me grab it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Huawei E220 on Linux for SMS by inckie</title>
		<link>http://designbuildtestrepeat.wordpress.com/2008/04/29/huawei-e220-on-linux-for-sms/#comment-1741</link>
		<dc:creator>inckie</dc:creator>
		<pubDate>Fri, 25 Sep 2009 12:57:48 +0000</pubDate>
		<guid isPermaLink="false">http://designbuildtestrepeat.wordpress.com/?p=31#comment-1741</guid>
		<description>&lt;pre&gt;
nagios:~# chat TIMEOUT 1 &quot;&quot; &quot;AT+CPIN=****&quot; &quot;OK&quot; &gt; /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0 &lt;-- Terminale Line
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<pre>
nagios:~# chat TIMEOUT 1 "" "AT+CPIN=****" "OK" &gt; /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0 &lt;-- Terminale Line
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Huawei E220 on Linux for SMS by inckie</title>
		<link>http://designbuildtestrepeat.wordpress.com/2008/04/29/huawei-e220-on-linux-for-sms/#comment-1740</link>
		<dc:creator>inckie</dc:creator>
		<pubDate>Fri, 25 Sep 2009 11:01:04 +0000</pubDate>
		<guid isPermaLink="false">http://designbuildtestrepeat.wordpress.com/?p=31#comment-1740</guid>
		<description>&lt;code&gt;
nagios:~# chat TIMEOUT 1 &quot;&quot; &quot;AT+CPIN=****&quot; &quot;OK&quot; &gt; /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0 &lt;-- Terminale Line
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p><code><br />
nagios:~# chat TIMEOUT 1 "" "AT+CPIN=****" "OK" &gt; /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0 &lt;-- Terminale Line<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Huawei E220 on Linux for SMS by inckie</title>
		<link>http://designbuildtestrepeat.wordpress.com/2008/04/29/huawei-e220-on-linux-for-sms/#comment-1739</link>
		<dc:creator>inckie</dc:creator>
		<pubDate>Fri, 25 Sep 2009 10:58:33 +0000</pubDate>
		<guid isPermaLink="false">http://designbuildtestrepeat.wordpress.com/?p=31#comment-1739</guid>
		<description>nagios:~# chat TIMEOUT 1 &quot;&quot; &quot;AT+CPIN=****&quot; &quot;OK&quot; &gt; /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0 &lt;-- Terminate Line</description>
		<content:encoded><![CDATA[<p>nagios:~# chat TIMEOUT 1 &#8220;&#8221; &#8220;AT+CPIN=****&#8221; &#8220;OK&#8221; &gt; /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0  /dev/ttyUSB0 &lt;&#8211; Terminate Line</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Huawei E220 on Linux for SMS by Harris</title>
		<link>http://designbuildtestrepeat.wordpress.com/2008/04/29/huawei-e220-on-linux-for-sms/#comment-1738</link>
		<dc:creator>Harris</dc:creator>
		<pubDate>Sun, 06 Sep 2009 22:19:01 +0000</pubDate>
		<guid isPermaLink="false">http://designbuildtestrepeat.wordpress.com/?p=31#comment-1738</guid>
		<description>Is it the same with the Sony Ericson K550i AT commands? I am thinking of using it for our thesis. thanks for the post..

-harristgp</description>
		<content:encoded><![CDATA[<p>Is it the same with the Sony Ericson K550i AT commands? I am thinking of using it for our thesis. thanks for the post..</p>
<p>-harristgp</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Huawei E220 on Linux for SMS by Harris</title>
		<link>http://designbuildtestrepeat.wordpress.com/2008/04/29/huawei-e220-on-linux-for-sms/#comment-1737</link>
		<dc:creator>Harris</dc:creator>
		<pubDate>Sun, 06 Sep 2009 22:18:24 +0000</pubDate>
		<guid isPermaLink="false">http://designbuildtestrepeat.wordpress.com/?p=31#comment-1737</guid>
		<description>Is it the same with the Sony Ericson K550i AT commands? I am thinking of using it for our thesis. thanks for the post.

-harristgp</description>
		<content:encoded><![CDATA[<p>Is it the same with the Sony Ericson K550i AT commands? I am thinking of using it for our thesis. thanks for the post.</p>
<p>-harristgp</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SMS over 3G and Bluetooth from Python by Myke</title>
		<link>http://designbuildtestrepeat.wordpress.com/2008/06/26/sms-over-3g-and-bluetooth-from-python/#comment-1735</link>
		<dc:creator>Myke</dc:creator>
		<pubDate>Fri, 14 Aug 2009 11:26:11 +0000</pubDate>
		<guid isPermaLink="false">http://designbuildtestrepeat.wordpress.com/?p=34#comment-1735</guid>
		<description>Hi, I&#039;m new with python about 3 days old using the program. I was wondering how I can create an application that will detect all BT device within range and allow it to send a file(a command maybe) and for the system to send message to them. I was able to do the detect but having hard time sending and receiving. Does a code require a specific modem to work? or it can work using any BT device?

If you have a guide or a working sample that would be very helpfull

Thanks,
Myke</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;m new with python about 3 days old using the program. I was wondering how I can create an application that will detect all BT device within range and allow it to send a file(a command maybe) and for the system to send message to them. I was able to do the detect but having hard time sending and receiving. Does a code require a specific modem to work? or it can work using any BT device?</p>
<p>If you have a guide or a working sample that would be very helpfull</p>
<p>Thanks,<br />
Myke</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Huawei E220 on Linux for SMS by Pavelas</title>
		<link>http://designbuildtestrepeat.wordpress.com/2008/04/29/huawei-e220-on-linux-for-sms/#comment-1734</link>
		<dc:creator>Pavelas</dc:creator>
		<pubDate>Sat, 01 Aug 2009 15:53:58 +0000</pubDate>
		<guid isPermaLink="false">http://designbuildtestrepeat.wordpress.com/?p=31#comment-1734</guid>
		<description>I have HUAWEI E156G modem. Everything works perfectly, same us with E220, but ~ for 15 minutes. Then modem just disconnects (hangs), and gets up on another USB address after several seconds.

Tried different hardware, different kernels and distros - same result. E220, E176 works perfectly.

Maybe anyone found solution?

Dmesg example:
Aug  1 16:17:51 x10 kernel: usb 2-6: USB disconnect, address 6
Aug  1 16:17:51 x10 kernel: option 2-6:1.0: device disconnected
Aug  1 16:17:51 x10 kernel: option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Aug  1 16:17:51 x10 kernel: option 2-6:1.1: device disconnected
Aug  1 16:17:51 x10 kernel: usb 2-6: new high speed USB device using ehci_hcd and address 7
Aug  1 16:17:51 x10 kernel: usb 2-6: configuration #1 chosen from 1 choice
Aug  1 16:17:52 x10 kernel: usb 2-6: USB disconnect, address 7
Aug  1 16:17:56 x10 kernel: usb 2-6: new high speed USB device using ehci_hcd and address 8
Aug  1 16:17:56 x10 kernel: usb 2-6: configuration #1 chosen from 1 choice
Aug  1 16:17:56 x10 kernel: option 2-6:1.0: GSM modem (1-port) converter detected
Aug  1 16:17:56 x10 kernel: usb 2-6: GSM modem (1-port) converter now attached to ttyUSB1
Aug  1 16:17:56 x10 kernel: option 2-6:1.1: GSM modem (1-port) converter detected
Aug  1 16:17:56 x10 kernel: usb 2-6: GSM modem (1-port) converter now attached to ttyUSB2
Aug  1 16:17:57 x10 kernel: scsi25 : SCSI emulation for USB Mass Storage devices
Aug  1 16:17:58 x10 kernel: scsi26 : SCSI emulation for USB Mass Storage devices
Aug  1 16:18:02 x10 kernel: scsi 25:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
Aug  1 16:18:02 x10 kernel: scsi 25:0:0:0: Attached scsi generic sg3 type 5
Aug  1 16:18:03 x10 kernel: scsi 26:0:0:0: Direct-Access     HUAWEI   MMC Storage      2.31 PQ: 0 ANSI: 2
Aug  1 16:18:03 x10 kernel: sd 26:0:0:0: [sdc] Attached SCSI removable disk
Aug  1 16:18:03 x10 kernel: sd 26:0:0:0: Attached scsi generic sg4 type 0</description>
		<content:encoded><![CDATA[<p>I have HUAWEI E156G modem. Everything works perfectly, same us with E220, but ~ for 15 minutes. Then modem just disconnects (hangs), and gets up on another USB address after several seconds.</p>
<p>Tried different hardware, different kernels and distros &#8211; same result. E220, E176 works perfectly.</p>
<p>Maybe anyone found solution?</p>
<p>Dmesg example:<br />
Aug  1 16:17:51 x10 kernel: usb 2-6: USB disconnect, address 6<br />
Aug  1 16:17:51 x10 kernel: option 2-6:1.0: device disconnected<br />
Aug  1 16:17:51 x10 kernel: option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1<br />
Aug  1 16:17:51 x10 kernel: option 2-6:1.1: device disconnected<br />
Aug  1 16:17:51 x10 kernel: usb 2-6: new high speed USB device using ehci_hcd and address 7<br />
Aug  1 16:17:51 x10 kernel: usb 2-6: configuration #1 chosen from 1 choice<br />
Aug  1 16:17:52 x10 kernel: usb 2-6: USB disconnect, address 7<br />
Aug  1 16:17:56 x10 kernel: usb 2-6: new high speed USB device using ehci_hcd and address 8<br />
Aug  1 16:17:56 x10 kernel: usb 2-6: configuration #1 chosen from 1 choice<br />
Aug  1 16:17:56 x10 kernel: option 2-6:1.0: GSM modem (1-port) converter detected<br />
Aug  1 16:17:56 x10 kernel: usb 2-6: GSM modem (1-port) converter now attached to ttyUSB1<br />
Aug  1 16:17:56 x10 kernel: option 2-6:1.1: GSM modem (1-port) converter detected<br />
Aug  1 16:17:56 x10 kernel: usb 2-6: GSM modem (1-port) converter now attached to ttyUSB2<br />
Aug  1 16:17:57 x10 kernel: scsi25 : SCSI emulation for USB Mass Storage devices<br />
Aug  1 16:17:58 x10 kernel: scsi26 : SCSI emulation for USB Mass Storage devices<br />
Aug  1 16:18:02 x10 kernel: scsi 25:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2<br />
Aug  1 16:18:02 x10 kernel: scsi 25:0:0:0: Attached scsi generic sg3 type 5<br />
Aug  1 16:18:03 x10 kernel: scsi 26:0:0:0: Direct-Access     HUAWEI   MMC Storage      2.31 PQ: 0 ANSI: 2<br />
Aug  1 16:18:03 x10 kernel: sd 26:0:0:0: [sdc] Attached SCSI removable disk<br />
Aug  1 16:18:03 x10 kernel: sd 26:0:0:0: Attached scsi generic sg4 type 0</p>
]]></content:encoded>
	</item>
</channel>
</rss>
