Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Reading bluetooth low engery data from Andriod App using bluetooth dongle

Status
Not open for further replies.

musclemania05

Junior Member level 2
Junior Member level 2
Joined
Feb 9, 2016
Messages
22
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
197
I am having a problem connecting and sending Bluetooth low energy data from a custom built app I created in android studio to a BLE dongle. The app I created has 4 virtual push buttons and every time I press one these buttons its send a 4bit number letting the Bluetooth dongle( peripheral) know. The problem is that when I use "hcidump" in Linux I cant read anything. which I figured is how I can view this data.

One of the problems I believe I am having is that I need to advertise some command that lets the app know what information I want. If this is the case I'm unsure what to send, to notify the app that I want to read the states of the virtual pushbuttons.

I am able to bring up the ble dongle in Linux and the app is able to discovery the ble dongle as well they will connect for a short period then disconnect cause as I said the app is waiting for some kind of characteristic/service or so is what I believe?
 

Hi,

Please draw a draft of the complete flow of data.

Who sends data, in wich format?
Who receives the data?
What is inbetween? Serial communication (voltage levels, setup)? USB?

Klaus
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top