PP8S
ﺔﺤﻔﺻ
12
ﻦﻣ
35
If you wish to limit the charging to your devices whilst connected to your host system then you
can disable CDP on all ports by inputting the following commands
.
The CLI commands for turning off the sync charg options, with a 1 or 0 per port
.
settings_unlock
settings_reset
settings_set sync_chrg 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
settings_set alt_sync_chrg 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
reboot
This can also be done via the API if this is easier. Just supply that string (joined with \n) like
:
cbrxapi.cbrx_connection_set(handle, "Settings", "settings_unlock\nsettings_reset\nsettings_
set sync_chrg 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\nsettings_set alt_sync_chrg 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0\nreboot
("
Note that settings_reset clears any previous settings, so if you need to retain something else, it
would be better to issue settings_display first, which gives you the entire settings which you
can then modify and re-issue in entirity
.
5.2.3
Data Transfer
If you wish to transfer data, change applications, restore or update your mobile device, a data
connection to a local host computer is required. The hub is compatible with macOS®,
Windows™ and Linux® operating systems and can transfer data between these operating
systems and many mobile operating systems such as iOS™ and Android
.™
In order to transfer data, connect the host port to your local (host) computer using a
ﺬﻔﻨﻣ
USB
2.0
ﻦﻣ
عﻮﻨﻟا
A compliant cable. Any devices connected to the hub will now appear as if they
were connected to the host computer’s USB port
.
5.2.4
ﺔﻬﺟاو
لﺎﺼﺗﻻا
لﻮﻛﻮﺗوﺮﺒﻟاو
لا
PP8S
ﺮﻬﻈﻳ
ﺬﻔﻨﻤﻛ
ﻲﻠﺴﻠﺴﺗ
ﻲﺿاﺮﺘﻓا
ﻰﻤﺴﻳ)
ﺎًﻀﻳأ
UART
وأ
VCP
.(
ﻲﻓ
Microsoft ™ Windows
،
ﺮﻬﻈﻴﺳ
مﺎﻈﻨﻟا
ﺬﻔﻨﻤﻛ
COM
.
ﻰﻠﻋ
macOS
®
،
ﻢﺘﻳ
ءﺎﺸﻧإ
ﻒﻠﻣ
زﺎﻬﺟ
ﻲﻓ
ﻞﻴﻟﺪﻟا
./
اﺬﻫ
ﻦﻣ
ﻞﻜﺸﻟا
/
dev/tty.usbserial S
ﺚﻴﺣ
S
ةرﺎﺒﻋ
ﻦﻋ
ﺔﻠﺴﻠﺳ
ﺔﻴﻠﺴﻠﺴﺗ
ﺔﻳﺪﺠﺑأ
ﺔﻴﻤﻗر
ةﺪﻳﺮﻓ
ﻞﻜﻟ
.زﺎﻬﺟ
ﻦﻤﻀﺘﺗ
ةﺰﻬﺟﻷا
لﻮﺤﻣ
FT230X USB
ﻰﻟإ
UART IC
ﻦﻣ
FTDI International
.
ﻲﻓ
مﺎﻈﻧ
ﻞﻴﻐﺸﺘﻟا
Windows 7
وأ
ثﺪﺣﻷا
،
ﺪﻗ
ﻢﺘﻳ
ﺖﻴﺒﺜﺗ
ﺞﻣﺎﻧﺮﺑ
ﻞﻴﻐﺸﺘﻟا
ﺎًﻴﺋﺎﻘﻠﺗ
اذإ)
ﻢﺗ
ﻦﻳﻮﻜﺗ
Windows
ﻞﻳﺰﻨﺘﻟ
ﺞﻣاﺮﺑ
ﻞﻴﻐﺸﺘﻟا
ﻦﻣ
ﺖﻧﺮﺘﻧﻹا
.(ﺎًﻴﺋﺎﻘﻠﺗ