General > General Technical Chat
Is there a generic recipe for adding a wireless debug output to a gadget?
(1/1)
e100:
As in you would like to monitor some parameter on the gadget, such as battery voltage etc. using Bluetooth or WiFi on a Android phone without having to write a custom Android application to handle the communication?
nali:
There are some predefined BT profiles such as Heart Rate, Battery Voltage which you could emulate then use already availiable apps to monitor.
Berni:
Present yourself as a Bluetooth serial port, then use a terminal application to show the serial data coming trough it.
nctnico:
--- Quote from: Berni on July 21, 2023, 09:17:01 am ---Present yourself as a Bluetooth serial port, then use a terminal application to show the serial data coming trough it.
--- End quote ---
I have implemented this for a project and it works like a charm. Extra credits for implementing a command line interface.
SiliconWizard:
a BT serial port if you have BT support would probably be the easiest path.
Otherwise, if you have WiFi support, you can also send debug info via UDP, much simpler than handling TCP.
Navigation
[0] Message Index
Go to full version