qca / open-plc-utils Goto Github PK
View Code? Open in Web Editor NEWQualcomm Atheros Open Powerline Toolkit.
License: Other
Qualcomm Atheros Open Powerline Toolkit.
License: Other
I'm helping out a guy that uses them as part of a script which offers a basic GUI for showing the status of a varitey of Homeplugs. While doing so, I have noticed that they incorrectly show the max speed of the Netgear PL1200s being only 128 mb and are not able to correctly show the speed of one of them that are on the network (one of them is showing a speed of 255 mb when it should be showing a speed of1060 mb or so). If anyone is interested in the script, you can get it by going to http://forum.ethernetovercoax.eu/index.php?topic=126.0.
If plchostd is called with parameter S, the program abort with an error:
$ plchostd -N MAC-QCA7000.nvm -P QCA7000.pib -S NvmSoftloader-QCA7000.nvm
plchostd: option 'S' has no meaning.
Expected behavior:
plchostd starts normal
Hi all,
The docbook says the following in the chapter Toolkit Installation on Windows 7™:
The Windows™ version of the toolkit comes pre-compiled and ready to install and run using the native Windows Installer. You may copy and distribute installation file plc-utils-x.x.x.msi.
Can you please tell me where I can find these files? There are some references to FTP locations, but none of those work (anymore).
The body of the code references an undefined symbol "networks" and further references networks->NUMAVLNS where no such field is defined in any of the structs declared.
I'm trying to change the DAK on a QCA7000 with modpib and plctool, but it does not change. All other settings I try to change work. Any ideas?
$ modpib -D 09:C5:AB:AD:F9:FF:2C:5E:D8:A1:9D:CF:BB:E9:65:80 -v QCA7000-SpiSlave-HomePlugGP_CE-ClassB.pib
PIB 0-0 0 bytes
MAC 00:05:FE:44:A5:A7
DAK 09:C5:AB:AD:F9:FF:2C:5E:D8:A1:9D:CF:BB:E9:65:80
NMK 50:D3:E4:93:3F:85:5B:70:40:78:4D:F8:15:AA:8D:B7 (HomePlugAV)
NID B0:F2:E6:95:66:6B:03
NET Qualcomm Atheros Enabled Network
MFG Qualcomm Atheros HomePlug AV Device
USR Qualcomm Atheros Enabled Product
CCo Auto
MDU N/A
$ plctool -P QCA7000-SpiSlave-HomePlugGP_CE-ClassB.pib
eth1 00:B0:52:00:00:01 Start Module Write Session
eth1 00:B0:52:00:00:01 Flash QCA7000-SpiSlave-HomePlugGP_CE-ClassB.pib
...
eth1 00:B0:52:00:00:01 Close Session
eth1 00:B0:52:00:00:01 Reset Device
eth1 00:05:FE:44:A5:A7 Resetting ...
$ plctool -I
PIB 0-0 8660 bytes
MAC 00:05:FE:44:A5:A7
DAK 68:9F:07:4B:8B:02:75:A2:71:0B:0B:57:79:AD:16:30 (HomePlugAV)
NMK 50:D3:E4:93:3F:85:5B:70:40:78:4D:F8:15:AA:8D:B7 (HomePlugAV)
NID B0:F2:E6:95:66:6B:03
NET Qualcomm Atheros Enabled Network
MFG Qualcomm Atheros HomePlug AV Device
USR Qualcomm Atheros Enabled Product
CCo Auto
MDU N/A
In case function FirmwareMessage() get passed the following data, plctest crashes with a core dump:
ff ff ff ff ff ff 00 b0 52 00 00 01 88 e1 00 46
a0 00 b0 52 30 00 03 3c 3c 3c 00 00 00 00 01 00
03 00 00 00 01 00 00 00 04 00 04 00 15 00 15 20
20 00 4a 45 44 45 43 20 49 44 20 52 65 61 64 3a
20 30 78 25 30 36 58
Format string:
JEDEC ID Read: 0x%06X
Tested on Ubuntu 12.04
Compiled without UCLIBC defined
i try to compile the open-plc-utils package on a Raspbian GNU/Linux 8
(armv61) and run into the following error with make install
make[1]: Entering directory `/home/pi/open-plc-utils-ether`
gcc -o efbu efbu.o getoptv.o putoptv.o version.o error.o todigit.o hexencode.o uintspec.o hexdump.o channel.o openchannel.o sendpacket.o readpacket.o closechannel.o basespec.o
/usr/bin/ld: cannot open output file efbu: Permission denied
Makefile:52: recipe for target `efbu` failed
make[1]: *** [efbu] Error 1
make[1]: Leaving directory `/home/pi/open-plc-utils-ether`
Makefile:29: recipe for target `install` failed
make: *** [install] Error 1
I tried to compile the current master branch. Any advice?
Kind regards, JM
Hello,
I own a DHP-1565 and installed OpenWRT (custom build with a patch from http://www.fredericb.info/2016/02/powerline-plc-support-in-openwrt-for-d.html to enable the communication to the A7400) and I am able to load the blob and communicate - but only if I did not attach this last port to the ethernet bridge and let it be a "single" interface - as soon, as I connect it to the bridge, I am not able to load the blob again (so in fact I need do "brctl delif ...", load pid and nvm, and later I have to attach the interface again)
The problem is, that the neither amphost nor amptool seem to be able to communicate with the chip if the port of the PLC adapter (eth0.3) is contained within the bridge:
I only get this three lines:
/overlay/upper/open-plc-utils/amptool -i eth0.3 -Iar
eth0.3 00:B0:52:00:00:01 Request Version Information
eth0.3 00:B0:52:00:00:01 Fetch Device Attributes
eth0.3 00:B0:52:00:00:01 Device Identity
I'm not sure where the problem originates: either OpenWrt (brctl?) or the Open-PLC-Utils and I jsut dont't know, how to solve the issue.
Can someone give me an advice?
Best regards,
Peter
Hi Folks,
I would like to discuss how we can improve stability of open-plc-utils. Since I2SE contributes to open-plc-utils we have seen quite some of changes that actually introduced malfunction of various tools which I do not want to discuss here...
The point is: when we change something we have no chance of testing the tools agains various chips / chipsets. This means that every feature we introduce to existing tools might break the function for other hardware then we actually develop for. The same applies for all other people implementing new features. Nobody is willing to try out the tools with all possible hardware setups.
The perfect solution for that would be an automated test lab - unless Qualcomm Atheros is willing to provide such a setup, I do not believe in that idea coming true.
Another solution would be to simulate the hardware counterparts... so that every packet gets the same response from some software as it gets from the Qualcomm Chips in real life. Again: this seems to be quite a lot work that QCA needs to do.
What I suggest is to start simple. We could use services like travis-ci for automated testing of verious file based tools like modpib, psout, psin and so on. Maybe we can add more stuff later.
If you agree with that suggestion I would like to start implementing some first test cases for QCA7000 PIB Files. This would mean that I upload some reference PIB Files to this repository. These could be used to perform modifications and the compare them to other PIB files that are also stored in the repository.
Kind regards,
Christian
open-plc-utils are unable to handle QCA7000 pib files saved with Avitar 1.1.0.727. Tools like modpib or plctool report a checksum error.
As an important note, the file size of the pib file is reduced after saving with Avitar:
user.pib (original pib) - 9328 bytes
user2.pib (avitar pib) - 9040 bytes
Steps to reproduce:
Upload pib file from QCA7000
plctool -i qca0 -p user.pib local
Open PIB with the name "user.pib" with Avitar 1.1.0.727
Save PIB with the name "user2.pib"
Check PIB file with modpib
modpib -v user2.pib
Output
modpib: pibchain2 found bad image checksum in user2.pib module 0
I run into an error using the evse.sh script to prepare the QCA7000 PIB for the EVSE case:
setpib: Offset 2030 exceeds file length of 8080: Operation canceled
The line causing the error is apperently adjusting the QoS property.
plctool -r reports
QCA7000 MAC-QCA7000-1.1.0727-02-20130826-FINAL
as firmware and
plctool -l a PIB file length of 8080.
After some time, related to my closed issue #40, install VisualStudio 2015, download code, unzip, open project file "plc-utils-2015.sln" and clisk "Build solution", got lot of errors. Content of log window here:
1>------ Build started: Project: lib_slac, Configuration: Release Win32 ------
2>------ Build started: Project: lib_ether, Configuration: Release Win32 ------
3>------ Build started: Project: lib_pib, Configuration: Release Win32 ------
4>------ Build started: Project: lib_plc, Configuration: Release Win32 ------
2> channel.c
4> Antiphon.c
3> pibfile.c
2> closechannel.c
3> pibfile1.c
4> Attributes.c
2> fcs.c
3> pibfile2.c
4> Attributes1.c
3> piblock.c
1> evse_cm_atten_char.c
1> evse_cm_mnbc_sound.c
1> evse_cm_set_key.c
4> Attributes2.c
1> evse_cm_slac_match.c
2> gethwaddr.c
2> getifname.c
3> pibpeek1.c
3> pibpeek2.c
3> pibscalers.c
3> psread.c
1> evse_cm_slac_param.c
4> BootDevice.c
1> evse_cm_start_atten_char.c
2> openchannel.c
4> BootDevice1.c
1> pev_cm_atten_char.c
2> readpacket.c
1> pev_cm_mnbc_sound.c
2> sendpacket.c
3> ruledump.c
4> BootDevice2.c
4> BootFirmware1.c
4> BootFirmware2.c
4> BootParameters1.c
1> pev_cm_set_key.c
1> pev_cm_slac_match.c
1> pev_cm_slac_param.c
1> pev_cm_start_atten_char.c
4> BootParameters2.c
1> slac_connect.c
4> ChangeIdent.c
2> lib_ether.vcxproj -> C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_ether.lib
3> lib_pib.vcxproj -> C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_pib.lib
5>------ Build started: Project: lib_tools, Configuration: Release Win32 ------
6>------ Build started: Project: lib_nvm, Configuration: Release Win32 ------
6> fdmanifest.c
6> manifest.c
6> nvm.c
6> nvmfile.c
6> nvmfile1.c
4> chipset.c
6> nvmfile2.c
6> nvmlock2.c
6> nvmpeek.c
4> Confirm.c
4> DeviceIdent.c
6> nvmpeek1.c
6> nvmpeek2.c
4> Devices.c
4> Display.c
6> nvmseek1.c
4> EmulateHost.c
6> nvmseek2.c
4> EmulateHost64.c
4> ExecuteApplets.c
4> ExecuteApplets1.c
4> ExecuteApplets2.c
4> FactoryDefaults.c
4> FactoryReset.c
6> lib_nvm.vcxproj -> C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_nvm.lib
7>------ Build started: Project: lib_key, Configuration: Release Win32 ------
4> Failure.c
4> FlashDevice1.c
7> HPAVKeyDAK.c
7> HPAVKeyNID.c
7> HPAVKeyNMK.c
7> HPAVKeyOut.c
7> HPAVKeySHA.c
7> HPAVKeySpec.c
7> keys.c
7> MACPasswords.c
7> putpwd.c
7> RNDPasswords.c
4> FlashDevice2.c
7> SHA256Block.c
4> FlashFirmware.c
7> SHA256Fetch.c
7> SHA256Ident.c
4> FlashMOD.c
4> FlashNVM.c
7> SHA256Match.c
7> SHA256Print.c
7> SHA256Reset.c
7> SHA256Write.c
7> strnpwd.c
4> FlashParameters.c
4> FlashSoftloader.c
7> lib_key.vcxproj -> C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_key.lib
8>------ Build started: Project: lib_mme, Configuration: Release Win32 ------
5> assist.c
5> b64dump.c
5> basespec.c
5> binout.c
5> bytespec.c
1> slac_debug.c
5> checkfilename.c
5> checksum32.c
5> chrout.c
1> slac_session.c
5> clr32bitmap.c
5> codelist.c
1> slac_structs.c
5> codename.c
5> config.c
5> dataspec.c
5>....\tools\checksum32.c(48): error C2036: 'const void *': unknown size
5> debug.c
5> decdecode.c
5> decout.c
5> decstring.c
5> efreopen.c
5> emalloc.c
5> error.c
5> extra.c
5> fdchecksum32.c
5> getargv.c
5> getoptv.c
5> gettimeofday.c
5> hexdecode.c
5> hexdump.c
5> hexencode.c
5> hexload.c
5> hexoffset.c
5> hexout.c
5> hexpeek.c
5> hexstring.c
5> hexview.c
5> hexwrite.c
5> ipv4spec.c
5> ipv6spec.c
5> lookup.c
5> memdecr.c
5> memencode.c
5> memincr.c
5> memout.c
5> memswap.c
5> output.c
5> putoptv.c
5> regview32.c
5> reverse.c
5> reword.c
5> set32bitmap.c
5> strdecr.c
5> strfbits.c
5> strincr.c
5> synonym.c
5> todigit.c
5> typelist.c
5> typename.c
5> uintspec.c
5> version.c
5> __bswap.c
4> GetProperty.c
8> ARPCPeek.c
4> HostActionIndicate.c
8> ARPCPrint.c
4> HostActionResponse.c
8> ARPCWrite.c
4> Identity.c
8> EthernetHeader.c
4> Identity1.c
8> FirmwareMessage.c
4> Identity2.c
8> HomePlugHeader.c
4> InitDevice.c
4> InitDevice1.c
4> InitDevice2.c
8> HomePlugHeader1.c
4> LinkStatistics.c
8> MMECode.c
4> LinkStatus.c
8> MMEMode.c
4> ListLocalDevices.c
8> MMEName.c
4> ListRemoteDevices.c
8> MMEPeek.c
4> ListRemoteDevices1.c
8> QualcommHeader.c
4> ListRemoteDevices2.c
8> QualcommHeader1.c
4> LocalDeviceList.c
8> readmessage.c
8> sendmessage.c
4> LocalDevices.c
8> UnwantedMessage.c
1> lib_slac.vcxproj -> C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_slac.lib
9>------ Build started: Project: lib_ram, Configuration: Release Win32 ------
10>------ Build started: Project: lib_serial, Configuration: Release Win32 ------
9> nvram.c
9> nvrampeek.c
9> sdramfile.c
9> sdramfileA.c
10> closeport.c
10> openport.c
10> serial.c
4> MakeRule.c
9> sdrampeek.c
9> sdramtext.c
10>....\serial\openport.c(102): warning C4133: 'function': incompatible types - from 'const char *' to 'LPCWSTR'
4> MDUTrafficStats.c
4> ModuleCommit.c
4> ModuleDump.c
4> ModuleRead.c
8> lib_mme.vcxproj -> C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_mme.lib
11>------ Build started: Project: lib_nodes, Configuration: Release Win32 ------
4> ModuleSession.c
11> xmlattribute.c
11> xmldata.c
11> xmledit.c
11> xmlelement.c
10> lib_serial.vcxproj -> C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_serial.lib
12>------ Build started: Project: rkey, Configuration: Release Win32 ------
11> xmlfree.c
11> xmlnode.c
4> ModuleSpec.c
11> xmlopen.c
9> lib_ram.vcxproj -> C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_ram.lib
12> rkey.c
13>------ Build started: Project: setpib, Configuration: Release Win32 ------
11> xmlread.c
4> ModuleWrite.c
4> NetInfo.c
13> setpib.c
11>....\nodes\xmlread.c(39): warning C4013: 'lstat' undefined; assuming extern returning int
11> xmlscan.c
11> xmlschema.c
11> xmlselect.c
12>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
14>------ Build started: Project: nvmsplit, Configuration: Release Win32 ------
13>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
15>------ Build started: Project: nvmmerge, Configuration: Release Win32 ------
4> NetInfo1.c
11> xmltree.c
14> nvmsplit.c
4> NetInfo2.c
4> NetworkDevices.c
4> NetworkDevices1.c
11> xmlvalue.c
15> nvmmerge.c
14>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
16>------ Build started: Project: weeder, Configuration: Release Win32 ------
11> lib_nodes.vcxproj -> C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_nodes.lib
17>------ Build started: Project: psnotch, Configuration: Release Win32 ------
15>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
18>------ Build started: Project: getpib, Configuration: Release Win32 ------
17> psnotch.c
18> getpib.c
16> weeder.c
4> NetworkDevices2.c
4> NetworkInformation.c
4> NetworkInformation1.c
4> NetworkInformation2.c
4> NetworkTraffic.c
16>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
19>------ Build started: Project: int6kuart, Configuration: Release Win32 ------
17>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
20>------ Build started: Project: chknvm2, Configuration: Release Win32 ------
4> NetworkTraffic1.c
4> NetworkTraffic2.c
19> int6kuart.c
18>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
21>------ Build started: Project: chkpib2, Configuration: Release Win32 ------
21> chkpib2.c
4> NVMSelect.c
20> chknvm2.c
4> NVRAMInfo.c
4> ParseRule.c
4> PhyRates.c
19>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
20>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
22>------ Build started: Project: chkpib, Configuration: Release Win32 ------
23>------ Build started: Project: int6kbaud, Configuration: Release Win32 ------
21>....\pib\chkpib2.c(193): warning C4267: '=': conversion from 'size_t' to 'uint16_t', possible loss of data
23> int6kbaud.c
4> PhyRates1.c
22> fdmanifest.c
22> chkpib.c
21>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
4> PhyRates2.c
24>------ Build started: Project: mme, Configuration: Release Win32 ------
4> Platform.c
4> PLCNetworkInfo.c
23>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
4> PLCPhyRates.c
24> mme.c
25>------ Build started: Project: int6kdetect, Configuration: Release Win32 ------
4> PLCReadParameterBlock.c
4> PLCSelect.c
22>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
26>------ Build started: Project: edsu, Configuration: Release Win32 ------
25> int6kdetect.c
4> PLCTopologyPrint.c
4> PrintRule.c
26> edsu.c
4> PushButton.c
4> ReadFirmware.c
4> ReadFirmware1.c
4> ReadFirmware2.c
24>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
27>------ Build started: Project: edru, Configuration: Release Win32 ------
25>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
28>------ Build started: Project: efbu, Configuration: Release Win32 ------
4> ReadFMI.c
4> ReadMFG.c
4> ReadMME.c
26>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
29>------ Build started: Project: mdiodump, Configuration: Release Win32 ------
27> edru.c
4> ReadNVM.c
29> mdiodump.c
4> ReadParameterBlock.c
4> ReadParameters.c
4> ReadParameters1.c
29>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
27>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
30>------ Build started: Project: mdioblock, Configuration: Release Win32 ------
31>------ Build started: Project: mdioblock2, Configuration: Release Win32 ------
31> mdioblock2.c
30> mdioblock.c
4> ReadParameters2.c
28> efbu.c
4> ReadRules.c
4> RemoteHosts.c
4> Request.c
4> ResetAndWait.c
28>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
31>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
32>------ Build started: Project: hpav, Configuration: Release Win32 ------
33>------ Build started: Project: pibcomp, Configuration: Release Win32 ------
4> ResetDevice.c
30>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
34>------ Build started: Project: pibdump, Configuration: Release Win32 ------
4> rules.c
34> pibdump.c
4> RxRates1.c
32> hpav.c
4> RxRates2.c
4> SDRAMInfo.c
32>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
35>------ Build started: Project: pib2xml, Configuration: Release Win32 ------
4> SendMME.c
34>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
36>------ Build started: Project: xml2pib, Configuration: Release Win32 ------
37>------ Build started: Project: efru, Configuration: Release Win32 ------
35> pib2xml.c
4> SetNMK.c
4> SetProperty.c
4> SignalToNoise1.c
36> xml2pib.c
37> efru.c
4> SignalToNoise2.c
4> SlaveMembership.c
4> StartDevice1.c
35>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
38>------ Build started: Project: efeu, Configuration: Release Win32 ------
36>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
39>------ Build started: Project: modpib, Configuration: Release Win32 ------
4> StartFirmware.c
4> StartFirmware1.c
4> StartFirmware2.c
38> efeu.c
37>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
39> modpib.c
40>------ Build started: Project: chknvm, Configuration: Release Win32 ------
4> StationRole.c
40> chknvm.c
4> ToneMaps1.c
38>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
41>------ Build started: Project: efsu, Configuration: Release Win32 ------
4> ToneMaps2.c
4> Topology.c
39>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
41> efsu.c
42>------ Build started: Project: config2cfg, Configuration: Release Win32 ------
4> Topology1.c
40>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
43>------ Build started: Project: pcapdevs, Configuration: Release Win32 ------
4> Topology2.c
42> config2cfg.c
4> Traffic.c
43> pcapdevs.c
4> Traffic1.c
4> Traffic2.c
41>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
44>------ Build started: Project: hpavkeys, Configuration: Release Win32 ------
4> Transmit.c
42>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
4> UpgradeDevice1.c
45>------ Build started: Project: sdram, Configuration: Release Win32 ------
45> sdram.c
43>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
46>------ Build started: Project: hpavkey, Configuration: Release Win32 ------
4> VersionInfo1.c
4> VersionInfo2.c
44> hpavkeys.c
4> WaitForReset.c
4> WaitForRestart.c
44>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
46> hpavkey.c
47>------ Build started: Project: ptsctl, Configuration: Release Win32 ------
4> WaitForStart.c
4> WatchdogReport.c
4> WriteCFG.c
45>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
46>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
48>------ Build started: Project: mac2pw, Configuration: Release Win32 ------
49>------ Build started: Project: mac2pwd, Configuration: Release Win32 ------
49> mac2pwd.c
50>------ Build started: Project: mdiogen, Configuration: Release Win32 ------
49>....\key\mac2pwd.c(233): warning C4244: '=': conversion from 'uint64_t' to 'unsigned int', possible loss of data
49>....\key\mac2pwd.c(239): warning C4244: '=': conversion from 'uint64_t' to 'unsigned int', possible loss of data
4>....\plc\WaitForStart.c(143): warning C4267: '=': conversion from 'size_t' to 'uint8_t', possible loss of data
48> mac2pw.c
4> WriteExecuteApplet2.c
48>....\key\mac2pw.c(224): warning C4244: '=': conversion from 'uint64_t' to 'unsigned int', possible loss of data
4> WriteExecuteFirmware.c
48>....\key\mac2pw.c(230): warning C4244: '=': conversion from 'uint64_t' to 'unsigned int', possible loss of data
4> WriteExecuteFirmware1.c
48>....\key\mac2pw.c(236): warning C4244: '=': conversion from 'uint64_t' to 'unsigned int', possible loss of data
4> WriteExecuteFirmware2.c
50> mdiogen.c
4> WriteExecuteParameters.c
48>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
51>------ Build started: Project: psgraph, Configuration: Release Win32 ------
4> WriteExecuteParameters1.c
49>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
52>------ Build started: Project: psin, Configuration: Release Win32 ------
4> WriteExecuteParameters2.c
51> psgraph.c
4> WriteExecutePIB.c
52> psin.c
4> WriteFirmware.c
4> WriteFirmware1.c
4> WriteFirmware2.c
50>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
51>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
53>------ Build started: Project: pskey, Configuration: Release Win32 ------
54>------ Build started: Project: psout, Configuration: Release Win32 ------
53> pskey.c
54> psout.c
52>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
4> WriteMEM.c
4> WriteMOD.c
4> WriteNVM.c
4> WriteParameters.c
4> WriteParameters1.c
54>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
4> WriteParameters2.c
53>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
4> WritePIB.c
4> lib_plc.vcxproj -> C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_plc.lib
55>------ Build started: Project: int6krate, Configuration: Release Win32 ------
56>------ Build started: Project: int6kwait, Configuration: Release Win32 ------
57>------ Build started: Project: sada, Configuration: Release Win32 ------
58>------ Build started: Project: int6kstat, Configuration: Release Win32 ------
56> int6kwait.c
57> sada.c
58> int6kstat.c
55> int6krate.c
56>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
55>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
57>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
58>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
59>------ Build started: Project: int6krule, Configuration: Release Win32 ------
60>------ Build started: Project: CMEncrypt, Configuration: Release Win32 ------
61>------ Build started: Project: int6ktest, Configuration: Release Win32 ------
62>------ Build started: Project: int6ktone, Configuration: Release Win32 ------
59> int6krule.c
61> int6ktest.c
60> CMEncrypt.c
62> int6ktone.c
59>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
62>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
63>------ Build started: Project: int6kboot, Configuration: Release Win32 ------
64>------ Build started: Project: int6keth, Configuration: Release Win32 ------
61>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
60>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
65>------ Build started: Project: int6klog, Configuration: Release Win32 ------
64> int6keth.c
63> int6kboot.c
65> int6klog.c
66>------ Build started: Project: int64host, Configuration: Release Win32 ------
64>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
63>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
67>------ Build started: Project: int6kmod, Configuration: Release Win32 ------
66> int64host.c
65>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
68>------ Build started: Project: pibrump, Configuration: Release Win32 ------
68> pibrump.c
66>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
69>------ Build started: Project: pibruin, Configuration: Release Win32 ------
70>------ Build started: Project: int6klist, Configuration: Release Win32 ------
67> int6kmod.c
67>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
71>------ Build started: Project: amptest, Configuration: Release Win32 ------
69> pibruin.c
70> int6klist.c
68>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
72>------ Build started: Project: amptone, Configuration: Release Win32 ------
71> amptest.c
72> amptone.c
69>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
70>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
73>------ Build started: Project: amptool, Configuration: Release Win32 ------
74>------ Build started: Project: amprate, Configuration: Release Win32 ------
71>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
73> amptool.c
74> amprate.c
75>------ Build started: Project: ampboot, Configuration: Release Win32 ------
72>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
75> ampboot.c
76>------ Build started: Project: amphost, Configuration: Release Win32 ------
76> amphost.c
73>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
74>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
77>------ Build started: Project: amplist, Configuration: Release Win32 ------
78>------ Build started: Project: ampstat, Configuration: Release Win32 ------
75>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
79>------ Build started: Project: int6kmdio, Configuration: Release Win32 ------
77> amplist.c
78> ampstat.c
79> int6kmdio.c
76>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
80>------ Build started: Project: int6kmdio2, Configuration: Release Win32 ------
80> int6kmdio2.c
77>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
81>------ Build started: Project: mdustats, Configuration: Release Win32 ------
78>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
82>------ Build started: Project: plcotst, Configuration: Release Win32 ------
79>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
83>------ Build started: Project: plcget, Configuration: Release Win32 ------
81> mdustats.c
82> plcotst.c
83> plcget.c
80>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
84>------ Build started: Project: plcset, Configuration: Release Win32 ------
84> plcset.c
81>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
85>------ Build started: Project: plcfwd, Configuration: Release Win32 ------
82>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
86>------ Build started: Project: plcrate, Configuration: Release Win32 ------
85> plcfwd.c
83>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
87>------ Build started: Project: plctest, Configuration: Release Win32 ------
86> plcrate.c
87> plctest.c
84>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
88>------ Build started: Project: plctool, Configuration: Release Win32 ------
88> plctool.c
85>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
86>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
89>------ Build started: Project: plcboot, Configuration: Release Win32 ------
90>------ Build started: Project: plchost, Configuration: Release Win32 ------
89> plcboot.c
90> plchost.c
87>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
91>------ Build started: Project: plcstat, Configuration: Release Win32 ------
88>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
92>------ Build started: Project: plcmdio32, Configuration: Release Win32 ------
91> plcstat.c
92> plcmdio32.c
89>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
93>------ Build started: Project: plcmdio16, Configuration: Release Win32 ------
90>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
94>------ Build started: Project: plclist, Configuration: Release Win32 ------
94> plclist.c
93> plcmdio16.c
91>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
95>------ Build started: Project: plcwait, Configuration: Release Win32 ------
92>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
96>------ Build started: Project: ampwait, Configuration: Release Win32 ------
95> plcwait.c
96> ampwait.c
93>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
94>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
97>------ Build started: Project: plctone, Configuration: Release Win32 ------
98>------ Build started: Project: ampID, Configuration: Release Win32 ------
98> ampID.c
96>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
95>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
99>------ Build started: Project: plcrule, Configuration: Release Win32 ------
100>------ Build started: Project: plcID, Configuration: Release Win32 ------
100> plcID.c
101>------ Build started: Project: int6k, Configuration: Release Win32 ------
98>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
102>------ Build started: Project: int6kid, Configuration: Release Win32 ------
101> int6k.c
102> int6kid.c
100>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
103>------ Build started: Project: amprule, Configuration: Release Win32 ------
104>------ Build started: Project: coqos_add, Configuration: Release Win32 ------
103> amprule.c
104> coqos_add.c
101>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
102>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
105>------ Build started: Project: coqos_info, Configuration: Release Win32 ------
106>------ Build started: Project: coqos_man, Configuration: Release Win32 ------
106> coqos_man.c
105> coqos_info.c
103>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
107>------ Build started: Project: coqos_rel, Configuration: Release Win32 ------
104>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
108>------ Build started: Project: evse, Configuration: Release Win32 ------
107> coqos_rel.c
108> evse.c
106>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
105>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
109>------ Build started: Project: int6kf, Configuration: Release Win32 ------
110>------ Build started: Project: int6khost, Configuration: Release Win32 ------
109> int6kf.c
110> int6khost.c
107>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
111>------ Build started: Project: pev, Configuration: Release Win32 ------
108>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
112>------ Build started: Project: plclog, Configuration: Release Win32 ------
111> pev.c
112> plclog.c
109>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
110>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
113>------ Build started: Project: coqos_mod, Configuration: Release Win32 ------
113> coqos_mod.c
111>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
112>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
113>LINK : fatal error LNK1181: cannot open input file 'C:\Users\LAZNA\Desktop\open-plc-utils-master\VisualStudioNET\Release\lib_tools.lib'
========== Build: 10 succeeded, 103 failed, 0 up-to-date, 0 skipped ==========
As Michael Heimpold provided a .travis.yml file we should enable it for automatic compile testing... more tests can then easily be implemented.
Hi,
I have several ALLNET ALL168600 devices connected to same switch. I'd like to setup several independent networks with different NMKs on each of them.
~ # amptool -i eth2 -t 1000 -a
eth2 Fetch Device Attributes
eth2 MAC1 INT7400-MAC-5-3-5306-00-1402-20121214-FINAL-B (16mb) (0xF6) "60Hz" "Detected" 0x7F
eth2 MAC2 INT7400-MAC-5-3-5306-00-1402-20121214-FINAL-B (16mb) (0xF5) "50Hz" "Detected" 0x7F
When I am trying to change NMK on one of the local adapters with next command
amptool -i eth2 -t 1000 -K KEY1 -M MAC1
it reports
eth2 MAC1 Set Local Network Membership Key
eth2 MAC1 Setting ...
but all of my adapters are changing their NMKs together, not just MAC1 one. It looks like amptool does disregard device parameter.
Could anyone look into it or explain what I am doing wrong?
Thanx.
Using plctool to identify a QCA7000 (QCA7000-AL3B) leads to unexpected results. The chip is identified as QCA7005 not as QCA7000. The QCA firmware is stored in RAM not in FLASH.
Call:
plctool -r -i qca0 -v
Output:
qca0 00:B0:52:00:00:01 Request Version Information
00000000 00 B0 52 00 00 01 00 B0 52 00 00 00 88 E1 00 00 ..R.....R.......
00000010 A0 00 B0 52 12 34 56 78 00 00 00 00 00 00 00 00 ...R.4Vx........
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 ............
00000000 00 B0 52 00 00 00 00 01 87 00 00 00 88 E1 00 01 ..R.............
00000010 A0 00 B0 52 00 22 27 4D 41 43 2D 51 43 41 37 30 ...R."'MAC-QCA70
00000020 30 30 2D 31 2E 31 2E 30 2E 33 32 2D 30 31 2D 32 00-1.1.0.32-01-2
00000030 30 31 33 30 33 32 36 2D 46 49 4E 41 4C 00 FF FF 0130326-FINAL...
00000040 FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000000A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000000B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000000C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000000D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000000E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000000F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000110 00 00 00 00 00 DC 58 1B 00 00 00 00 00 01 00 00 ......X.........
00000120 00 3F 00 00 00 00 00 00 00 .?.......
qca0 00:01:87:00:00:00 QCA7005 MAC-QCA7000-1.1.0.32-01-20130326-FINAL
Expected output:
qca0 00:01:87:00:00:00 QCA7000 MAC-QCA7000-1.1.0.32-01-20130326-FINAL
Got the following error while trying to compile on an ARM based platform (BCM2708, Raspberry Pi).
../mme/ARPCPrint.c:122:2: error: incompatible type for argument 3 of ‘vfprintf’
In file included from ../mme/ARPCPrint.c:68:0:
/usr/include/stdio.h:368:12: note: expected ‘__gnuc_va_list’ but argument is of type ‘void *’
I tried both gcc 4.6 and 4.7
I am not a programmer. Any help would be appreciated.
Thank you
Good Morning,
sorry if i disturb you.
I'm working with your OpenPLC UTILS, but i've a big problem, that i believe only you can help me.
So i've to filter frequency of PLC Qualcomm to use only a part of available channels, because in my project we can use only these carrier frequencies. I've tried with modpib -P, but you have deleted from C file of modpib.
It's really important for me solve this problem, please help me!
I am directy connected to a dlink dhp309av and inquiring int6k -i eth0 -af eth0 00:B0:52:00:00:01 Fetch Device Attributes eth0 00:B0:52:00:00:01 Fetch NVRAM Configuration
no other output
this is the output from another pc at my home
int6k -i enp2s0 -Iaf enp2s0 00:B0:52:00:00:01 Fetch Device Attributes enp2s0 00:B0:52:00:00:01 Fetch NVRAM Configuration enp2s0 00:B0:52:00:00:01 Device Identity
In file make.def, the definition of ROOTFS prevents to override it from environment variable. I would suggest to remove it or to change it to:
ROOTFS?=
After some time, I am able to build fresh VS project (thanks a lot to fixing VS errors!!!), check documentation but seems no updated. Lates supported chipsets mented in docs, are few years old 7400/7420. Does utilities support later chipsets QCA7450, QCA7451, QCA7500, QCA8430, QCA8431, etc???
When i try to build open-plc-utils with Cygwin i get following errors:
In file included from ../tools/memory.h:31:0,
from efbu.c:49:
../tools/../tools/endian.h:64:2: Fehler: #error "Unknown environment"
../tools/../tools/endian.h:162:2: Fehler: #error "Unknown Environment"
In file included from ../ether/channel.h:51:0,
from efbu.c:53:
../ether/../ether/ether.h:50:2: Fehler: #error "Unknown environment"
In file included from ../ether/channel.h:51:0,
from efbu.c:53:
...
In file included from efbu.c:53:0:
../ether/channel.h:73:9: Fehler: #error "Unknown Environment"
../ether/channel.h:158:2: Fehler: #error "Unknown Environment"
Tested with the following environment:
Windows 7 Pro (64 bit) SP1
cygwin 1.7.20
GNU Make 3.82.90
gcc (GCC) 4.5.3
Maybe it would be good to use the define CYGWIN .
make compiles .o and generate libraries, but programs are not linked. it seems a Makefile issue.
uname -a
OpenBSD devbsd.my.domain 5.7 GENERIC#738 i386
make install
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c efbu.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/getoptv.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/error.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/hexencode.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/uintspec.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/hexdump.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c openchannel.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c sendpacket.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c readpacket.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/basespec.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c efeu.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/memswap.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c efru.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c efsu.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/hexload.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c edru.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/hexdecode.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/hexstring.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c edsu.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/efreopen.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c nics.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/decdecode.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/decstring.c
install -m 0755 -o 0 -g 0 -d /usr/local/bin
install -m 4555 -o 0 -g 0 efbu efeu efru efsu edru edsu nics /usr/local/bin
install: efbu: No such file or directory
*** Error 71 in ether (Makefile:36 'install')
*** Error 1 in /root/open-plc-utils-master (Makefile:29 'install')
It seems that the read out for this device is nok.
I want to see what segments are notched in the QCA7500 pib file and eventually i need to notch out the HAM bands, because this was not done in the device i have at home.
I cannot find anywhere else to ask, except sending emails to the addresses found in this project, and I don't want to do that. (yet)
Are there any windows binaries of this project anywhere? I've spent the last couple of weeks googling like a maniac, trying to find similar software, or even documentation describing the Qualcomm Atheros MME protocol. I know how the Homeplug AV protocol works, so it's the Vendor MME specific part I need info on.
I'm trying to code my own small console program to get some basic network stats from my TP-LINK devices, but it's ridicolous hard without having any kind of documentation on the Vendor MME protocols.
The source files found here keep referring to all kinds of technical manuals and books, but they are nowhere to be found online. So far I've studied the source files here, with the help from wireshark, trying to figure out stuff... but it's becoming apparent that it takes too much effort for what its worth.
So I'm in the process of giving up, and hoping that someone has windows binaries for this project so I don't have to agonize over this even more. Or can provide links to some documentation describing the MME.
Thanks in advance.
The file content of pev.sh at line 1 and following looks corrupt. While opening this file in a editor results in a warning: illegal characters.
Cross compiling the open-plc-utils for the PL-16 board leads to the following compile error:
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin//arm-none-linux-gnueabi-gcc -c amptone.c -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -D__FREESCALE__ -DAR7x00
amptone.c: In function 'main':
amptone.c:179: error: 'AMPTONE_COUPLING' undeclared (first use in this function)
amptone.c:179: error: (Each undeclared identifier is reported only once
amptone.c:179: error: for each function it appears in.)
make[1]: *** [amptone.o] Error 1
make[1]: Leaving directory '/home/user/freescale/open-plc-utils-master/plc'
make: *** [all] Error 1
Used settings from make.defs:
ROOTFS=~/ltib/rootfs
TOOLPATH=/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/
CROSS=${TOOLPATH}/arm-none-linux-gnueabi-
CROSS_LINUX=$(TOOLPREFIX)
CFLAGS=-Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -D__FREESCALE__ $(EXTRA_CFLAGS)
Workaround - adding the following define to the files plctone.c and amptone.c:
#define AMPTONE_COUPLING 0
The slac binaries evse and pev are overwritten by the binaries from the iso directory, if make install is called.
Possible solutions:
The current version of plcboot is not able to flash a firmware permanently into the QCA7000.
> ./plcboot -S ~/Desktop/NvmSoftloader-QCA7000.nvm -N ~/Desktop/MAC-QCA7000.nvm -P ~/Desktop/QCA7000.pib -F
eth0 00:B0:52:00:00:01 Write /home/user/Desktop/MAC-QCA7000.nvm (1) (00000040:7936)
eth0 00:B0:52:00:00:01 Start /home/user/Desktop/MAC-QCA7000.nvm (1) (000000C0)
eth0 00:B0:52:00:00:01 Write /home/user/Desktop/QCA7000.pib (1) (00200000:9040)
eth0 00:B0:52:00:00:01 Write /home/user/Desktop/MAC-QCA7000.nvm (5) (002C0960:308788)
eth0 00:B0:52:00:00:01 Start /home/user/Desktop/MAC-QCA7000.nvm (5) (002C0D50)
eth0 00:B0:52:00:00:01 MAC-QCA7000 is running
eth0 00:B0:52:00:00:01 Start Module Write Session
eth0 00:B0:52:00:00:01 No NVM Softloader Present in Flash Memory (0x71): Device refused request
I've bisect this issue to this commit 7f08748 .
hey there,
I was wondering if you could look at a bug where if you have a 74XX device which you want to query with PLCid you usually get back the details id the Device that the command can see. However if there is a 64XX chipset based device and its attached via ethernet the result returned is an error.
Currently plcboot doesn't work with QCA7000 anymore. Everytime plcboot prints the following error message:
Device must be QCA7420 or later; Use program int6kboot or ampboot instead.
This is a problem with the hardware ID check. In bootloader mode the hardware ID is 0x06.
Is there any way to appoint a CCO?
We are using QCA7000 chipsets.
If not, could someone give me a hint how to implement it?
I think I should be looking into CC_CCO_APPOINT, but no idea were to start exactly.
thanks!
Hi there, got the following compile errors:
../mme/ARPCPrint.c: In function ‘ARPCPrint’:
../mme/ARPCPrint.c:123:2: error: incompatible type for argument 3 of ‘vfprintf’
/usr/include/stdio.h:368:12: note: expected ‘__gnuc_va_list’ but argument is of type ‘void ’
Makefile:60: recipe for target 'ARPCPrint.o' failed
make[1]: ** [ARPCPrint.o] Error 1
make[1]: Leaving directory '/home/pi/dlan/open-plc-utils/plc'
Makefile:29: recipe for target 'all' failed
make: *** [all] Error 1
doublecheck.sh says:
ether
key
mdio
mme
ARPCPrint.c: In function ‘ARPCPrint’:
ARPCPrint.c:123:2: error: incompatible type for argument 3 of ‘vfprintf’
/usr/include/stdio.h:368:12: note: expected ‘__gnuc_va_list’ but argument is of type ‘void *’
nodes
nvm
pib
plc
In file included from amptest.c:135:0:
../mme/ARPCPrint.c: In function ‘ARPCPrint’:
../mme/ARPCPrint.c:123:2: error: incompatible type for argument 3 of ‘vfprintf’
/usr/include/stdio.h:368:12: note: expected ‘__gnuc_va_list’ but argument is of type ‘void *’
In file included from plctest.c:141:0:
../mme/ARPCPrint.c: In function ‘ARPCPrint’:
../mme/ARPCPrint.c:123:2: error: incompatible type for argument 3 of ‘vfprintf’
/usr/include/stdio.h:368:12: note: expected ‘__gnuc_va_list’ but argument is of type ‘void *’
ram
serial
tools
I'm trying to compile on Raspbian, Raspberry Pi, fresh install, straight out of the box.
I'm cd'ing into the directory and starting the process with "make".
uname -a
Linux xxxxx 3.18.7+ #755 PREEMPT Thu Feb 12 17:14:31 GMT 2015 armv6l GNU/Linux
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-14+rpi1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 4.6.3 (Debian 4.6.3-14+rpi1)
make -v
GNU Make 4.0
Built for arm-unknown-linux-gnueabihf
Copyright (C) 1988-2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Thanks in advance,
Klaus
Does "-R Reset the device using VS_RS_DEV...." mean, that the device is rebootet or it's setting are reset to default values?
I want to reboot/restart the adapter with plc-utils, but not reset any settings.
Installed the Homeplug Monitor software to debug a sudden disconnect in my PLC network. The cmd window shows some info, but it is automatically closed in a couple of seconds. Strangely, if not connected to the network, then the window remains open and shows no info. Have tried on two different Win7 PCs, similar situation. Appreciate any help.
Compiling the current master leads to the following error:
gcc -c FlashDevice2.c -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -DAR7x00
FlashDevice2.c: In function ‘FlashDevice2’:
FlashDevice2.c:65:9: error: ‘struct plc’ has no member named ‘SFT’
I think there are some missing changes in commit 14905f6.
Sorry if it's a wrong place to post this. Does open-plc-utils support Broadcom chipset based HomePlug adapters like ZyXEL PLA5456KIT HomePlug AV2? And if not, are there any plans to add such support?
Hello,
I would like to enable the RTS/CTS mechanism on either chips INT6300 or AR7420.
I would also like to modify the contention window of the MAC protocol.
Do you know if I could modify the above with the open-plc-utils?
Thank you very much in advance!
Best,
Christina
Hello,
According to some comments in evse_cm_slac_param.c, " EVSE-HLE may send zeros for the forwarding station since it is not used here" .
Also in https://github.com/qca/open-plc-utils/blob/master/slac/evse.1
it is mentionned:
Controls whether the msound recipient sends signal attenuation characteristic profile data to the EVSE-HLE or another station.
The only response specified at this time is the EVSE-HLE.
The default value is \fB0\fR.
Any other value is ignored.
So I understood evse util will always send 00:00:00:00:00:00 in there.
In the mean time, in the ISO15118:3 A.9.1.2 [V2G3-A09-04] (2015-05), the content of CM_SLAC_PARM.CNF is discribed this way:
FORWARDING_STA: The destination of SLACresults is always the EVHost
So, If I understood correctly, we should have the EV address here instead of 00:00:00:00:00:00
When i open the file plc-utils-2010.sln in Visual Studio 2010 Express and try to build, i get the following errors:
error 92 error C2146: syntax error: missing ')' before identifier 'PRId64' open-plc-utils-master\tools\uintspec.c line 62
...
error 93 error C2059: syntax error: ')' open-plc-utils-master\tools\uintspec.c line 62
...
warning 101 warning C4013: 'reverse' undefined; Assumption: extern with return type int open-plc-utils-master\tools\__bswap.c line 26
...
error 302 error C2146: syntax error: missing ')' before identifier 'PRIu64' open-plc-utils-master\pib\getpib.c line 178
...
error 303 error C2146: syntax error: missing ')' before identifier 'PRIX64' open-plc-utils-master\pib\getpib.c line 225
I'm sorry, these are not the original error messages because i use the German version of Visual Studio so the error messages are in German and maybe not very helpful for you. After that i try to fix this problem by include bittypes.h, but this leads to another problem:
VisualStudioNET/include/bittypes.h(61): fatal error C1189: #error : "there's no appropriate type for u_int16_t" line 61
Please let me, if you need more information.
In the case no powerline device is connected, plcID sends request messages in a endless loop.
./plc/plcID -i eth0 -v
Output:
00000000 00 B0 52 00 00 01 00 48 54 6E 1F 6A 88 E1 00 00 ..R....HTn.j....
00000010 A0 00 B0 52 00 00 00 00 00 00 00 00 00 00 00 00 ...R............
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 ............
00000000 00 B0 52 00 00 01 00 48 54 6E 1F 6A 88 E1 00 00 ..R....HTn.j....
00000010 A0 00 B0 52 00 00 00 00 00 00 00 00 00 00 00 00 ...R............
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 ............
...
Expected behavior:
plcID terminate because of timeout
Hi
Getting this error compiling with i686-pc-linux-gnu-4.6.3 on gentoo:
../tools/tlv.h:30:0: error: unterminated #ifndef
In the file I see a duplicate #ifndef GNUC
removing line 45 fixes the error
Starting the programs evse or pev with parameter p has no effect on output messages. The programs still prints a lot of debug messages.
Expected behavior: The programs must not print any debug message.
Problem:
Currently it isn't possible with plcwait to check if Bootloader or Firmware is running, without knowing the exact Firmware revision.
Idea:
Add a new parameter ( -F ) to plcwait to make the Firmware revision compare not a necessary exact match, but a starts with the given string match.
Example:
Firmware = MAC-QCA7000-1.1.0.32-01-20130326-FINAL
plcwait -s -F "MAC-QCA7000" -x # returns with exit code 0
The SUID root programs do not drop privileges after calling openchannel(). Since root privileges are no longer needed, this should be done to prevent users of the tools from accessing other resources (ie. files in /etc, etc).
Just downloaded project zip file, unzip to local drive, browse to file 'plc-utils-2010.sln' doubleclick it, wait till project load into visual studio 2010 and than press F6. Many (more than 2000) various errors occurs than got 'Build failed' message. What am I doing wrong?
Hi there,
from documentation is not clear to me how to flash a qca7420: I simply want to update/upgrade running firmware.
It looks like int6k is for updating intellon chipset (6300/6400), plcboot supports qca7420 but it looks like it is only for bootstrapping.
What command do I have to use to update/upgrade flash for an already running qca7420?
Many thanks
Bye
Piero
Under the following circumstances plcwait returns to soon after reset:
Call:
plcwait -i qca0 -R -v
Output:
qca0 00:B0:52:00:00:01 Reset when Ready
00000000 00 B0 52 00 00 01 00 B0 52 00 00 00 88 E1 00 1C ..R.....R.......
00000010 A0 00 B0 52 00 00 00 00 00 00 00 00 00 00 00 00 ...R............
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 ............
00000000 00 B0 52 00 00 00 00 01 87 00 00 00 88 E1 00 1D ..R.............
00000010 A0 00 B0 52 00 00 00 00 00 00 00 00 00 00 00 00 ...R............
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 ............
qca0 00:01:87:00:00:00 Resetting ...
Expected behavior:
plcwait returns after reset of QCA7000 (including default MAC address 00:B0:52:00:00:01)
qca0 00:B0:52:00:00:01 Reset when Ready
00000000 00 B0 52 00 00 01 00 B0 52 00 00 00 88 E1 00 1C ..R.....R.......
00000010 A0 00 B0 52 00 00 00 00 00 00 00 00 00 00 00 00 ...R............
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 ............
00000000 00 B0 52 00 00 00 00 B0 52 00 00 01 88 E1 00 1D ..R.....R.......
00000010 A0 00 B0 52 00 00 00 00 00 00 00 00 00 00 00 00 ...R............
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 ............
qca0 00:B0:52:00:00:01 Resetting ...
Workaround:
Is the space in the output string intend? According this http://www.ethernetovercoax.eu/img/forum/74xx_FW_string_explanation.png it look like only dashes should be uses as a tokens separator.
Generaly due parsing open-plc-utils outputs, may I rely on unified strings format? Or it differ utility by utility?
L.
BTW: Seems github form reformate it, but there are some extra spaces before this string part: 17-20131108 (16mb)
E:\PLCutils\2016-11-06_build>plctool -i 3 -a
nic3 00:B0:52:00:00:01 Fetch Device Attributes
nic3 40:C2:45:07:7D:33 INT7400-MAC-INT7400-7.1.7131.0-00- 17-20131108 (16mb)
Calling getpib for a QCA7000 PIB file leads to an error:
$ getpib QCA7000.pib 0 byte
getpib: Bad PIB filesize: QCA7000.pib: Operation canceled
Expected behavior:
getpib prints the byte value of the PIB file at offset 0
Hi,
I have been using amptone succesfully to measure signal quality with QCA7420 based adapters. I would like to make similar measurements with a QCA7500 based adapter, but amptone gives me an error:
$ amprate -i eth0 -rn
eth0 00:B0:52:00:00:01 Request Version Information
eth0 F4:06:8D:AD:2C:09 QCA7500 MAC-QCA7500-2.2.1.770-00-20160307-CS
eth0 F4:06:8D:AD:2C:09 F4:06:8D:AD:2B:48 TX 611 mbps Alternate
eth0 F4:06:8D:AD:2C:09 F4:06:8D:AD:2B:48 RX 741 mbps Alternate
$ amptone -i eth0 -s F4:06:8D:AD:2C:09 F4:06:8D:AD:2B:48
amptone: Too many carriers: Value too large for defined data type
$
Is there something that I could do to make amptone work with QCA7500 chipset?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.