Search found 344 matches

by devnull
Fri Feb 17, 2017 11:59 am
Forum: General Discussion and Questions
Topic: file truncated in http server
Replies: 3
Views: 1210

file truncated in http server

Hi; I am facing a problem whereby a file that is read is truncated while sending over a socket. It is a simple web server that replies with a file that is stored on the flash file system, it always gets truncated at 1,072 bytes/chars. If I print the file to the console instead, the entire file gets ...
by devnull
Fri Jan 20, 2017 3:53 am
Forum: General Discussion and Questions
Topic: DS18X20 rom ID lookup
Replies: 3
Views: 1345

Re: DS18X20 rom ID lookup

Dave, thanks so much for helping with this, and for such a comprehensive explanation.

That certainly works and is much more concise than the work around method I came up with

Cheers
by devnull
Tue Jan 17, 2017 5:16 am
Forum: General Discussion and Questions
Topic: DS18X20 rom ID lookup
Replies: 3
Views: 1345

DS18X20 rom ID lookup

I am attempting to associate the ROM of a DS18X20 with a dictionary so that I can identify it. First thing I noticed is that onewire.py sometimes prepends a '(' to the byte array. Second problem is I am unable to select the dictionary ds_roms using the parsed rom id. Running this on python2 succeeds...
by devnull
Sun Jan 15, 2017 6:01 am
Forum: WiPy and CC3200 boards
Topic: WiPy2 - NotImplementedError: byte code not implemented
Replies: 1
Views: 1047

WiPy2 - NotImplementedError: byte code not implemented

using sockets, I have created a simple web server, with a single connection. This connection has a javascript setInterval() that every 15 seconds makes the same call to the webserver. Problem is the server is randomly crashing with: [code] Traceback (most recent call last): p��?", line 1, in P2 "93"...