Bluetooth Android/Xamarin serial device transmission with empty outputstream -


i using xamarin.android connect bluetooth device uses serial port profile transmit optical sensor. device geared toward being used windows through com port, however, (supposed) able work bluetooth device.

i can set device , connect fine using createrfcommsockettoservicerecord(), , don't have problems pairing.

however, when connect device socket, begins receiving 0xffs bluetooth connection though nothing has been written output stream. can write output stream , read other end, flow of 0xffs not stop until close socket.

i have used several native android apps connect device , have issue.

when connect device on windows through com port, device transmits , receives data without problems.

has else ever experienced problem bluetooth-serial adapter before on android - , if so, there solution?


the spec sheet device can found here: http://www.probe-tec.com/documents/997-419%20probe-tec%20product%20sheet%20(2).pdf (it intended communicate smart power meters.)


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -