So I’ve been playing with all the current BLE examples that are available and they all work.
Now what I’m needing help with is creating a simple code template for broadcasting messages out over BLE UART so I can see this data stream using an app like Adafruit’s BlueFruit Application on my phone or tablet.
I know how to create formatted payloads for sending out Particle.Publish() events from my Photons, Electrons, and Borons.
Can somebody share a simple code snippet showing how we can broadcast a payload over BLE that’s similar to how we broadcast a payload out via Particle.Publish()?
I mainly would just like a easy way to broadcast something like:
Floats / for things like Voltage, Temp, Humidity, GPS coordinates…
Integers / for things like SOC 0-100…
Char / For sending out Text Characters and messages.
If anybody is up for this I’m sure it would be appreciated by all us not so advanced guys who are excited about the BLE features but are having trouble taking advantage of it.