These remedies apply to the case when you receive no data and you get this warning message:
'Bluetooth' unable to read any data
When using the Bluetooth® interface for:
Reading ASCII (text) data using the fscanf
,
fgets
, or fgetl
functions
Reading binary data using the fread
function
Reading binblock data using the binblockread
function
these are possible causes and remedies:
Cause | Solution |
---|---|
An invalid command was sent to the device, so there is a problem reading the response to the command. | Check your device manual for proper command formatting. |
An incorrect write terminator was sent to the instrument before attempting to read data, so there is no data to read. | Verify that the Terminator property is set to the
value required by your device. For more information about setting the
property, see Terminator . |
An incorrect RemoteName ,
RemoteID , or Channel was
used. | Verify that the device is paired and connected. |