bravohe / sma-bluetooth

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

Use RS485 bus instead of blue tooth #113

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Sorry but a little off topic, not an issue with your software

What steps will reproduce the problem?
1. I do not have blue tooth
2. I have a RS485 connection with USB converter on linux (/dev/ttyUSB0)
3. I have data, but it looks strange, I thought PPP should begin with 0x7E 0xFF 
0x03 ... 0x7E
- But it does not end with 0x7E sometimes

What is the expected output? What do you see instead?
- I see data that does not look like real PPP protocol

What version of the product are you using? On what operating system?
- I use my own data dumper, on Linux (ARM)

What protocol is used on the wire???

I have these documents:
SMADAT-12-ZD0803.pdf

On page 13 it says 'Das SMA-Net Rahmen format' but it does not match what I see 
on the wire.

Please provide any additional information below.
This is on the wire (at 1200 baud 8 bit / No parity )

SMA:  7e ff 20 a8 54 1f 08 08 04 06 52 ba 6d 0b 51 38 2f ff
SMA:  7e ff 20 a8 54 1f 08 08 04 06 42 0a 91 91 64 00 80 80 40 44 12 d1 09 74 
02 9a 2a
SMA:  7e
SMA:  7e ff 20 a8 54 1f 48 08 04 04 5a 7a 25 01 20 06 bf
SMA:  7e ff 20 a8 94 10 a8 00 40 80 a1 28 08 14 04 ba da 0b 51 40 40 20 a0 07 
94 00 29 40 20 a0 0f c8 d6 cd 15 00 38 81 bc cd 81 23 e9 80 c3 5f 26 27 10 8c 
a9 03 02 01 d7 81 be 40 5d 20 10 90 08 c8 db 3c 00 d7 b3 72 40 29 2c 2e a8 13 
02 01 41 00 00 80 36 a1 ea 1d 01 ed 5e bf
SMA:  7e ff 20 a8 54 1f 28 08 04 04 5a 7a 25 01 f0 8c bf
SMA:  7e ff 20 a8 54 10 a8 00 40 80 a1 28 08 14 04 ba da 0b 51 40 40 20 a0 0e 
e8 07 c4 0a 0a 01 a1 00 86 5f 26 02 a2 09 c1 7d 33 88 d2 1e c8 ac cd 41 02 30 
49 72 20 b2 d0 4f 08 16 34 05 15 00 05 80 c5 61 28 a0 14 a6 01 ab a3 2e 28 13 
02 01 3d 00 00 80 da d0 ea 1d 01 fc 21 bf
SMA:  7e ff 20 a8 54 1f 68 08 04 04 5a 7a 25 01 9f 87 bf
SMA:  7e ff 20 a8 d4 10 a8 00 40 80 a1 28 08 14 04 ba da 0b 51 40 40 20 20 29 
c8 0a c2 05 05 00 ea 80 c3 5f a6 29 10 01 08 8a eb 52 0f c8 d6 cd e1 01 bc 92 
0e a8 0a 7a 02 81 40 57 50 08 a8 04 04 2e 46 80 de 72 5c 90 8f cb 40 6f 20 20 
50 c9 01 00 00 da 84 ea 1d 01 f2 f5 bf

Original issue reported on code.google.com by oetelaar.automatisering on 1 Feb 2013 at 10:16