Author Topic: Is there a generic recipe for adding a wireless debug output to a gadget?  (Read 566 times)

0 Members and 1 Guest are viewing this topic.

Offline e100Topic starter

  • Frequent Contributor
  • **
  • Posts: 606
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?
 

Offline nali

  • Frequent Contributor
  • **
  • Posts: 732
  • Country: gb
There are some predefined BT profiles such as Heart Rate, Battery Voltage which you could emulate then use already availiable apps to monitor.
 

Offline Berni

  • Super Contributor
  • ***
  • Posts: 5050
  • Country: si
Present yourself as a Bluetooth serial port, then use a terminal application to show the serial data coming trough it.
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 28429
  • Country: nl
    • NCT Developments
Present yourself as a Bluetooth serial port, then use a terminal application to show the serial data coming trough it.
I have implemented this for a project and it works like a charm. Extra credits for implementing a command line interface.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15800
  • Country: fr
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.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf