Search found 61 matches

by PinkInk
Fri May 20, 2016 10:34 am
Forum: Programs, Libraries and Tools
Topic: micropython snmp library
Replies: 0
Views: 5114

micropython snmp library

I finally managed to squeeze limited support for Simple Network Management Protocol v1 down into something small enough to (just about) run on the esp8266 ga1.8 firmware. If anyone's interested, you can find it here; https://github.com/PinkInk/upylib/tree/master/usnmp Bugs to squash and suggestions ...
by PinkInk
Sat May 07, 2016 5:16 pm
Forum: Drivers for External Components
Topic: Standard API for drivers?
Replies: 37
Views: 14252

Re: Standard API for drivers?

udecimal would be useful for a more comprehensive ntp library, and potentially other network protocols? (flame-war: on). In general, as network is more readily available in micropython (baremetal) than it was before (with esp8266), should network protocols fall into the category of 'drivers', and th...
by PinkInk
Sat May 07, 2016 2:58 pm
Forum: ESP8266 boards
Topic: Corrupted filesystem
Replies: 15
Views: 9466

Re: Corrupted filesystem

Stability generally much improved with a jury-rigged 3xAA battery pack ... thanks.
by PinkInk
Sat May 07, 2016 1:24 am
Forum: ESP8266 boards
Topic: Corrupted filesystem
Replies: 15
Views: 9466

Re: Corrupted filesystem

Ahhh, that's probably it ... at the moment 2x(new)AA and 100uf across the rails - but I do run these until the module bulks at them, hence the flash may already be having less obvious issues. I've been caught by surprise by how power sensitive the bare modules are, melted a breadboard psu in the pro...
by PinkInk
Fri May 06, 2016 3:54 pm
Forum: ESP8266 boards
Topic: Corrupted filesystem
Replies: 15
Views: 9466

Re: Corrupted filesystem

Damien; thanks - you're a star; yes, that's cleared the filesystem.

Something funny is going on; some combination of trying to open to write 'neopixel.py' and/or 'neoxpixel_.py' occasionally re-corrupts the filesystem, but I've not yet been able to find a test case that does so consistently.
by PinkInk
Fri May 06, 2016 5:21 am
Forum: ESP8266 boards
Topic: Corrupted filesystem
Replies: 15
Views: 9466

Re: Corrupted filesystem

I'm having what appears to be a related problem with 12e modules, after writing boot.py, main.py and an updated neopixel.py I noticed an increasing number of "0x00 * x" files in the filesystem. This is what os.listdir() says, shortly before the module reboots with memory issues; >>> import os >>> os...
by PinkInk
Tue May 03, 2016 1:20 am
Forum: Drivers for External Components
Topic: Adding USB-MIDI support to stmhal port?
Replies: 3
Views: 2001

Re: Adding USB-MIDI support to stmhal port?

I looked at this on a pyboard a while ago, this thread https://github.com/micropython/micropython/pull/955 suggests you should be able to set up usb as a midi hid device in pure micropython.

But the pyb functions described are undocumented, may have been removed.

Tim
by PinkInk
Wed Apr 13, 2016 11:03 am
Forum: General Discussion and Questions
Topic: How to reduce the memory consumption of the object definition
Replies: 25
Views: 10585

Re: How to reduce the memory consumption of that objet definition

That will be an interesting/useful feature. I'm working on a micro SNMP library and have realised that I can't really achieve everything I want to without representing at least mib-2 as a tree. I'm working on the assumption that nested python objects will be unwieldy for something that'd only ever b...
by PinkInk
Fri Nov 20, 2015 11:55 am
Forum: WiPy and CC3200 boards
Topic: select module supports sockets?
Replies: 0
Views: 5629

select module supports sockets?

I've built a very simple extendable http server library https://github.com/PinkInk/upylib/tree/master/uhttpsrv , but I want to update it so that it is non-blocking so that I can read sensors etc. at the same time. Elsewhere on the forum an example similar to the following was given, using select.sel...
by PinkInk
Sat Nov 14, 2015 4:46 pm
Forum: WiPy and CC3200 boards
Topic: where to report wipy specific micropython issues?
Replies: 2
Views: 2167

Re: where to report wipy specific micropython issues?

Duh, that was too obvious ;)

Opened #1623