open_source:ccgx:commandline
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
open_source:ccgx:commandline [2021-01-19 13:15] – [1.2 Use a normal tool instead of the command line] guystewart | open_source:ccgx:commandline [2021-03-03 10:14] – [4.4 vreg: changing settings from the command line] mvader | ||
---|---|---|---|
Line 342: | Line 342: | ||
Victron Energy B.V. | Victron Energy B.V. | ||
+ | </ | ||
+ | |||
+ | Example of switching a solar charger off, and then on | ||
+ | < | ||
+ | OFF: (vreg 0x0200, value 4) | ||
+ | ccgx:~# vreg -n 0x45 -s 0x0200 un8:0x04 | ||
+ | # NAD 0x45, reg=0x200 | ||
+ | 0x04 0x00 0x00 0x00 | ||
+ | |||
+ | ON: (vreg 0x0200, value 1) | ||
+ | root@ccgx: | ||
+ | # NAD 0x45, reg=0x200 | ||
+ | 0x01 0x00 0x00 0x00 | ||
+ | root@ccgx: | ||
+ | |||
+ | Gets can be broadcasted, | ||
+ | |||
+ | vreg -c socketcan: | ||
+ | root@einstein: | ||
+ | # reminder, there are no error indications when broadcasting! | ||
+ | # NAD 0x24, reg=0x200 | ||
+ | 0x01 0x00 0x00 0x00 | ||
+ | # NAD 0x25, reg=0x200 | ||
+ | 0x01 0x00 0x00 0x00 | ||
+ | # NAD 0x26, reg=0x200 | ||
+ | 0x01 0x00 0x00 0x00 | ||
+ | and so forth | ||
</ | </ | ||
===== 5. VE.Direct products ===== | ===== 5. VE.Direct products ===== |
open_source/ccgx/commandline.txt · Last modified: 2023-05-07 10:00 by mvader