Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sendig String/Text data #159

Open
Brainiac-88 opened this issue Dec 2, 2018 · 1 comment
Open

Sendig String/Text data #159

Brainiac-88 opened this issue Dec 2, 2018 · 1 comment

Comments

@Brainiac-88
Copy link

Hi,

I'm using this plugin and I can connect to my device. On the server side is running a nodejs(bleno). But I cannot send utf8 text message, in the writeCharacteristic(...). On the node side I always get: ��e value.

From another app for example: LightBlue it works fine and I can send and display utf8 text messages.

How can I send string messages?

Thanks.

@Brainiac-88
Copy link
Author

I Found myself!
The key concept was: evothings.ble.toUtf8(str)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant