I am trying to send 2 commands to a bluetooth device but get the error message "You must call EndWrite() after BeginWrite()". This is my code that I have been trying to debug for weeks. It looks like other code posted in the forum so I don't know what is missing. Can anyone see the problem? Thank you