Skip to content

Commit 6a8a62a

Browse files
committed
Set _msg_id default value back to 0
This change got introduced in the python/mp split commit: 81dfc16 Having it default to 1 is fine on the clear text port but doesn't authenticate when connecting to the server through SSL. The server will ack the token packet but won't reply anything. Setting it back to 0 by default which mirrors what blynklib.py has.
1 parent b2cc4f5 commit 6a8a62a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blynklib_mp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class Protocol(object):
5656
STATUS_OK = const(200)
5757
VPIN_MAX_NUM = const(32)
5858

59-
_msg_id = 1
59+
_msg_id = 0
6060

6161
def _get_msg_id(self, **kwargs):
6262
if 'msg_id' in kwargs:

0 commit comments

Comments
 (0)