Paul Sokolovsky
709e2f04ce
time: Release 0.3.
2016-09-18 20:21:03 +03:00
Renaud Guillon
bd7c796043
time: Added the functions mktime localtime and gmtime
2016-09-18 20:19:21 +03:00
Michaël Schrijver
2903d599c7
upip: Initialize socket with protocol family as gotten from resolver.
...
Fixes working over IPv6.
2016-09-12 23:56:36 +03:00
Paul Sokolovsky
98c6fb9024
umqtt.simple: Allow to pass arbitrary params to ussl.wrap_socket().
2016-08-24 01:04:32 +03:00
candale
c9a9b48ebe
umqtt.simple: Add keepalive connection parameter.
2016-08-24 01:01:17 +03:00
Nicolas Graziano
fcec7f7c1d
umqtt.simple: Add MQTT user/password authentication.
...
Limitation the total length of client id, user name and password must
be under 111 characters.
2016-08-15 17:12:56 +03:00
Paul Sokolovsky
1aaaf0dea4
umqtt.robust: Add README and metadata.
2016-08-15 17:06:49 +03:00
Paul Sokolovsky
bfeaea56cd
umqtt.simple: Release 1.1.
2016-08-15 17:01:36 +03:00
puuu
b66c68ee4e
umqtt.simple: Let subscribe() process incoming async PUBLISH messages.
...
Utilising retained messages and multiple subscribes, a message could
arrive before the SUBACK packet. Therefore, wait_msg() must be called
in subscribe().
2016-08-10 22:22:22 +03:00
puuu
a261f4b4d7
umqtt.simple: do not close the socket in ping()
2016-08-08 21:58:44 +09:00
Paul Sokolovsky
9f7b60bede
umqtt.simple: publish(): Reuse existing bytearray.
2016-08-08 01:07:59 +03:00
Paul Sokolovsky
1e83b27b9d
upysh: Release 0.6.
2016-08-06 15:11:28 +03:00
mad474
c5b01d18fd
upysh: Mention "mv" command in help text
2016-08-06 13:50:34 +02:00
Paul Sokolovsky
208c7f0f17
umqtt.simple: Add SSL support.
2016-08-05 00:40:05 +03:00
Paul Sokolovsky
4a8ef9f99c
umqtt.simple: Be sure to return socket to blocking state after check_msg().
2016-07-31 15:59:24 +03:00
Paul Sokolovsky
08f7d09353
umqtt.simple/README: Describe return value of connect().
2016-07-30 14:47:03 +03:00
puuu
20cd8e4651
umqtt.robust: publish(): Adapt signature to umqtt.simple.
...
umqtt.simple uses publish(self, topic, msg, retain=False, qos=0), so
make umqtt.robust use the same. Otherwise, retain and qos will not work.
2016-07-27 01:41:03 +03:00
Paul Sokolovsky
6190cec14a
umqtt.robust: Add sub example which can survive server restart.
2016-07-25 00:09:01 +03:00
Paul Sokolovsky
d43faf2d09
umqtt.robust: Make refactored module actually work for reconnects.
2016-07-24 22:24:08 +03:00
Paul Sokolovsky
2fecbd0312
umqtt.robust: Initial version of client with auto-reconnect on errors.
2016-07-24 03:26:52 +03:00
Paul Sokolovsky
b5fb588144
upysh: Release 0.5.
2016-07-17 00:44:10 +03:00
Paul Sokolovsky
a8311ab86c
upysh: Add "clear" command to clear screen.
...
Based on patch by @robert-hh:
https://github.com/micropython/micropython-lib/pull/76 .
2016-07-17 00:42:30 +03:00
Paul Sokolovsky
4a5965bbe0
umqtt.simple: publish: Do proper varlen message size encoding.
...
Using 2 static bytes for encoding didn't work well with some brokers,
e.g. Amazon AWS.
Also, extend max message size to 2M.
2016-07-16 00:30:53 +03:00
Paul Sokolovsky
38885fbf4f
uasyncio.core: Protect another case of debug logging with "if __debug__:".
2016-07-04 12:58:40 +03:00
Paul Sokolovsky
26290883a2
uasyncio.core: call_soon(): Use current time, not zero time.
...
Using static zero time may become a problem when using wrap-around time
sources, like utime.ticks_ms().
2016-07-04 12:57:53 +03:00
Paul Sokolovsky
0e0fffc138
uasyncio.core: Optimize case of resuming coro with no args.
...
Don't create a new tuple with empty arguments for coro.send(), just use
next(coro).
2016-07-04 12:57:08 +03:00
Paul Sokolovsky
37f8273715
upysh: Add short description (for PyPI search results).
2016-07-03 15:55:02 +03:00
Paul Sokolovsky
12d4566773
upysh: Release 0.4.
2016-07-03 15:51:53 +03:00
Paul Sokolovsky
fafc3ef2c5
upysh: Use "man" command for upysh help, leaving Python's help() alone.
...
Idea by @robert-hh.
2016-07-03 15:50:46 +03:00
Paul Sokolovsky
d316ee22f0
umqtt.simple: Release 1.0.1, better descriptions.
2016-07-03 15:48:15 +03:00
Paul Sokolovsky
1a6ee2b01f
make_metadata.py: Allow to use README.rst as a long_description.
2016-07-03 15:47:46 +03:00
Paul Sokolovsky
dd89d5452b
umqtt.simple: Release 1.0.
2016-07-03 15:39:06 +03:00
Paul Sokolovsky
9f71425ade
umqtt.simple: Remove unused import.
2016-07-03 15:37:28 +03:00
Paul Sokolovsky
d70abbe4ad
umqtt.simple: Add README.
2016-07-03 13:59:29 +03:00
Paul Sokolovsky
c8a08bce4a
umqtt.simple: Add example to toggle an LED on received subscribed message.
2016-07-02 18:55:31 +03:00
Paul Sokolovsky
64eab7c870
umqtt.simple: Add example to publish a message on button press.
2016-07-02 18:54:04 +03:00
Paul Sokolovsky
e1f9e1085b
machine: Release 0.1.
2016-07-02 18:42:13 +03:00
Paul Sokolovsky
397a05683a
machine: Add unique_id() placeholder.
...
Returns static, non-unique placeholder so far.
2016-07-02 18:39:13 +03:00
Paul Sokolovsky
f1a65bc68b
umqtt.simple: Add standalone sub example.
2016-07-02 14:43:50 +03:00
Paul Sokolovsky
df604048fd
umqtt.simple: Add standalone pub example.
2016-07-02 14:16:42 +03:00
Paul Sokolovsky
f44a33c1df
umqtt.simple: Initial implementation of a simple MQTT client.
2016-07-02 01:13:06 +03:00
Paul Sokolovsky
0b524194a0
os: Release 0.4.3.
2016-06-13 10:16:42 +03:00
Paul Sokolovsky
89d69b1611
os: Add "remove" as an alias to "unlink".
2016-06-13 10:16:36 +03:00
Paul Sokolovsky
c2385790a4
upysh: Release 0.3.
2016-06-12 19:07:23 +03:00
Paul Sokolovsky
47b8dd03ad
upysh: Add to help hint that intended usage is "from upysh import *".
2016-06-12 19:02:03 +03:00
Paul Sokolovsky
1afdd47a37
upysh: Invoke help on import.
2016-06-12 19:00:37 +03:00
Paul Sokolovsky
d9b7dd1d06
upysh: Add "rm" and "rmdir" commands.
...
Also simplified "cd" implementation.
2016-06-12 18:57:14 +03:00
Paul Sokolovsky
ceab4f3b84
urllib.urequest: Release 0.4.1.
2016-06-11 00:28:30 +03:00
Paul Sokolovsky
d036673d7b
urllib.urequest: Avoid allocating memory when issuing request.
...
Memory will still be allocated when parsing response, but this already
saves 164 bytes of memory traffic (x64).
2016-06-11 00:25:16 +03:00
Paul Sokolovsky
52ac454ef7
urllib.urequest: Avoid allocating long semi-duplicate strings.
2016-06-11 00:05:24 +03:00