Akash Xavier RSS


About

Everything interesting that I come across in my life, I post it here.

Social
Feb
11th
Wed
permalink

PyS60 Bluetooth stress tests

I’ve been testing my phone’s bluetooth connection to my PC.

Here’s my config: Nokia N70 phone programmed in PyS60, PC with Ubuntu Linux kernel 8.04, Bluez, PyBluez and programmed in Python. And my phone and PC are sending data almost every half second, so there’s no chance of a timeout due to idle connection.

Feb 9:

Connection lasts only for 20-30 minutes. After that the phone’s bluetooth isn’t detectable by the PC and the phone’s bluetooth has to be restarted.

Feb 10:

Conditions worsens after a workaround. The script on phone works fine only for around 10 minutes. Then a broken pipe error is returned. Bluetooth doesn’t require a restart as before but the script needs to be restarted. My battery is drained out quickly. No idea why. The same happens again during midnight.

Feb 11:

Phone fully charged up. Started phone and PC scripts at 7:45am. Connection surprisingly withstands until 10am. Received broken pipe error. Bluetooth needs restart again. Called up Nokia customer care. Reset the phone’s settings. Connection started again at 10:15am. Connection is again surpassing previous active connection time. It’s 1:30pm and connection is still on. It’s been around 3 hours. Battery usage is fine. Just 30% of the battery has been drained out since morning.

update: I shutdown the phone’s script manually at 2pm to recharge the phone’s battery. The script working for 4hrs approx is proof that it can manage the load. Looking forward for an error-free launch today evening.