-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreadme.txt
More file actions
33 lines (20 loc) · 731 Bytes
/
readme.txt
File metadata and controls
33 lines (20 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
command to start test program, this will start can0 and expects signals on can0
$ sudo python3 dummyTSUN.py
The above is all you need if you're connected to the inverter, however...
IF can0 and can1 are connected for testing...
start can1
$ sudo /sbin/ip link set can1 up type can bitrate 500000
start can dump
candump can1
simulate the inverter by sending messages
4200/0
$ cansend can1 00004200#0000000000000000
4200/1
$ cansend can1 00004200#0200000000000000
Below is sample output displayed by the python program upon receiving messages for the inverter
Message Received 4200
Received: 4200 msg_type: 0
Ensemble Response Sent
Message Received 4200
Received: 4200 msg_type: 2
System Info Response Sent