03-21-2023, 08:14 PM
(01-09-2023, 11:09 AM)Dominik Dorsel Wrote: Hey Mauro,
are you working with our phyphoxBLE-Arduino library? If so you have to insert the uuid:
Code:cddf1002-30f7-4671-8b43-5e40ba53514a
We used these when initializing the server (GitHub).
Furthermore you have to specify which type of data is send. If you are using our library you will probably send float values - so use the conversion function "float32LittleEndian".
Feel free to ask if you have further questions. Unfortunately we dont have written guide/tutorial on this topic since most of these parameter/terms are bluetooth low energy specific and therefore too much overhead for our normal users.
Cheers
Dominik
Hi Dominik,
I am really a beginner, so forgive me: I managed to send one value to one characteristic using the uuid you suggested. If I want to send two or more values with phyphoxBLE::write(val1, val2) for example, how do I need to configure the bluetooth outputs on the phyphox Editor? If I create two outputs with the same uuid as above I only get val1 repeated twice instead of having val1 and val2 in the two outputs of the Editor. Clearly, I have not fully grasped how the BLE device and the Editor really work in connection, so some help would be greatly appreciated.
Many thanks,
Mauro