You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by shouvikbajpayee October 22, 2024
I have built a custom bluetooth package using C++ to be compiled in node and be used with node applications specifically in windows. The package is built using the protocol "BTHPROTO_RFCOMM".
I am using '@ionic-native/bluetooth-serial' package in my android app built using ionic capacitor for bluetooth functionalities.
When I am creating a connection over bluetooth from my desktop app to the android device, it is getting created properly.
But when I am trying to send string data or files to the connected device via bluetooth, the data and file is getting sent from the sender desktop app, but not getting received in the receiver android app.
What could be the possible reasons? Please help.
Following checks I have already done::
Data Not Flushed or Sent Properly from the Sender [checked - not solving the issue]
Mismatched Data Encoding [checked - both packages are using 'UTF-8' encoding]
Improper Buffer Handling on the Receiver Side [checked - not solving the issue]
Timing Issues [checked - not solving the issue]
Bluetooth Connection Issues or Data Packet Loss (will check - seems like the problem what we are facing)
Incorrect Read Buffer Size on the Receiver [checked - data being sent is within the buffer capacity of 1024 bytes]
Flow Control Mismatch [checked - not solving the issue]
The text was updated successfully, but these errors were encountered:
Discussed in #4862
Originally posted by shouvikbajpayee October 22, 2024
I have built a custom bluetooth package using C++ to be compiled in node and be used with node applications specifically in windows. The package is built using the protocol "BTHPROTO_RFCOMM".
I am using '@ionic-native/bluetooth-serial' package in my android app built using ionic capacitor for bluetooth functionalities.
When I am creating a connection over bluetooth from my desktop app to the android device, it is getting created properly.
But when I am trying to send string data or files to the connected device via bluetooth, the data and file is getting sent from the sender desktop app, but not getting received in the receiver android app.
What could be the possible reasons? Please help.
Following checks I have already done::
Data Not Flushed or Sent Properly from the Sender [checked - not solving the issue]
Mismatched Data Encoding [checked - both packages are using 'UTF-8' encoding]
Improper Buffer Handling on the Receiver Side [checked - not solving the issue]
Timing Issues [checked - not solving the issue]
Bluetooth Connection Issues or Data Packet Loss (will check - seems like the problem what we are facing)
Incorrect Read Buffer Size on the Receiver [checked - data being sent is within the buffer capacity of 1024 bytes]
Flow Control Mismatch [checked - not solving the issue]
The text was updated successfully, but these errors were encountered: