Skip to content

Commit

Permalink
Set _msg_id default value back to 0
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
fgervais committed Dec 9, 2020
1 parent b2cc4f5 commit 6a8a62a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blynklib_mp.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Protocol(object):
STATUS_OK = const(200)
VPIN_MAX_NUM = const(32)

_msg_id = 1
_msg_id = 0

def _get_msg_id(self, **kwargs):
if 'msg_id' in kwargs:
Expand Down

0 comments on commit 6a8a62a

Please sign in to comment.