Madz
December 8, 2022, 5:55pm
1
Hello,
I'm trying to send a large number (ex: 1234567890) to arduino via bluetooth client.
Recieve from arduino it's ok the same number or other number.
From the phone to arduino is not possible, the value recieved in the arduino is not the correct one.
Using the example of 1234567890 arduino recieves 138.
Is there any limititation?
thank you.
How did you send the number of the app to the Arduino?
The easiest way is to send it as text.
2.- Comments.
[bluetoothbasico15]
First we connect the Server, then the Client. When they are connected, click on "Start Clock" to start receiving data
1.--
We can send a Text: "El ñandú tiene 46 años." and receive it as a text on the Client.
We can also receive that text as UnsignedBytes, we will obtain a list with the ASCII value of each character:
[69, 108, 32, 195, 177, 97, 110, 100, 195, 186, 32, 116, 105, 101, 110, 101, 32, 52, 54, 32, 97, 195, 177, 111, 115 , 46]
If we rec…
Madz
December 8, 2022, 6:47pm
3
The point of this is to store a value in the phone to resend to arduino when it's needed.
How can it be sent as text?
ClienteBluetooth1.SendText.
Madz
December 8, 2022, 7:08pm
5
Thank you so much @Juan_Antonio . It solved the problem.
system
Closed
December 15, 2022, 7:08pm
6
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.