Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.

Commit

Permalink
Update test_downlink.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pjb304 authored May 21, 2021
1 parent 08bf875 commit d6a5152
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test_downlink.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ def downlinkCallback(payload,mtype):
payload: bytearray
mtype: one of UNCONF_DATA_DOWN or CONF_DATA_DOWN
'''
global callbackReceived
callbackReceived = True
print("downlink message received")

if mtype==MHDR.UNCONF_DATA_DOWN:
Expand Down

0 comments on commit d6a5152

Please sign in to comment.