jonneytest / sma-bluetooth

Automatically exported from code.google.com/p/sma-bluetooth
0 stars 0 forks source link

SB5000TL-20 only signal strength, pass correct (verified with sunny explorer) #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ./smatool -v -from "2011-06-29 00:00:00" -to "2011-06-29 23:55:00" 

What is the expected output? What do you see instead?
I would expect it to behave as stated in the wiki. Instead i get this:

QUERY RANGE    from 2011-06-29 00:00:00 to 2011-06-29 23:55:00
Address 00:80:25:1C:43:90
bluetooth signal = 72%
sending password XXXXXserial=00:7d:32:51
bluetooth signal = 72%
bluetooth signal = 72%
Timeout reading bluetooth socket
bluetooth signal = 72%
sending password XXXXXserial=00:7d:32:51
bluetooth signal = 72%
bluetooth signal = 72%
Timeout reading bluetooth socket
bluetooth signal = 72%
sending password XXXXXserial=00:7d:32:51
bluetooth signal = 72%
bluetooth signal = 72%
Timeout reading bluetooth socket
bluetooth signal = 73%
sending password XXXXXserial=00:7d:32:51
bluetooth signal = 73%
bluetooth signal = 73%
Timeout reading bluetooth socket

after 4 of these timeout messages it quits

What version of the product are you using? On what operating system?
0.13
Debian Squeeze
Linux yoda 2.6.32-5-xen-686 #1 SMP Wed Mar 9 01:27:54 UTC 2011 i686 GNU/Linux

Please provide any additional information below.
i 've seen this problem quite a few times already on this forum... and
people always respond to this with "make sure the password is
correct"... well, i've typed the password on the same machine, same
keyboard settings
* in sunny explorer -> works ok to log in.
* In putty session to debian box typed in in config file -> doesnt
seem to work

so i guess it's not really the password but some other thing. Maybe
the SBx000TL-20 send password encoded differntly than before?
dunno.... need to do some sniffing with the windows laptop, but only
have one BT dongle, and it's currently in the debian box (which i need
to get on a chair and move a bunch of garbage to have access to ;/ )

see debug output (trunctated after first cycle, and modified the
password)

It seems that after sending the password [33], the SB replies with the
serial [35] or do i see that incorrectly?
After receiving the serial, it sends something, and then it receives
the BT signal strength...

After that, it seems to receive a whole host of data that it doens't
recognize... the data it expects seems to be a lot shorter than what
it receives (e.g. length 5a expected vs length 6d received)

until it stops receiving (i guess) and "times out" and then retries...

Original issue reported on code.google.com by michael....@gmail.com on 16 Jul 2011 at 10:32

Attachments:

GoogleCodeExporter commented 8 years ago
Have you tried setting your timeout value higher than 15?

Original comment by adam.qui...@gmail.com on 18 Jul 2011 at 1:17

GoogleCodeExporter commented 8 years ago
alas, that doesn't help :(
(the debug log shows i had it set to 15 already)

trying with 30 doesn't help either...

Original comment by michael....@gmail.com on 18 Jul 2011 at 6:15

GoogleCodeExporter commented 8 years ago
It looks much like my issue.

Original comment by buzzi.la...@gmail.com on 20 Jul 2011 at 7:26

GoogleCodeExporter commented 8 years ago
I believe the above message, is because you have the wrong password set in the 
smatool.conf file.
set the password to 0000 and that should fix the problem.

Original comment by masd...@gmail.com on 23 Sep 2011 at 7:21

GoogleCodeExporter commented 8 years ago
thanx for the try, but maybe you should have read the OP better: it says 
"verified pass with sunny explorer". This means i used the same pass in sunny 
explorer as in the smatool.conf file and in sunny explorer it works.

Original comment by michael....@gmail.com on 24 Sep 2011 at 6:40

GoogleCodeExporter commented 8 years ago
Got a somewhat same problem here.

Using a "secure" passwort containing numbers and characters i cannot connect 
using smatool, but sunny explorer works fine.

Setting the passwort to "0000" on the SMA using sunny explorer and setting 0000 
in smatool.conf and ... it works!!

So i suggest for testing: always set your password to 0000.
If confirmed that all works, change your password and test again - if it does 
not work - try another password (for now) ... anyone got an idea why some 
passwords do not work?

Original comment by ste...@gmx.de on 1 Jun 2012 at 12:08

GoogleCodeExporter commented 8 years ago
Same problem here on SB3000TL-21.

1. tryed with default password 0000.
2. tryed with password 2233.
3. tryed from commandline setting -p of via smatoolconf.
4. set higher timeout value

no results

Original comment by reddiecr...@hotmail.com on 20 Jul 2012 at 12:30