Android Question BLE2 Help Please!

Status
Not open for further replies.

seskindell

Active Member
Licensed User
Longtime User
Hi ... I finally got the app to read the UUID strings that need to turn on the accelerometer and then
read the x,y,z coordinates in real time.

I found a great app in the play store for finding out information regarding the UUID's.
The app is called "nRF Connect". I found it can read values even if the current device is bonded/paired.

This is the current information I found for the UUID's for my device OLP425-7539 which is a small
battery operated u-blox sensor. Any help in how I can read the x,y,z coordinates and how to turn the accel. on would be greatly appreciated!!!

*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
Class not found: b4a.example.customlistview, trying: b4a.example3.customlistview
** Activity (main) Resume **
Found: OLP425-7539, 20:CD:39:7A:75:39, RSSI = -64, (MyMap) {1=[B@a9f828b, 10=[B@22331f68, 2=[B@15c63f81, 9=[B@b888826, 7=[B@3601bc67, 0=[B@24ceca14}
Discovering services.
Connected
00001800-0000-1000-8000-00805f9b34fb
00001801-0000-1000-8000-00805f9b34fb
0000180a-0000-1000-8000-00805f9b34fb
0000180f-0000-1000-8000-00805f9b34fb
0000ffd0-0000-1000-8000-00805f9b34fb
0000ffa0-0000-1000-8000-00805f9b34fb
0000ffe0-0000-1000-8000-00805f9b34fb
2456e1b9-26e2-8f83-e744-f34f01e9d701
primary service
0000ffa0-0000-1000-8000-00805f9b34fb
Unknown Characteristic (probably to toggle accel on or off)
-----------------------------------------------------------
UUID: 0000ffa1-0000-1000-8000-00805f9b34fb
Properties: READ, WRITE
Value: (0x) 00
-------------------------------------------
Descriptions:
Characteristic User Description
UUID: 0x2901
Value: Accel Enable
Unknown Characteristic (read current x coord)
------------------------------------------------
UUID: 0000ffa3-0000-1000-8000-00805f9b34fb
Properties: NOTIFY, READ
Value: (0x) FD
------------------------------------------------
Descriptors:
Client Charcteristic Configuration
UUID: 0x2902
Client Charcteristic Configuration
UUID: 0x2901
Value: Accel X-Coorinate
unknown characteristic (read current y coordinate)
------------------------------------------------
UUID: 0000ffa2-0000-1000-8000-00805f9b34fb
Properties: NOTIFY, READ
Value: (0x) FD
------------------------------------------------
UUID: 0x2902
UUID: 0x2901
Value: Accel Y-Coordinate
unknown characteristic (read current z coordinate)
--------------------------------------------------
UUID: 0000ffa5-0000-1000-8000-00805f9b34fb
Properties: NOTIFY, READ
Value: (0x) 0B
----------------------------------------
Client Charateristic Configuration
UUID: 0x2902
UUID: 0x2901
(Accel Z-Coordinate)
 
Status
Not open for further replies.
Top