Bluno General Arduino

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

userHead triller.ducas72 2018-06-11 21:42:30 2425 Views3 Replies
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
Code: Select all
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
Connection has been established and the listener returns the output as mentioned above,
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
[Mac][LE] > char-read-hnd 0x0025
handle : 0x0025 value : 01
Am not sure on what am missing. I expect the value to be 32 !!!! Any help appreciated.
2018-06-14 11: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. userHeadPic robert.chen
2018-06-13 17: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 ?
userHeadPic triller.ducas72
2018-06-13 14: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. userHeadPic robert.chen