For my application I need to wait approximately two minutes between two RPC calls. My code goes something like this:
When I run this, the two Rpc calls are consistently made immediately after one another after the two minute delay. I've been reading about the packet buffer in the snapconnect documentation but I still don't know how to get these functions to run at different times. Any help or similar experiences is greatly appreciated!
Code:
snap.Snap.Rpc(target_mac, 'func') wait_two_minutes() # nested loops that do nothing snap.Snap.Rpc(target_mac, 'func')
Comment