Forum >Partial data received from Bluno Beetle v4.0
Partial data received from Bluno Beetle v4.0

Hello,
I have bluno beetle v4.0 board and connecting to raspberry pi board via BLE.
https://www.dfrobot.com/product-1259.html
Frequently we are seeing the data corruption or not complete data received (partial data), what could be the issue here, as we are able to get the complete data from other BLE vendor boards.
We are using more bluno boards on our products and we are receiving partial data frequently.
Can you please help us to solve the issue?
Thanks.
bluno code:
Output:
Connecting... f0:45:da:10:bc:90
Connected to Bluno
Notify write
Waiting...
0123456789abcdef
Waiting...
0123456789abcdef
Waiting...
0123456789abcd
ef
Waiting...
0123456789abcdef
Waiting...
012345678
9abcdef
Waiting...
0123456789abcdef
I have bluno beetle v4.0 board and connecting to raspberry pi board via BLE.
https://www.dfrobot.com/product-1259.html
Frequently we are seeing the data corruption or not complete data received (partial data), what could be the issue here, as we are able to get the complete data from other BLE vendor boards.
We are using more bluno boards on our products and we are receiving partial data frequently.
Can you please help us to solve the issue?
Thanks.
bluno code:
Code: Select all
Raspberry python code to receive the data from bluno:
void setup() { Serial.begin(9600); } void loop() { String output = "0123456789abcdef"; Serial.print(output); delay(1000); }
Code: Select all
print("Waiting...")from bluepy import btle import time class MyDelegate(btle.DefaultDelegate): def __init__(self): btle.DefaultDelegate.__init__(self) def handleNotification(self, cHandle, data): decoded_data = data.decode('utf_8') print(decoded_data) print("Connecting... f0:45:da:10:bc:90") p = btle.Peripheral("f0:45:da:10:bc:90") print("Connected to Bluno") p.setDelegate( MyDelegate() ) # Setup to turn notifications on, e.g. svc = p.getServiceByUUID("0000dfb0-0000-1000-8000-00805f9b34fb") while True: if p.waitForNotifications(1.0): print("Notified!") continue
Output:
Connecting... f0:45:da:10:bc:90
Connected to Bluno
Notify write
Waiting...
0123456789abcdef
Waiting...
0123456789abcdef
Waiting...
0123456789abcd
ef
Waiting...
0123456789abcdef
Waiting...
012345678
9abcdef
Waiting...
0123456789abcdef