Android Question BLE library, How do I send "255" "FF"?

Similar threads

B4A Library [B4X] BLE 2 - Bluetooth Low Energy
B4A Code Snippet Theme Colors
B4A Tutorial CharSequence / CSBuilder Tutorial
B4A Library BLE Peripheral
B4A Tutorial BLE - Heart Rate Monitor

webkumanda

Member
Licensed User
Hi,

I can not send BLE "255" or hex "FF" , I send "0-127".
How do I send a number greater than 127?

Sub Button3_Click

s = cs.Get(5)
c = s.GetCharacteristics.GetValueAt(0)
c.SetStringValue(CHR(255)) '

End Sub
 

webkumanda

Member
Licensed User
Yes , I using BleExtended library.

I not send "128 - 255",

If I send "128" then code sending 3 byte "65" & "50" & "56" ( character "1" , "2" , "8" )
 
Top