B4A Library BLE Peripheral - Erel    Oct 07, 2018   (21 reactions) A BLE connection is made between a central device and a peripheral device. In most cases the Android device will be the central device. Beacons, heart rate sensors and other BLE devices are implemented as peripheral device. However the Android device can also implement the peripheral role. This is B4A Question BLE WriteData - fjb    Nov 30, 2022 WriteData (Service As String, Characteristic As String, Data() As Byte)
Is there a way to write a large string or series of values with this method?
for example
102,111,254,254,126,050
when I try to write those values to the arduino i only get the first block of value. (102)
Android has a BLEStringC B4A Question BLE2 WriteData - Steve-h    Feb 11, 2022 I am using :-
manager.WriteData(serveuuid,txuuid,n.GetBytes("utf8"))
Where
serveruuid is the remote ble service
txuuid is the remote ble characteristic
n is a string containing hex value from 0000 to FFFF
What I receive at the other end is 3030 to 6666. Why is that and How can I correctly s B4A Question BLE2 WriteData to RN4871 BLE stops sending data after 8 transmissions - dxptech    May 30, 2022 HexToBytes(myStr)
'manager.WriteData(serveuuid,txuuid, myStr.GetBytes("utf8"))
'manager.WriteData(serveuuid,txuuid, send)
sndArray(0) = 120
sndArray(1) = 0x13
sndArray(2) = 0x0a
manager.WriteData(serveuuid,txuuid, sndArray)
flipflop = B4A Question BLE 2 - WriteData - emexes (first post)    Jun 30, 2020   (1 reaction) You can get Service and Characteristic IDs when you connect to the device and do a ReadData, but I think these are usually of readable characteristics rather than the writeable ones.
User nRF Connect app (free ✌) to manually connect up to the device and explore what it offers. Pretty sure it will B4A Question BLE2 WriteData - f0raster0 (first post)    Jan 02, 2022 to write try some way like that
WriteData("6e400001-b5a3-f393-e0a9-e50e24dcca9e", "6e400002-b5a3-f393-e0a9-e50e24dcca9e", Array As Byte(1)) B4A Question BLE2 Using WriteData to send a string Write Without Response - Erel (first post)    Jan 04, 2022 manager.WriteData(serveuuid,rxuuid, "your string here".GetBytes("utf8")) B4A Question Newbie issue with java.lang.RuntimeException: Service not found working with BLE - emexes (first post)    Dec 28, 2022   (1 reaction) I don't know if this is true for all BLE devices, but for the two I just went through here: every WRITEable characteristic is also READable.
= maybe characteristics can't be WRITE-only, always have to be readable too, in which case .ReadData is effectively listing all characteristics, and maybe tha B4A Question BLE2 Library problem - f0raster0 (first post)    Jan 05, 2020   (1 reaction) ********* Write data to your BLE Module**********
Look this:
manager.WriteData("service id", "char id", HMString.GetBytes("UTF8")) 'replace the ids
in this link to send data to BLE modules
https://www.b4x.com/android/forum/threads/ble-2-bluetooth-low-energy.59937/page-4#post-409128
In your code wri B4A Library Customise your BLE GATT Service with BLE Peripheral 2 Enhanced - Peter Simpson    Feb 11, 2024   (24 reactions) Usage: CharacteristicUUID As String, Read As Boolean, Write As Boolean, Notify As Boolean. Example: CreateCharacteristicUUIDs("CharacteristicUUID,Read,Write,Notify", "CharacteristicUUID,Read,Write,Notify", ...) CreatePrimaryServiceUUID As String Create the primary service UUID. The primary service Page: 1   2   3   4   5   6   7   Powered by ColBERT |