MuSAELab/BLE-Toolkit-LabVIEW

Error -1073807339 occurred at VISA Read in ble_read_message.vi

Opened this issue · 15 comments

oem-1 commented

Error 390 occurred at the Attclient Attribute Write.

ble_read_specific_message.vi
ble_rsp_gap_connect_direct.vi
ble_connect_to_device.vi

LabVIEW Error -1073807339 (BFFF0015h) is Timeout expired before operation completed.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019L3mSAE&l=en-CA

Try the solutions in the link.

It may be the case that a wrong COM number was selected, that the device is not dongle is connected in other software, or other type of connection troubles.

Closing issue as the error is not related to the Toolkit

oem-1 commented

Hmmm... I currently have COM-2 assigned for the Dongle and COM-5 for the KORAD power supply.
BT-41 Error loading.docx

oem-1 commented

Did you have any issue at connecting to your BLE device with the BlueGiga software (BLUEGUI)?

oem-1 commented

From the shared document:

image

It seems the error happens at attempt to connect the BLED dongle to the BLE device, the calling stack is:

ble_connect_to_device.vi > ble_rsp_gap_connect_direct.vi > ble_read_specific_message.vi > ble_read_message

The Connet Direct command is sent by ble_connect_to_device.vi > ble_cmd_gap_connect_direct.vi, then the response with MessageID = 0x03 never occurs.

Thus, the problem is at getting a connection with the device, unless this is solved any other command will give an error. First, it's necessary to have a connection with the device, two potential sources of the problem are:

  • Wrong MAC or wrong AddressType. Verify that these values are correct.
  • The BLE device reply to the connection command cannot be handled by the BLED dongle, thus the dongle does not relay it to the Toolkit.

Are you using a commercial BLE device, or custom made?

Try first to stablish a connection with the BlueGiga GUI software. Since this Toolkit is an implementation of the BlueGiga API, if the connection fails with the BlueGiga GUI software, it will certainly fail with the Toolkit.

oem-1 commented
oem-1 commented
oem-1 commented

Hi Lucio,

Your previous messages did not contained the "current error that you are getting."
If you can, respond on GitHub, it's easier to format the messages.

Can you provide more information on your setup?

  • In the PC side, as you using the BLED112 USB dongle?
  • What the target device you want to connect to?
  • Are you able to connect your PC through the BLED112 dongle to you target device?
oem-1 commented

Files attached to your reply to the GitHub message are sent as GitHub does not support files attached.
Please upload it somewhere and post the link, or send them to my email address.

oem-1 commented

what is your email address?

oem-1 commented

Please advise another way to send it to you.

Please upload it somewhere (for example Google drive, Dropbox) and post the link
Or send them to my email address: raymundo.cassani@gmail.com