Forum >Bluno GATT Characteristics : char-read-uuid always shows 01
Bluno GATT Characteristics : char-read-uuid always shows 01

I am trying to connect Bluno with RPI3 and I tried passing serial data.
Whilst the connection has been established sucessfully , I am current struck in a strange problem.
When i run the following command in RPI3
PS : From bluno i sent Serial.print(String(2)); and I get the HEX value.
Now , when i try to retrieve the value with the below commands ( through UUID / handle) , i always get 01 ?
Whilst the connection has been established sucessfully , I am current struck in a strange problem.
When i run the following command in RPI3
Code: Select all
Connection has been established and the listener returns the output as mentioned above,sudo gatttool -b <Mac> -I [Mac][LE] > connect Attempting to connect to <Mac> Connection Successful Notification handle = 0x0025 value : 32 Notification handle = 0x0025 value : 32 Notification handle = 0x0025 value : 32 Notification handle = 0x0025 value : 32 Notification handle = 0x0025 value : 32
PS : From bluno i sent Serial.print(String(2)); and I get the HEX value.
Now , when i try to retrieve the value with the below commands ( through UUID / handle) , i always get 01 ?
Code: Select all
[Mac][LE] > char-read-uuid dfb1 handle : 0x0025 value : 01
Code: Select all
Am not sure on what am missing. I expect the value to be 32 !!!! Any help appreciated.[Mac][LE] > char-read-hnd 0x0025 handle : 0x0025 value : 01
2018-06-14 19:24:26 Actually what I mean is the Bluetooth communication could only be between two Bluno devices, only if you have two Bluno devices, then one connect to Rpi by USB cable, and then pair the two Bluno devices, then the communication between two blunos and your Rpi communicate with one Bluno by Uart, that's the way for Bluetooth usage between Bluno and Rpi, you can't send data directly from Rpi to Bluno.
robert.chen

2018-06-14 01:50:26 I Used Rpi3's inbuilt BLE , I could pair and connect the devices successfully. (Infact like I had said I could see the Hex data in the Listen mode)
Do you reckon having a seperate BLE dongle would help in getting the value through char-read-hnd command ?
triller.ducas72
Do you reckon having a seperate BLE dongle would help in getting the value through char-read-hnd command ?

2018-06-13 22:36:36 Do you connect the Bluno to Rpi directly? Rpi can't send data directly to Bluno, you need a BLE dongle at least.
robert.chen
