- Notifications
You must be signed in to change notification settings - Fork1.1k
Commit98d0a2b
committed
umqtt.simple: Restore legacy ssl/ssl_params arguments.
Commit35d41db changed the API for usingSSL with umqtt, but only did a minor version increase. This broke varioususes of this library, eghttps://github.com/aws-samples/aws-iot-core-getting-started-micropythonReinstate the original API for specifying an SSL connection. This librarynow supports the following:- default, ssl=None or ssl=False: no SSL- ssl=True and optional ssl_params specified: use ssl.wrap_socket- ssl=<SSLContext instance>: use provided SSL context to wrap socketSigned-off-by: Damien George <damien@micropython.org>1 parent96e17b6 commit98d0a2b
2 files changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
68 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
69 | 76 | | |
70 | 77 | | |
71 | 78 | | |
| |||
0 commit comments
Comments
(0)