Home
G3-PLC graphical user interface (GUI)
Contents
1. e Discover Route option if TRUE a route discovery procedure will be performed prior sending the ADP frame as long as a route to the destination is not available in the routing table If FALSE no route discovery is performed Confirm and indication messages are automatically generated as explained in Section 3 4 on page 12 DoclD026814 Rev 1 33 52 ADP menu UM1811 7 4 ADPM IB menu The ADP layer management entity menu offers the possibility to get and set the information base parameters of the G3 PLC ADP layer Figure 22 ADPM IB menu 76 JO Powerline Plugin Plugin Sniffer Settinas Information Pow nec ST PowerLine Object T Tree v ST G3 Node 1 COM57 4 PL ST PowerLine Host 4 Node 1 O com PHY ADPM SET Request adpSecuntyLevel Index 0x 0000 ADPM SET Confirm ADPM GET Request adpSecuntyLevel Index Ox 0000 ADPM GET Confirm MAC 4 ADP Show Routing Table Value Ox ADPM Control Ulnt8 Hex ADPMLBP Using this panel the following commands can be executed e ADPM GET Request reads one attribute of the ADP information base The attribute to read can be selected from a list e ADPM SET Request writes the value of one attribute of the ADP information base The attribute to set can be selected from a list and its value entered in a text area e ADPM GET Confirm forces generation of a confirmation message if automatic event is disabled e ADPM SET Confirm forces gene
2. lt T UM1811 WI life augmented User manual G3 PLC graphical user interface GUI Introduction The G3 power line communication G3 PLC graphical user interface GUI is a tool implemented by STMicroelectronics that allows interfacing one or more ST platforms equipped with the G3 PLC protocol hereafter called G3 PLC platforms This tool is running on a Microsoft Windows PC that is connected to a supported G3 PLC9 platform see Section 2 on page 6 through to a serial link converted to a USB connection On the PC side the communication with the G3 PLC platform is managed thanks to a node interface plugin written in C accessible through a graphical front end On the G3 PLC platform the communication is managed thanks to a host interface application that receives sends the messages from to the PC Messages are translated into commands for the ST G3 PLC library This document does not describe in details the plugin the host interface application nor the ST G3 PLC library It describes the PC tool features it details the options that it offers it gives clear guidance on how to connect a G3 PLC platform to the tool and it provides examples in order to transmit data between two different G3 PLC platforms To better understand some menu of the GUI it is useful to understand how the ST G3 PLC protocol stack is implemented Figure 1 Communication between GUI and G3 PLC platform G3 PLC Platform PC G3 Plugin DLL Host I
3. Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14 Figure 15 Figure 16 Figure 17 Figure 18 Figure 19 Figure 20 Figure 21 Figure 22 Figure 23 Figure 24 Figure 25 Figure 26 Figure 27 Figure 28 Figure 29 Figure 30 Figure 31 Figure 32 Figure 33 Figure 34 Figure 35 Figure 36 Figure 37 Figure 38 Figure 39 Figure 40 Figure 41 Figure 42 4 52 Communication between GUI and G3 PLC platform o 1 Main G3 PLC GUI window 0 222 rn 7 Add anode vase saa na Uere rea AA A LGA rd Red don 8 Node connection nnn 9 Node tree panel 2 223 evo epe pe PERSE RESET BAE dee BRA 10 Plugin Settings panel cc eee 12 G3EIB root panel 21 cd capere Io eU eee EMEA Oa e CR e oie a 13 G3LIB information base explorer ees 14 Configure the host interface in PHY mode iliis 17 PHY root panel i resis ecc REA TRU RAI RU RUNE RH ADR e S RR UR 18 PEME control Menu 19 PLME menu description oo 20 Configure the host interface in MAC mode 0 22 MAC root panel lr 23 MLME control Menu 24 MAC AB IMONUE aha TA ANTO BAG ahead cana a NAG AA a oe ap Kan 25 MAC information base explorer es 26 Configure the host interface in ADP mode 2 30 ADP root panel ANG NG A LANG kaa a 31 ADPM control Menu 32 LoWPAN bootstrap protocol menu n s n
4. G3 Node 1 COM57 4 43 ST PowerLine Host Help TOYO Powerline Plugin ig S Sniffer Settinas Information PowerLineGui ME D dress Mode BITS16 D X st Address Mode l a DstAdd Ulnt16 Hex Ocom ADPM LBP Request Hex PHY Payloac Hex Ascii MAC 0x0000000 4 ADP Length 0x0000000 ADPM Control Nsdu Max Payload Size ADPMLBP 1280 ADPM IB BOOT Generate Random IPv6 G3LIB NsduHandle Ulnt8 Hex QoS NORMAL PRIORITY TEST E MaxHops Ulnt8 Hex Discover Route TRUE E Security Enablec TRUE 2 From this panel the following command may be executed e ADPM LBP Request this primitive allows the upper layer of a PAN coordinator device to send an LBP message The following options are available in the panel e Dst Address Mode the destination address mode BITS16 short BITS64 extended address e DstAddr the destination address e Payload type select the hexadecimal or ASCII input mode for the NSDU e Payload content a free text window to enter the NSDU to be sent note that the data has to be a valid LBP message e Max Payload Size a check box to configure the maximum size for the random option e Generate Random an option to generate a random NSDU e NsduHandle the handle associated with the NSDU to be transmitted e MaxHops the maximum number of hops before that the LBP message is going to be discarded e QoS quality of the service for the NSDU normal priority high priority contention free
5. Hex TEST ADPM PATH DISCOVERY Request Dst Addr Ulnt16 Hex Metric Type Ulnt8 Hex This menu allows the user to execute the following commands e ADPM DISCOVER Request performs a discovery procedure for the duration entered by the user in the free text area e ADPM NETWORK START Request starts a new powerline area network on the server side with the specified PANId e ADPM NETWORK JOIN Request this primitive allows the next upper layer to join a network identified by PANId through a low bootstrap agent short address e ADPM NETWORK LEAVE Request this primitive allows the next upper layer to leave an existing network e ADPM RESET Request it resets the ADP layer e ADPM ROUTE DISCOVERY Request requests the discovery of the route towards a destination The user needs to enter the destination address to look for and the maximum allowed number of hops e ADPD PATH DISCOVERY Request requests the discovery of the path towards a destination The user needs to enter the destination address to look for and the metric type for the link cost evaluation 2 32 52 DoclD026814 Rev 1 UM1811 ADP menu 7 3 ADPM LBP menu The root menu offers the possibility to enter a payload and send it using the LoWPAN bootstrap protocol LBP as shown in Figure 21 These primitives are accessible only to PAN coordinator devices Figure 21 LoWPAN bootstrap protocol menu ST PowerLine Object Tree ST
6. 0 no errors 1 corrected errors 2 or 3 errors detected but not corrected PHYLASTRCVPKTDT DT value of the last RX PHY packet PHYLASTRCVPKTPDC PDC value of the last RX PHY packet PHYLASTRCVPKTTM TM value of the last RX PHY packet PHYFREECHANNELTIME Timestamp at which the channel becomes free PHYPREDRIVERGAIN Correspondence between the attribute value and predriver gain PHYLASTRXVALIDFCH FCH of the last valid RX PHY packet PHYLASTTXFCH FCH of the last TX PHY packet PHYAGCRESETTIMEOUT The number of SYNCP preamble symbols without any preamble detection after which the AGC is reset PHYCENELECLEGACYMODE 0 elementary interleaving interleaver parameters are not swapped 1 full block interleaving interleaver parameters are swapped PHYRSFILTERDISABLED Disabled the RS filter O filter active 1 filter not active PHYTHRPCS S The carrier sense threshold on one SYNCP PHYTHRPCS S2 The carrier sense threshold on two SYNCP PHYPCSWINDOW The number of SYNCP symbols to wait for the preamble detection after PCS PHYZCDELAYCOMPENSATION The delay in us between the zero crossing of powerline AC and the zero crossing at the ZC IN pin The compensation is applied for phase detection purposes such as PDC field 16 52 2 DoclD026814 Rev 1 UM1811 PHY menu 5 PHY menu To be able to execute PHY layer commands the G3 PLC platform working mode needs to be
7. 30 Sniffer window ST PowerLine SNIFFER x i Node 1 COM5 46 0800 Open Close HideTraffic Freeze Clear Startlog Stoplog Openlog ReaiTimeScroil PHY Type Y PHY LOT T SF T RULES LEO T PIC T AckReq T E FrameType Y SrcAddrMox Y FrameVersion Vim 1 09 48 58 668 DATA 255 z im 0 1 0 0 EJ E E Command NO ADDRESS O 2 09 49 34 681 DATA 255 7 CJ a 0 1 0 0 Jl L1 T m Command NO ADDRESS 0 09 50 10 753 DATA 255 E 0 1 0 0 CJ Command NO ADDRESS O 4 09 50 46 823 DATA 255 e 0 1 0 0 LJ Command NO ADDRESS O 5 09 51 22 781 DATA 255 4 LI LJ 0 1 0 0 L LJ Command NO ADDRESS O 2 6 09 51 58 912 DATA 255 E 0 1 0 0 T c I Command NO ADDRESS O z 09 52 34 951 DATA 255 z m a IC 0 1 0 0 oj m o Command NO ADDRESS 0 ls 09 53 10 967 DATA 255 2 O CJ 0 al 0 0 m CJ Command NO ADDRESS O 9 09 53 46 975 DATA 255 z L 0 1 0 0 LI LJ Command NO ADDRESS O 10 09 54 23 068 DATA 255 2 al a LJ 0 1 0 0 LI LJ w LJ Command NO ADDRESS O M 1 lil 42 52 DoclD026814 Rev 1 Kys UM1811 Basic G3 operations 10 Basic G3 operations 10 1 Environment setup Figure 31 Environment setup to perform the basic G3 operations G3 PLC Platform G3 PLC GUI G3 PLC Platform NODE 2 10 2 Connect Node 1 and 2 on the G3 PLC GUI The first action to perform with the G3 PLC GUI is
8. BOOT re capabetes PE PHY MODE z Ulnt32 Hex rteValidationTest IPv6 peProtocolVersion 4 GUB peDebugLevel peUnused G3LIB IB EX peCurrentTime TEST phyCRCErrPacketCount phyCRCFailPacketCount phyLastReceivedPacketlv SER TNNP E Seiect Ail Deselect All More than one attribute may be added in the white board A generic set get method is then available to write read the attribute 2 14 52 DoclD026814 Rev 1 UM1811 G3LIB menu 4 3 G3LIB information base attributes description From the G3LIB menu a set of attributes may be read and written These attributes are not specified by the G3 PLC protocol Here is a brief description of all those attributes Table 2 G3LIB real time engine information base attributes RTEFWVERSION Real time engine attributes The real time engine firmware version RTEPROTOVERSION The real time engine protocol version RTEDRQUEUESIZE The number of TX packets that could be handled by the real time engine RTETXPACKETCOUNT The statistical counter of transmitted packet by the real time engine RTERXPACKETCOUNT The statistical counter of correct received packet by the real time engine RTEMODE The real time engine working mode 0 rt MAC 1 PHY only RTECAPABILITIES Internal use RTEVALIDATIONTEST Internal use Table 3 G3LIB protocol engine information base attributes PEFWVERSION Protocol engine attributes The protocol engine fi
9. EX 4 AD 80 IPv Index 0x 0000 MLME SET Confirm 7 a 6 The same sequence needs to be repeated for the Node 2 Once the security key has been configured for both nodes data can be sent at the ADP layer The ADPD DATA Request command is available in the ADP root panel No destination PANId macShortAddress needs to be entered at the ADP level as the message is an IPv6 packet that already contains the source and destination addresses The IPv6 packet must be correctly formatted to perform the data exchange As a reference the following is a working configuration for this test scenario shown in Figure 41 e Node 1 Short address 002A PANId 781D Key entry AF4D6DCCF14DE7C1C4235E6FEF6C151F 2 DoclD026814 Rev 1 49 52 Basic G3 operations UM1811 e Node 2 Short address 010C PANId 781D MAC Key entry AFADGDCCF14DE7C1CA4235EGFEF6C151F e NSDU 6000000000171104FE80000000000000781D00FFFE00002AFE8000000000000078 1 DOOFFFE00010CF0B1F0B20017EE2C112233445566778899AABBCCDDEEFF Once the Nsdu is correctly set 1 and the ADPD DATA Request command has been executed 2 the ADPD DATA Indication message will be displayed in the trace window with the SUCCESS status 3 When hovering over this message more details on its content are displayed Figure 42 Send ADP data from TX to RX Too Y Powerline Plugin Plugin Sniffer Settings Information Power Fery ST Pow
10. MLME GET Confirm TEST MLME SET Request 4 Node 2 PHY 4 MAC 4 MLME_Control MLME_I8 1 MLME IB EX ADP Index Ox 0000 MLME SET Confirm Value Ox 781D ROOT Then the short address needs to be configured it must be different from the one of the Node 1 as represented in Figure 37 Figure 38 Configure Node 2 short address ST PowerLine Host Interface To J O Powerline Plugin Plugin ST Sniffer Settings Information PowerLineGu ST PowerLine Object Tree ST G3 Node 1 COM57 ST G3 Node 2 COM59 BOOT e IPv6 G3UB MLME GET Request macAckWaitDuration 2 2 Ox 0000 MLME GET Confirm 4 Node 2 O con Mint tex Value Or 0106 PHY 3 4 MAC 4 MLME_Control MLME_IB 1 MLME_IB_EX ADP BOOT Now that the Node 1 and Node 2 are properly configured data can be exchanged from one node to the other one To do this go in the MAC root menu as show in Figure 38 First enter the DstPANId of the destination node 781D then the dstAddr of the destination node 010C 1 Then select the payload type to be ASCII 2 and enter your payload in the big text area 3 2 DoclD026814 Rev 1 47 52 Basic G3 operations UM1811 Figure 39 Send MAC data from TX to RX ST PowerLine Host Interface TO J O Powerline Plugin Plugin ST Sniffer 8 Settings Information PowerLineGu ST PowerLine Object Tree ST G3 Node 1 COM57 ST G3 Node 2 COM59
11. address to be used SNRdBLOW The low threshold for the SNR SNRdBHIGH The high threshold for the SNR macCoordinatorType macTrxStateNotCorrect MAC coordinator type definition O device 1 coordinator The counter of discarded frames due to an invalid state of the real time engine macPsduToLong The counter of discarded frames due to a too long PDU maclnvalidFrameType The counter of discarded frames due to an invalid frame type field detected maclnvalidFrameVersion macinvalidDAM The counter of discarded frames due to an invalid frame version field detected The counter of discarded frames due to an invalid destination address mode detected macinvalidSAM The counter of discarded frames due to an invalid source address mode detected maclnvalidPANId The counter of discarded frames due to an invalid PANId detected maclnvalidShortAddr The counter of discarded frames due to an invalid short address detected maclnvalidExtAddr The counter of discarded frames due to an invalid extended address detected maclnvalidBeacon The counter of discarded frames due to an invalid beacon detected 28 52 Ly DoclD026814 Rev 1 UM1811 MAC menu Table 7 MAC ST implementation defined information base attributes continued macinvalidDataCmd ST implementation defined attributes The counter of discarded frames due to an invalid command detected macinterna
12. configured to the PHY mode To do this simply go to the G3LIB panel as shown in Figure 9 Choose the PHY MODE from the available modes 1 and press the HI MODE SET Request button 2 Figure 9 Configure the host interface in PHY mode 4 Node 1 PHY 2 Powerline Plugin Sniffer Settings ST PowerLine Object Tree 4 PE ST PowerLine Host 2 1 O com ST PowerLine Host Interface y ST G3 Node 1 COM57 HI MODE SET Request Mode PHY MODE HI HWRESET Request mI MODE GET Request hi STATE GET Request G3LIB TESTMODE Request Disabie s G3LIB SWRESET Request G3LIB GET Request neFW Version e G3LIB GET Confirm G3UB SET Request rteFWVersion m Value hex 000000000000000C G3LIB SET Confirm Ulnt64 Hex Once the PHY mode is selected the following menu panels may be accessed PHY root menu it allows to send data in the physical layer mode PDACK physical data service for acknowledgment message sending PLME control physical layer management entity control panel used for the line status request and RX TX configuration PLME physical layer management entity panel used to set the transmission parameter details modulation ToneMap ToneMask etc DoclD026814 Rev 1 17 52 PHY menu UM1811 5 1 PHY root menu The root menu offers the possibility to enter a payload and send the frame in physical layer mode as represented Figure 10 Figure 10 PHY root panel Too JU QO Powerl
13. could generate padding if the amount of data inserted doesn t reach an acceptable length for the PHY block This results in additional byte shown in the data field of the PD DATA Indication message Also note that there s a limit on the amount of data that can be successfully sent which is based on the modulation chosen With the modulation that allows the biggest amount of data to be sent that limit is 239 bytes 10 4 MAC layer data exchange To be able to execute a MAC command the Node 1 and 2 working modes need to be set to the MAC mode as explained in Section 6 on page 22 Then to be able to send data from one node to the other one at least the powerline area network ID and the short address must be configured for each device 2 DoclD026814 Rev 1 45 52 Basic G3 operations UM1811 To configure the PANId as shown in Figure 34 go into the MAC MLME IB 1 menu of the Node 1 select first the macPANId in the list on the right side of the MLME SET Request command 2 One text box area will appear just below Enter the PANId of the node 3 and click on the MLME SET Request button 4 Figure 35 Configure Node 1 PANId ST PowerLine Host Interface TO J O Powerline Plugin Plugin ST Sniffer 8 Settings Information PowerLineGu ST PowerLine Object Tree ST_G3 Node 1 COM57 ST_G3 Node 2 COM59 4 ga ST PowerLine Host A 4 Node 1 tune A o MLME GET Request macAckWaitDuration 2 Ox 0000 MLME GET Confirm
14. of the message 4 Figure 34 Send PHY data from TX to RX gt ST PowerLine Host Interface To UJ O Powerline Plugin Plugin ST Sniffer Settings Information PowerLineGui J ST PowerLine Object Tree v ST G3 Node 1 COM57 ST G3 Node 2 COM59 4 er ST PowerLine Host 3 4 Node l PD DATA Request PD DATA Confirm FD DATAInaication O com 4 PHY F Type Hex Ascii TEST PDACK ox0008 PLME Control Length 0004 E Random Max Size 1 2 MAC ADP 400 BOOT Generate Random IPv6 G3uB IESI m ST PowerLine Trace Window e E Time Y Device Y Message a 15 57 59 029 COM57 lt PD DATA Confirm SUCCESS None Data sent with status SUCCESS E a 15 57 59 023 COM57 PD DATA Confirm 15 57 59 016 COM59 PD DATAIndication SUCCESS None Data received 0x54455354000000000000000000000000000000 Field Name Y Info Y Ime OxFF Data Hex 54455354000000000000000000000000000000 Data String TESTO00000000000000 HexDump 16 16 42 15 00 FF 00 00 00 00 00 FF 54 45 53 54 00 00 00 00 00 00 00 00 00 00 DO 00 00 00 00 19 3D a 1557 59 005 COM59 PD DATA Indication 4 15 57 58 925 COM57 lt PD DATA Request SUCCESS None ja 1557 58 918 COM57 PD DATA Request Sending data 0x54455354 In the details of the PD DATA Indication message the Link Quality Indicator and the content of the payload received either in hexadecimal or string format can be found Note that the PHY layer
15. protocol Figure 7 G3LIB root panel ST PowerLine Host Interface TG J O sT Powerline Plugin Plugin Sniffe Settings Information PowerLineGu ST Powerline Object Tree ST G3 Node 1 COM57 4 J st Ponertine Host 4 Node 1 O com HI MODE SET Request Mode PHY MODE HI HWRESET Request PHY HI MODE GET Request hi STATE GET Request BOOT G3LIB TESTMODE Request Disable G3LIB SWRESET Request G3LIB GET Request rteFWVersion s G3LI8 GET Confirm TEST G3LIB SET Request rteFW Version m Value hex 900000000000000C G3UB SET Confirm Uint64 Hex The G3LIB main menu contains two areas The first one 1 comprises the commands useful to configure the host interface application e HI MODE SET Request this command sets the G3 PLC platform working mode e HI MODE GET Request this command gets the operational mode of the host interface application e HI STATE GET Request this command performs a basic action to test the connection with the board e HI HWRESET Request this command performs a system reset of the device The second area includes 2 all the commands related to the G3 library configuration The following commands are available e G3LIB TESTMODE Request this command enables or disables a specific test mode used for G3 PLC library verification which normally is not useful for the user e G3LIB GET Request this command is used to get the value of one attribute of the G3 PLC ST lib
16. 4 PHY PDACK PLME Control PLME 4 MAC MLME Control MLME IB MLME IB EX 4 ADP ADPM Control ADPMLBP ADPM IB 4 BOOT BOOT IB IPv6 4 G3uB G3LIB IB EX All the services provided by one layer may be accessed from the main menu or from one of its sub menus Below here there is a brief description of each main menu e PHY the PHY menu offers an interface to use the PHY primitives of the G3 PLC protocol MAC the MAC menu offers an interface to use the MAC primitives of the G3 PLC protocol e ADP the ADP menu offers an interface to use the GLoWPAN primitives of the G3 PLC protocol e BOOT the BOOT menu offers an interface to use the ST defined bootstrap application This feature will not be described in this document Please contact your ST local support for additional information DoclD026814 Rev 1 Ly UM1811 Getting started e G3LIB this menu offers an interface to be able to configure the G3 PLC library and access additional parameters that are not specified in the G3 PLC protocol e Pv6 the IPv6 menu offers the possibility to drive a specific firmware with the IPv6 on the top of G3 This feature will not be described in this document Please contact your ST local support for additional information e TEST the TEST menu offers an interface for test purposes Each menu provides one specific SAP layer of the G3 PLC stack In order to access a given SAP layer the G3 PLC implementation needs to be configured t
17. COM PHY n MLME SET Request Index 0x 0000 MLME SET Confirm 4 MAC Ulnt16 Hex 781D Value Ox 7810 MLME Control 3 MLME IB 1 MLME IB EX 4 ADP BOOT IPv6 G3LIB As shown in Figure 35 the same can be done for the macShortAddress parameter Select first the attribute macShortAddress in the list of attributes 2 and enter its value in the text box area 3 Figure 36 Configure Node 1 short address ST PowerLine Host Interface Powerline Plugin Plugin S Sniffer Settings Information PowerLineGui J ST PowerLine Object Tree v ST G3 Node 1 COM57 ST G3 Node 2 COM59 m E Pr ST PowerLine Host 4 Node 1 2 A MLME GET Request macAckWaitDuration dex Ox 0000 MLME GET Confirm O com PHY S MLME SET Request Index Ox 0000 MLME SET Confirm MLME_Control 3 MLME_IB 1 MLME_1B_EX 4 ADP BOOT Pv6 G3LIB The same commands needs to be executed for the Node 2 The PANId may have the same value as for the Node 1 as represented in Figure 36 the same PANId means that the two nodes belong to the same network 46 52 DoclD026814 Rev 1 Ly UM1811 Basic G3 operations Figure 37 Configure Node 2 PANId ST PowerLine Host Interface TG Jy O Powerline Plugin Plugin ST Sniffer Settings Information PowerLineGu ST PowerLine Object Tree v ST G3 Node 1 COMS7 ST G3 Node 2 COMS9 BOOT a IPv6 G3UB MLME GET Request macAckWaitDuration F 2 Ox 0000
18. En 4 Node 1 I 4 O com b PHY MCPS DATA Request Src Address Mode BITSA6 s DstPanID Ulnt16 Hex 4 MAC MCPS DATA Confirm Dst Address Mode 8mSi6 E DstAddr Ulnt16 Hex MLME Control p m MMM TEST MCPS DATAdndication msdu yi h E MLME B Type Hex Ascii MLME IB EX Ox0004 Length gt ADP f 0004 Security Level 2 gt BOOT Random Max Size 1 IPv6 NO SECURITY 400 G3LIB Generate Random TEST ode Rs Rsv Rs Rs Rs ECT T 4 Node 2 A TX DIRECT TX CAP TXACK i a 150227695 COM57 MCPS DATAConfim SUCCESS None Frame sent with status SUCCESS El a 16 0227 609 COM59 lt McPs DaTAinicaton success None Frame received from Device 0x002A PANId Ox781D Msdu x54 a 160227688 COMS gt MCPS DATAConfirm 2 a 1602 27 671 COM59 MCPS DATA Indication a 160227 575 COM57 lt MCPS DATA Request SUCCESS None 4 16 02 27 565 COMS7 MCPS DATA Request Sending frame to Device 0x010C Msdu 0x54455354 To check that the transmission was successful look for the MCPS DATA Indication message in the trace window with the SUCCESS status When hovering over this message its detailed content appears in a new window as represented in Figure 39 Figure 40 MCPS DATA Indication message details SrcAddrMode BITS16 SrcPANId 0x781D SrcAddr 0x002A 5 DstAddrMode BITS16 DstPANIG 0x781D DstAddr Ox010C MsduLenght 4 Msdu Hex 0x54455354 Msdu String TEST MsduLi
19. OT For the Node 2 as shown in Figure 32 go into the PHY menu PLME Control panel 1 to configure the state of the node Check the TXOFF RXON 2 parameter and click on the PLME SET TRX STATE Request button 3 Figure 33 Configure Node 2 in RX ST PowerLine Host Interface Help TG y Powerline Plugin Plugin ST Sniffer Settinas Information PowerLineGu ST PowerLine Object Tree ST G3 Node 1 COM57 ST G3 Node 2 COM59 ng35T Powerline Host 4 Node 1 O com PLME SET TRX STATERequest TRX STATE TXON RXOFF TXOFF R 4 PHY PLME_SET_TRX_STATE Confirm 3 2 PDACK PLME Control PLME PLME CS Confirm PLME CS Request MAC ADP BOOT Now that the boards are plugged in the mains and the setup has been completed data can be sent at the PHY level as represented in Figure 33 To do this go to the PHY root menu of the Node 1 Select the payload type to be ASCII 1 write the TEST string in the free text area 2 and click on the PD DATA Request button 3 In the trace window it is possible to check that the Node 2 has received the data message by checking that the PD DATA Indication message returned the SUCCESS status 44 52 DoclD026814 Rev 1 Ly UM1811 Basic G3 operations Any message in the trace window may be hovered over to see more details The message content may also be expanded in the trace window by clicking on the small cross on the left side
20. Reed Solomon block is now deactivated 2 DoclD026814 Rev 1 39 52 BER Test panel UM1811 Figure 27 Deactivate Reed Solomon Powerline Plugin Plugin ST PowerLine Host Interface TOo Jy O T Sniffer Settings Information PowerLineGu ST PowerLine Object Tree 4 43 ST PowerLine Host 4 Node 1 O com X ST G3 Node 1 COMS7 ST_G3 Node 2 COM59 G3UB STATE Get G3UB TESTMODE Disable G3LIB GET Request rteFWVersion O G3LIB SET Request phyRSfilterDisabled m Value hex 01 Ulnt8 Hex 1 G3UB Reset G3LiB SWReset G3LI8 GET Confirm G3UB SET Confirm In the BER Test panel the following parameters may be configured e Pkts the number of packets to be sent if O the test will end when the STOP button is pressed e Delay ms delay in milliseconds between 2 packets e Payload size the size of each packet up to 239 bytes but based on the transmission parameters this could be smaller 128 bytes is an adequate size Once the configuration is done the user may click the START button to start the BER session The BER Test session ends when the TX Node has transmitted as many packet as configured or when the user presses the STOP button During the session the bit error rate is computed and displayed in the RX Node area of the TESTLAB panel The TX settings may be modified in the PHY PLME menu to test different conditions modulation output le
21. anel the following command may be executed e MCPS DATA Request command used to send data across the MAC layer e MCPS DATA Confirm forces generation of a confirmation message if automatic event is disabled e MCPS DATA Indication forces generation of an indication message if automatic event is disabled The following options are available in the panel e Security Level the security level to be used No Security ENC MIC 32 CCM e Src Address Mode the source address mode BITS16 short address BITS64 extended address e Dst Address Mode the destination address mode BITS16 short BITS64 extended address e DstPANld the ID of the powerline area network e DstAddr the destination address e Msdu Payload type select the hexadecimal or ASCII input mode for the MSDU e Msdu Payload content a free text window to enter the data to be sent e Max Paylaod Size a check box to configure the maximum size for the random MSDU option e Generate Random an option to generate a random MSDU e TX options transmission options for the MSDU TX ACK TX CAP TX DIRECT 2 DoclD026814 Rev 1 23 52 MAC menu UM1811 msduHandle the handle associated with the MSDU to be transmitted QoS quality of service for the MSDU normal priority high priority contention free Once the MCPS DATA Request command is executed messages will be logged into the trace window 6 2 MLME control menu The MAC sublayer management enti
22. ator The PANId needs to be specified in the corresponding text box area e MLME START Confirm forces generation of a confirm message if automatic event is disabled 6 3 MLME IB menu The MAC layer management entity menu offers the possibility to read and write the information base parameters of the G3 PLC MAC layer as represented in Figure 16 Figure 16 MAC IB menu Help TO J O Powerline Plugin Plugin ST Sniffer Settinas Information PowerLineGu ST Powerline Object Tree gt ST G3 Node 1 COM57 la ng ST PowerLine Host 4 Node 1 MLME GET Request macAckWaitDuration Index Ox 0000 MLME GET Confirm O com PHY MLME SET Request macSecunityEnabled Index 0x 0000 MLME SET Confirm 4 MAC Bool 0 1 Value Ox MLME_Control i MLME IB MLME IB EX ADP BOOT IPv6 G3LIB TEST From this menu the following commands are available e MLME GET Request command to read one MAC entity parameter e MLME SET Request command to write one MAC entity parameter e MLME GET Confirm forces generation of a MLME GET Confirm message if automatic event is disabled e MLME SET Confirm forces generation of a MLME SET Confirm message if automatic event is disabled 2 DoclD026814 Rev 1 25 52 MAC menu UM1811 6 4 MLME IB EX menu Figure 17 shows the explorer menu of the information base for the MAC entity Figure 17 MAC information base explorer TO U O Powerline Plu
23. data frame sequence number macMaxCSMABackoffs The maximum number of backoff attempts macMinBE Minimum value of the backoff exponent macPANId Personal area network identifier macPromiscuousMode Promiscuous mode enable macShortAddress Device short address macMaxFrameRetries The maximum number of retransmission macTimeStampSupport MAC frame time stamp support enable macSecurityEnabled Security enabled macKeyTable This attribute holds GMK keys required for MAC layer ciphering macFrameCounter The outgoing frame counter for this device Table 6 MAC G 9903 information base attributes Standard G 9903 attributes macTxDataPacketCount The statistical counter of successfully transmitted unicast MSDUs macRxDataPacketCount The statistical counter of successfully received unicast MSDUs macTxCmdPacketCount The statistical counter of successfully transmitted command packets macRxCmdPacketCount The statistical counter of successfully received command packets macCSMAFailCount Counts the number of times the CSMA back offs reaches macMaxCSMABackoffs macCSMAnoACKCount Counts the number of times an ACK is not received while transmitting a unicast data frame macRxDataBroadcastCount The statistical counter of successfully received broadcast frames macTxDataBroadcastCount The statistical counter of the number of broadcast frames sent macBadCRCCount The statistical counter of the number o
24. erLine Host Interface D J ST PowerLine Object Tree Y 4 ng ST PowerLine Host 4 Node 1 O com PHY gt MAC gt ADP BOOT gt IPv6 G3UB TEST 4 Node 2 O com DL i ST_G3 Node 1 COM57 ST G3 Node 2 COM59 ADPD DATA Request Type Bex Ascii 000000000171104F 80000000000000781D00FFFE00002AFE80000000 a 000000781D00FFFE00010CF081F0B20017EE2C112233445566776899AA Ox003F BBCCDDEEFF Length 0063 Nsdu Random Max Size 1280 1 Generate Random NsduHandle Ulnt8 Hex 00 QoS NORMAL PRIORITY aaa Discover Route TRUE m ST PowerLine Trace Window COM57 lt ADPD DATA Confirm SUCCESS Frame sent with status SUCCESS d 22832 COMS7 ADPD DATA Confirm 16 31 22 800 COM59 lt ADPD_DATA Indication SUCCESS None Frame received Nsdu Ox6000000000171104FE800000000000007 Field Name Y Info Y NsduLenght 63 Nsdu Hex 0x6000000000171104FE80000000000000781D00FFFE00002AFE80000000000000781D00FFFE00010CF0B1F0B20017EE2C11223344556677889 LinkQualityindicator OxFF HexDump 16 16 92 43 00 FF 00 00 00 00 00 3F 00 FF 60 00 00 00 00 17 11 04 FE 80 00 00 00 00 00 00 78 1D 00 FF FE 00 00 2A FE 80 00 00 00 00 00 00 a 16312278 COM59 gt ADPD DATAIndication E 1631 22 739 COMS7 lt ADPD DATA Request SUCCESS None a 1631 22 719 COMS7 ADPD DATA Request Sending frame Nsdu 0x6000000000171104FE8000000000000078 50 52 2 DoclD026814 Rev 1 UM1811 Rev
25. ev 1 37 52 BER Test panel UM1811 8 8 1 8 2 38 52 BER Test panel The Bit Error Rate BER Test panel may be used to automate the evaluation of the bit error rate Typical setup The following diagram shows the typical environment to perform the BER Test Figure 24 BER Test setup The BER may be checked in different conditions Increasing or decreasing the level of transmission attenuation and the level of injected noise results in a different BER value at the receiver side The nature of the interfering noise AWGN colored single carrier etc may also impact the BER performance Test description To be able to perform the BER Test two G3 PLC platforms need be connected to the G3 PLC GUI Both boards need to be configured in the PHY operational mode as described in Section 5 on page 17 The user needs to configure one G3 PLC platform in the TX mode and the other one in the RX mode The user can then follow the steps described in Section 10 3 on page 43 in order to correctly configure the nodes Once the nodes configuration is done the user can open the Test panel as explained in Figure 25 e Click on the Plugin Settings icon in the menu bar 1 e Enable the TESTLAB panel 2 e The TESTLAB panel will appear at the right side of the tool 2 DoclD026814 Rev 1 UM1811 BER Test panel Figure 25 Enable BER Test panel Help 2 0 Powerline Plugin Sniffer Sett
26. f frames received with bad CRC macNeighborTable The neighbor table for this device macFreqNotching Ly S FSK 63 and 74 kHz frequency notching DoclD026814 Rev 1 27 52 MAC menu UM1811 Table 6 MAC G 9903 information base attributes continued macCSMAFairnessLimit Standard G 9903 attributes The channel access fairness limit Specifies how many failed back off attempts back off exponent is set to minBE macTMRTTL Maximum time to live of tone map parameters entry in the neighbor table in seconds macNeighbourTableEntryTTL Maximum time to live for an entry in the neighbor table in seconds macRCCoord Route cost to coordinator to be used in the beacon payload as RC COORD macToneMask Defines the tone mask to use during symbol formation macBeaconRandomizationWindowLengh Duration time in seconds for the beacon randomization macA This parameter controls the adaptive CW linear decrease macK Rate adaptation factor for the channel access fairness limit macMinCWAttempts The number of consecutive attempts while using minimum CW macCENELECLegacyMode This read only attribute indicates the capability of the node macFCCLegacyMode This read only attribute indicates the capability of the device Table 7 MAC ST implementation defined information base attributes ST implementation defined attributes aExtendedAddress EUI 64
27. gin Plugin ST Sniffer Settinas Information PowerLineGui j ST PowerLine Object Tree v ST G3 Node 1 COM57 4 og J st Powertine Host 4 Node 1 Attributes Attribute aneratinn macAckWaitDuration E O com macMaxBE Attribute macPanld Attribute 3 macShortAddress PHY macBSN GET Reg GET Gon fax 0x 0000 GET Reg GET Com idx 0x 0000 4 MAC macDSN a quM 3 macMaxCSMABackoffs SET Req SET Cont _ SET Req SET Conf MLME Control macMinBE Gi nacProi usM MLME IB OS Ulnt16 Hex Ulnt16 Hex q macMaxFrameRetries MLME IB EX macTimeStampSupporte ADP macSecurityEnabled macKeyTable BOOT macFrameCounter gt IPv6 macHighPriorityWindow macTxDataPacketCount G3LIB macRxDataPacketCount maa Ta a ra Tin M TEST Seiect Ail Deselect All This menu offers the same set of commands as the MLME IB ones The main difference is the white board where the user may drag and drop any of the elements from the list 26 52 DoclD026814 Rev 1 2 UM1811 MAC menu 6 5 MAC information base attributes description Here is a brief description for all the attributes of the MAC information base Table 5 MAC IEEE 802 15 4 information base attributes macAckWaitDuration Standard IEEE 802 15 4 attributes Duration of acknowledgment in microseconds Maximum value of the backoff exponent It should always be greater Inge MX than macMinBE macBSN The beacon frame sequence number macDSN The
28. he device belongs adpMaxHops Defines the maximum number of hops to be used by the routing algorithm Defines the type of the device connected to the modem 0 PAN device adpDeviceType 1 PAN coordinator 2 not defined adpNetTraversalTime Maximum time that a packet is expected to take to reach any node from any node in seconds adpBlacklistTable adpBlacklistTableEntryTTL adpRoutingTableEntryTTL Maximum time to live of a routing table entry in seconds adpKr A weight factor for the robust mode to calculate the link cost adpKm A weight factor for modulation to calculate the link cost adpKc A weight factor for the number of active tones to calculate the link cost adpKq A weight factor for LQI to calculate the route cost adpKh A weight factor for hop to calculate the link cost adpRREQRetries The number of RREQ retransmission in case of RREP reception timeout adpRREQRERRWait Time in seconds to wait between two consecutive RREQ or RRER generations adpWeakLQlValue The weak link value defines the LQI value below which a link to a neighbor is considered as a weak link A value of 52 represents an SNR of 3 dB adpKrt A weight factor for the number of active routes in the routing table to calculate the link cost adpSoftVersion The software version adpSnifferMode The Sniffer mode activation deactivation Contains the list of the blacklisted neighbors Maximum time to live of a blacklisted neighbor entry i
29. he list of prefixes defined on this PAN Note that it is assumed that the adpPrefixTable link local IPv6 address exists independently and is not affected by the prefixes defined in the prefix table adpBroadcastLogTableEntryTTL Maximum time to live of a adpBroadcastLogTable entry in seconds adpMetricType A metric type to be used for routing purposes adpNumDiscoveryAttempts The number of discovery attempts adpDiscoveryAttemptsWaitTime Allows programming the maximum wait time between invocation of two consecutive network discovery primitives in seconds adpContextlnformationTable Contains the context information associated to each CID extension field adpCoordShortAddress Defines the short address of the coordinator adpRLCEnabled Enables the sending of RLCREQ frame by the device adpAddRevLinkCost It represents an additional cost to take into account a possible asymmetry in the link Ly DoclD026814 Rev 1 35 52 ADP menu UM1811 Table 8 ADP G 9903 information base attributes52 continued Standard G 9903 ADP information base attributes adpBroadcastLogTable Contains the broadcast log table adpRoutingTable Contains the routing table adpUnicastRREQGenEnable If TRUE the RREQ shall be generated with its unicast RREQ flag set to 1 If FALSE the RREQ shall be generated with its unicast RREQ flag set to 0 adpGroupTable Contains the group addresses to which t
30. inas Wu Plugin ST Information PowerLineGu ST PowerLine Object Tree 4 ng 9 ST PowerLine Host y ST G3 Node 1 COM57 ST G3 Node 2 COMS9 X TESTLAB all BER Test STCOMET Serial Port Node 1 O Port M59 Pkts 0 Y Baud 57600 z eset Node 2 Pkts 0 Bitrate 0 PER Test TX Node Port COMS7 PHY d Payload size START Delayms 0 RX Nodes Port COM59 BER 2 Once the Test panel is enabled the RX and TX Nodes need to be slided into their area as show in Figure 26 To do that click on the TX Node in the object tree panel and slide it in the right area 1 Do the same for the RX Node 2 Figure 26 Configure BER Test panel ST PowerLine Object Tree y ST G3 Node 1 COMS7 ST G3 Node 2 COM59 X TESTLAB 4 ng J ST PowerLine Host BER Test STCOMET Serial Port PER Test TX Node Node 1 Port COMS PHY Payload size START O Port Y Baud 57600 Pkts 0 237 Delay ms 0 RX Nodes Node 2 Port COM59 Pkts 0 BER Bitrate O One last step is needed in the configuration process for the BER the deactivation of the Reed Solomon filter for the RX Node as shown in Figure 27 To deactivate it select the G3LIB menu of the RX Node Select the phyRSFilterDisabled in the list of attributes 1 Set 01 in the Value text field 2 and hit the G3LIB SET Request button 3 The
31. ine Plugin Plugin ST Sniffer Settings Information PowerLineGui L I ST PowerLine Object Tree v ST G3 Node 1 COM57 4 a ST PowerLine Host 4 Node 1 PD DATA Request PD DATA Confirm PD_DATA Inaication O COM Payloac Hex fasci MAC Length 0x0000000 ADP BOOT Max Payload Size IPv6 400 G3LIB TEST Generate Random On this panel three main actions can be done e PD DATA Request command to send data at the PHY level e PD DATA Confirm forces generation of a confirmation message if automatic event is disabled e PD DATA Indication forces generation of an indication message if automatic event is disabled Data shall be specified in the hexadecimal or ASCII format selecting the proper button Note that in case of the Hex format if the payload is entered manually the payload length must be even each character corresponds to 4 bits allowed characters are 0 9 and A F A random payload may be generated clicking the Generate Random button In this case if the Max Payload Size option is checked the random payload has a fixed length as specified in the text box otherwise a random length is generated and used length is always less or equal to the specified maximum When the PD_DATA Request command is executed messages are logged into the trace window 2 18 52 DoclD026814 Rev 1 UM1811 PHY menu 5 2 2 PLME control menu The physical sublayer management enti
32. ision history 11 2 Revision history Table 10 Document revision history Date 07 Oct 2014 Revision 1 Initial release Changes DoclD026814 Rev 1 51 52 UM1811 IMPORTANT NOTICE PLEASE READ CAREFULLY STMicroelectronics NV and its subsidiaries ST reserve the right to make changes corrections enhancements modifications and improvements to ST products and or to this document at any time without notice Purchasers should obtain the latest relevant information on ST products before placing orders ST products are sold pursuant to ST s terms and conditions of sale in place at the time of order acknowledgement Purchasers are solely responsible for the choice selection and use of ST products and ST assumes no liability for application assistance or the design of Purchasers products No license express or implied to any intellectual property right is granted by ST herein Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product ST and the ST logo are trademarks of ST All other product or service names are the property of their respective owners Information in this document supersedes and replaces information previously supplied in any prior versions of this document 2014 STMicroelectronics All rights reserved 2 52 52 DoclD026814 Rev 1
33. ium access control layer PC Personal computer PHY Physical layer PLC Power line communication UART Universal asynchronous receiver transmitter USB Universal serial bus 2 DoclD026814 Rev 1 5 52 GUI installation UM1811 2 2 1 2 2 2 3 6 52 GUI installation System requirements A personal computer PC including e Operating system Windows 7 e Microsoft NET framework 4 0 or later installed e 20 Mbytes free on the local disk for the archive to be uncompressed e One or more USB ports G3 PLC GUI release The GUl is released in a zip archive To run the application the archive needs to be uncompressed on the user local disk Once the archive is successfully uncompressed the user needs to run the StPowerLineGui exe file G3 PLC GUI main window overview Once the StPowerLineGui exe executable has been launched the main window of the G3 PLC GUI appears on the screen after few seconds 2 DoclD026814 Rev 1 UM1811 GUI installation Figure 2 Main G3 PLC GUI window ST Powerline Object Tree Pow Plugin Sn Informatio neGu b Ba ST PowerLine Trace Window CAY CAN Cr An CO AS 7 1 The elements of the main window are 1 Power Line Sniffer button it opens the Sniffer tool panel Plugin Settings button it opens the configuration panel Plugin Information button it shows the plugin information panel ST Power Line GUI information but
34. lStateNotCorrect The counter of discarded frames due to an invalid state of MAC when receiving a PD DATA indication macFrameDiscarded The counter of discarded frames for other reasons not represented by other errors macAckTrxStateNotCorrect The counter of discarded ACK frames for the PHY state not correct PHY In TX macAckNotCorrect The counter of discarded ACK frames for wrong FCH received macAcklntStateNotCorrect The counter of discarded ACK frames for an invalid state of the MAC macAckCrcNotExpected The counter of discarded ACK frames for invalid CRC expected macAckDiscarded The counter of total discarded ACK frames macCSMASeed Initial seed of the CSMA CA procedure maclnvalidFramePending The counter of discarded frames due to an invalid frame pending field detected maclnvalidPIC The counter of discarded frames due to an invalid PIC field detected SNRdBROBO The tone map algorithm threshold for the robust mode SNRdBDBPSK The tone map algorithm threshold for DBPSK modulation SNRdBDQPSK The tone map algorithm threshold for DQPSK modulation SNRdBD8PSK The tone map algorithm threshold for D8PSK modulation macRXBeaconReceivedFromLastScan The number of received beacons from the start of the last scan macModulationControl The field mask to control the modulation used by the MAC layer where Bit 0 3 defines the modulation to be used for the data dtrans
35. mission 0 ROBO 1 DBPSK or BPSK 2 DQPSK or QPSK 3 D8PSK or 8PSK F use neighbor table Bit 4 7 defines the modulation scheme to be asked in the tone map response 0 ROBO 1 DBPSK or BPSK 2 DQPSK or QPSK 3 D8PSK or 8PSK F use the internal algorithm Bit 8 if 1 forces the differential data transmission Bit 9 if 1 forces the differential modulation in the tone map response macOptionalFeatures The field mask to control the optional features provided by the MAC layer where Bit 0 if 1 it enables the TMR bit in the tone map response Bit 1 if 1 it enables the encryption of the tone map response 2 DoclD026814 Rev 1 29 52 ADP menu UM1811 7 ADP menu To be able to execute ADP commands the G3 PLC platform working mode needs to be configured to the ADP mode To do this simply go to the G3LIB panel as shown in Figure 18 Choose the ADP MODE from the available modes 1 and press the HI MODE SET Request button 2 Figure 18 Configure the host interface in ADP mode ST PowerLine Host Interface TG Y O Powerline Plugin Plugin ST Sniffer Settinas Information PowerLineGui J ST PowerLine Object Tree v ST G3 Node 1 COM57 4 d ST PowerLine Host 4 Node 1 2 1 O com HI MODE SET Request Mode ADP MODE gt HI HWRESET Request PHY ac HI MODE GET Request HI STATE GET Request ADP BOOT G3LIB TESTMODE Request Disable G3LIB SWRESET Request IPv6 G3UB G3LIB GET Reques
36. n Zi aie eee hed edhe www G4 DE ER STER SER x REN EE 17 5 1 PHY root menu lleeeeee ss 18 5 2 PLME control menu eR RR 19 5 3 PEME MENU uo RR Re RR EU cR t Roue tee Aen DR abd 20 6 MAC menu sscer nnn nnn nn 22 6 1 MAC root Menu rns 23 6 2 MLME control menu 0 RR Rs 24 6 3 MLME IB menu Rss 25 6 4 MLME IB EX menu 002 22 rs 26 6 5 MAC information base attributes description 27 2 52 DoclD026814 Rev 1 Ky UM1811 Contents 7 ADP MENU PTT 30 7 1 ADP root menu oo 31 7 2 ADPM control menu o 32 7 3 ADPM LBP menu occ 33 7 4 ADPM IB Menu 34 7 5 ADP information base attributes description 35 8 BER Test panel aaa peek PG 9922929 A xxx nutus PER GNG PECORE vu 38 8 1 Typical set p 2 neo ee omen de e ndis rea 38 8 2 Test description eene 38 9 Sniffer PANGl 6434 25 os certs APA A 41 9 1 Introduction nr 41 9 2 cl ore e E ated act nta a e S a A casts Un d EAR 42 10 Basic G3 operations cccue err rra rris 43 10 4 Environment setup es 43 10 2 Connect Node 1 and 2 on the G3 PLC GUI 43 10 3 PHY layer data exchange 2 2 6 aaa aa aa I 43 10 4 MAC layer data exchange 0 00 eese 45 10 5 ADP layer data exchange 22 aa a RR xen 49 11 Revision history 22 224 arras eir ER RR RREREEE 51 Ly DoclD026814 Rev 1 3 52 List of figures UM1811 List of figures
37. n minutes adpMaxJoinWaitTime Network join timeout in seconds for LBD adpPathDiscovery Time Timeout for path discovery in seconds adpActiveKeyIndex Index of the active GMK to be used for data transmission If TRUE the default routing LOADng is disabled If FALSE the default routing adpDisableDefaultRouting LOADng is enabled 36 52 DocID026814 Rev 1 Ly UM1811 ADP menu Table 9 ADP ST implementation defined information base attributes ST implementation defined attributes adpDatagramTag It defines the DatagramTag for the fragmentation dispatch Increased by one for each fragmented transmission adpBroadcastSeqNumber It defines the SequenceNumber for the broadcast dispatch Increased by one for each broadcast transmission adpEnableHeaderCompression If set to 1 it enables the IPv6 header compression default if set to O it disables the IPv6 header compression The maximum time in ms that can take a RREQ to be forwarded 512 ms by adpRREQFfwdMaxTime default adpEAPPSKKey It contains the EAP PSK used for bootstrap procedure adpEAPPSKIdP It contains the IdP device NAI attribute used for bootstrap adpEAPPSKIdPLen It contains the length of the IdP array used for bootstrap adpRREPWaitTime The time to wait before RREP generation in order to collect other RREQs adpLOADngSeqNum The sequence number used by the LOADng routing algorithm 2 DoclD026814 R
38. ng the key is necessary to decipher the MAC frames captured by the Sniffer Additional information i e the version numbers related to the G3 PLC GUI may be checked under the Plugin Information and ST PowerLine GUI buttons DoclD026814 Rev 1 11 52 Getting started UM1811 3 4 12 52 Figure 6 Plugin Settings panel PowerLine ugi Plugin ST Sniffer j Information PowerLineGui 1 ST PowerLine Object fice v ST G3 Node 1 COM57 4 rg ST PowerLine Host 4 Node 1 ST PowerLine SETTINGS x O com PHY Request Response Trace Layout o Fatandi 2 MAC S Asynchronous RX message threz y on pel ADP BOOT TestLab Panel Disabled j b IPv6 Sniffer MAC Key Ulnt128 Hex 0000000000000000000000 G3LIB TEST Close Automatic confirm and indication events parsing The G3 PLC GUI has an automatic management of the Confirm and Indication events communicated by the G3 PLC platform As a consequence the user does not need to periodically poll the status of the G3 PLC platform It is possible to disable this functionality for test purposes Under the Plugin Setting 1 the Asynchronous Rx message thread button 2 enables or disables that feature 2 DoclD026814 Rev 1 UM1811 G3LIB menu 4 G3LIB menu 4 1 G3LIB root menu The G3LIB root menu allows to configure the G3 PLC library implementation and to get access to features not specified by the G3
39. nkQuality OxFF DSN 0x03 48 52 DoclD026814 Rev 1 Ky UM1811 Basic G3 operations 10 5 ADP layer data exchange To be able to execute an ADP command the Node 1 and 2 working modes need to be set to the ADP mode as explained in Figure 18 on page 30 To be able to send data at the ADP level the macPANId and macShortAddress attributes need to be configured for both nodes as in the MAC layer scenario Section 10 4 on page 45 The 6LoWPAN layer uses data encryption by default so the MAC layer of the two nodes needs to be configured with the same security keys In this scenario the following key is used AFAD6DCCF 14DE7C1C4235E6FEF6C151F as show in Figure 40 To configure it go into the MAC MLME IB menu 1 In the list of attributes for the set command select the attribute macKeyTable 2 Then enter the security key in the Text area 3 leave the Index set to O and click on the MLME SET Request button 4 Figure 41 Configure Node 1 GMK ST PowerLine Host Interface TG wv O Powerline Plugin Plugin ST Sniffer Settings Information PowerLineGu ST PowerLine Object Tree y ST G3 Node 1 COM57 ST G3 Node 2 COM59 4 sg I T Powerine Host 4 Node 1 o MLME GET Request macAckWaitDuration dex Ox 0000 MLME GET Confirm COM PHY MLME SET Request macKeyTabie 4 MAC Ulnt128 Hex 1DE7C1C4235E6FEF6C151F Value Ox AFADEDCCF14DE7C1C4 MLME Control 3 MLME IB 1 MLME IB
40. nse expected RESP EXP start of the frame with response expected ACK positive acknowledgment NACK negative acknowledgment 2 20 52 DoclD026814 Rev 1 UM1811 PHY menu e ModType the TX modulation type 0 ROBO 1 DBPSK 2 DQPSK 3 D8PSK e TX Power the transmission power 0x20 max power 0x00 min power e SFSK Notching activates the frequency notching coexistence mechanism Frequency notching allows a G3 device to coexist with the existing narrow band FSK PSK systems operating over the same frequency band This checkbox acts on the ToneMask field e PreEmphasis specifies transmission gain for each sub band represented by the tone map optional feature currently not supported in ST G3 PLC implementation Coherent Mode enables or disables the coherent modulations DoclD026814 Rev 1 21 52 2 MAC menu UM1811 6 MAC menu To be able to execute MAC commands the G3 PLC platform working mode needs to be configured to the MAC mode To do this simply go to the G3LIB panel as shown in Figure 13 Choose the MAC MODE from the available modes 1 and press the HI MODE SET Request button 2 Figure 13 Configure the host interface in MAC mode ST PowerLine Host Interface PowerLine Plugin Plugin ST Sniffer Settings Information PowerLineGu ST PowerLine Object Tree w N ST G3 Node 1 COMS7 4 d g ST PowerLine Host Y 2 1 4 Node i Q com HI MODE SET Request Mode HI HWRESET Reque
41. nterface application pp TO y 0 G3 ADP GLoWPAN G3 PLC GUI On the G3 PLC platform a Host Interface application forwards commands from the serial link to the right layer of the protocol stack 6LoWPAN MAC PHY and it forwards responses from one layer of the protocol stack to the serial link On the PC side the node interface plugin forwards commands from the graphical front end to the serial link and it forwards the responses from the serial link to the graphical front end The host interface application and node interface plugin communicate thanks to a serial link October 2014 DoclD026814 Rev 1 1 52 www st com Contents UM1811 Contents 1 Documentation conventions 000 eee eee ee nn nn 5 List of abbreviations 00 RR eens 5 2 GUI installation eee RI RR Rh 6 2 1 System requirements oooooocooro lerne 6 2 2 G3 PLC GUI release RR 6 2 3 G3 PLC GUI main window overview o 6 3 Getting started coins da 8 3 1 Node connection ee es 8 3 2 Node tree panel 0 anana 9 3 3 GUI and Plugin Settings eer ro beaded Rc E oe x NG 11 3 4 Automatic confirm and indication events parsing 12 4 G3LIB menu aii DARA PP DNA P GG 13 4 1 G3LIB root menu 0 20 RR s 13 4 2 G3LIB IB EX menu 0 es 14 4 3 G3LIB information base attributes description 15 5 PHY me
42. o work in a specific operational mode In order to do this the G3LIB section exports the HI MODE SET command which can set one of the following values e 0x00 PHY MODE the PHY only working mode The device may perform all the operations described by the G3 PLC standard for the PHY layer e 0x01 MAC MODE the MAC working mode The device may perform all the operations described by the G3 PLC standard for the MAC layer e 0x02 ADP MODE the ADP 6LoWPAN working mode The device may perform all the operations described by the G3 PLC standard for the adaptation layer e 0x03 BOOT MODE default the BOOT working mode The device may perform all the operations described by the G3 PLC standard for the adaptation layer In addition the bootstrap application is activated This is the default mode of operation Additional operational modes such as IPv6 may be present The related functions may be used in conjunction with specific firmware projects that may be obtained from your local support 3 3 GUI and Plugin Settings 2 Under the Plugin Settings button 1 represented in Figure 5 some advanced G3 PLC GUI features may be enabled or disabled e Request Response Trace Layout it changes the layout of the trace panel e Asynchronous Rx message thread see Section 3 4 on page 12 e TESTLAB panel enables the test panel as described in Section 8 on page 38 e Sniffer MAC Key the 128 bit key used by the MAC layer to cipher data Configuri
43. ost 4 Node 1 STCOMET Serial Port O com PHY O Port MAE ji Y Baud 57600 gt Set ADP BOOT 7 Jpe Close IPv6 G3LIB TEST 4 Node 2 A com PHY MAC ADP mcm ST PowerLine Trace Window E vem Y Once the Open button has been selected 1 the trace window 2 allows checking that the command has been correctly transmitted to the evaluation board The G3 PLC GUI command panel has as much tab as G3 PLC platforms are connected To identify the tab the associated COM port is displayed in the panel title 3 3 2 Node tree panel The G3 PLC GUI offers access to the Service Access Points SAP of each layer specified by the G3 PLC standard plus some additional features such as a bootstrap application or the G3 library configuration Once a G3 PLC platform is connected it can be explored thanks to the object tree panel Each root menu can be collapsed or not to see its detailed content The detailed content gives access to each specific SAP PHY MAC ADP BOOT and G3LIB Additional levels of the interface such as IPv6 may be present The related functions may be used in conjunction with specific firmware projects that may be obtained from your local support 2 DoclD026814 Rev 1 9 52 Getting started UM1811 10 52 Figure 5 Node tree panel e T Powerline Plugin Sniffer Settinas Infor ST PowerLine Object Tree ng 4 448 ST PowerLine Host 4 Node 1 com
44. r ASCII input mode for the NSDU e Payload content free text window to enter the NSDU to be sent note that the data has to be a valid IPv6 packet e Max Payload Size check box to configure the maximum size for the random option e Generate Random option to generate a random NSDU e NsduHandle the handle associated with the NSDU to be transmitted e QoS quality of the service for the NSDU normal priority high priority contention free e Discover Route option if TRUE a route discovery procedure will be performed prior sending the ADP frame as long as a route to the destination is not available in the routing table If FALSE no route discovery is performed 2 DoclD026814 Rev 1 31 52 ADP menu UM1811 7 2 ADPM control menu The ADP layer management entity control menu offers the management layer commands of the G3 PLC ADP layer as shown in Figure 20 Figure 20 ADPM control menu To J O Powerline Plugin Plugin ST Sniffer Settings Information PowerLineGu ST PowerLine Object Tree v ST G3 Node 1 COM57 4 43 ST PowerLine Host 4 Node 1 O com ADPM DISCOVERY Request Duration 0 255 sec Ulnt8 Hex PHY ADPM NETWORK START Request PANId Ulnt16 Hex MAC T AN ADPM NETWORK JOiN Request PANId Ulnt16 Hex ADPM Control f LBAAddress Ulnt16 Hex ADPMLBP ADPM NETWORK LEAVE Request P FUR ADPM RESET Request BOOT IPv6 Dst Add nt16 n EXE ADPM ROUTE DISCOVERY Request MCN PRES NI Max Hops Ulnt8
45. rary e G3LIB SET Request this command is used to set the value of one attribute of the G3 PLC ST library 2 DoclD026814 Rev 1 13 52 G3LIB menu UM1811 Below this SET command a list of options or a text box allows providing the value with which the selected attribute is set e G3LIB SWRESET Request this command performs a software reset of the G3 PLC protocol stack RTE and non RTE part e G3LIB GET SET confirm these commands are used to get asynchronous confirm message from the application to the connected device Note that the Confirm message is sent automatically by the application as described in Section 3 4 on page 12 4 2 G3LIB IB EX menu IB EX stands for the information base explorer This menu offers the user the ability to read modify any attribute of the library information base It is made of a white board in which the user can drag and drop the desired attribute from the list on the left side Figure 8 G3LIB information base explorer To JO Powerline Plugin Plugin Sniffer Settings Information PowerLineGui ST PowerLine Object Tree v ST G3 Node 1 COM57 4 PE ST PowerLine Host 4 Node 1 Attributes Attribute aneratinn f rteFWVersion Ocom rteProtocolVersion Attribute peMode Attribute peFWVersion PHY rteDataRequestQueueSiz GET Req GET Con GET Req GET Con MAC rteTxPacketCount A mo rteRxPacketCount L SET Req SET Cont a SET Req SET Conf a ADP rteMode
46. ration of a confirmation message if automatic event is disabled e Show Routing Table it activates a pop up window that shows the adpRoutingTable of the device Figure 23 2 34 52 DoclD026814 Rev 1 UM1811 ADP menu Figure 23 Effect of show routing table command ST G3 Node 1 COM57 ADPM ROUTE TABLE x DstAddr Ulnt16 Hex 002A NextHop Ulnt16 Hex 002A E O RouteCost Ulnt16 Hex 0004 HopCnt Ulnt4 Hex 1 WeakLink Ulnt4 Hex ValidTime Ulnt16 Hex 003C DstAddr Ulnt16 Hex FFFF NextHop Ulnt16 Hex FFFF i RouteCost Ulnt16 Hex 0000 HopCnt Ulnt4 Hex 0 WeakLink Ulnt4 Hex 0 ValidTime Ulnt16 Hex 0000 DstAddr Ulnt16 Hex FFFF NextHop Ulnt16 Hex FFFF 2 RouteCost UInti6 Hex 0000 HopCnt Ulnt4 Hex 0 Weaklink Ulnt4 Hex 0 ValidTime Ulnti6 Hex 0000 DstAddr Ulnt16 Hex FFFF NextHop Ulnt16 Hex FFFF 3 RouteCost Ulnt16 Hex 0000 HopCnt Ulnt4 Hex 0 WeakLink Ulnt4 Hex 0 ValidTime Ulnt16 Hex 0000 LI DetAddr inti Hawl EEFE 2 3 lt Martian Lilasi fal EFFE zj 7 5 ADP information base attributes description Here is a brief description for all the attributes of the ADP information base Table 8 ADP G 9903 information base attributes52 Standard G 9903 ADP information base attributes adpSecurityLevel The minimum security level to be used for incoming and outgoing adaptation frames Contains t
47. rmware version PEPROTOVERSION The protocol engine protocol version PEDEBUGLEVEL Debug mode settings PEMODE The G3 PLC library working mode 0 PHY 1 MAC 2 ADP 3 BOOT PEUNUSED Unused PECURRENTTIME Current time in the G3 PLC library Table 4 PHY layer information base attributes PHYSICAL layer attributes The statistical counter of the packet received by PHY with error detected by PHYCRCERRPKTCOUNT CRC5 PHYCRCFAILPKTCOUNT The statistical counter of the packet received by PHY with a correct CRC5 but with error on the fields range PHYLASTRCVPKTMODE Last received mode PHYISFIXEDDT The DT field has a fixed value specified by the PHYDTValue attribute 0 DT has not the fixed value 1 DT has a fixed value PHYDTVALUE The value of the DT field in PHY FCH of the next frames PHYISFIXEDPDC PHYPDCVALUE The value of the PDC field in PHY FCH of the next frames PDC has a fixed value specified by the PHYPDC Value attribute 0 PDC has not the fixed value 1 PDC has a fixed value PHYRSFAILPKTCOUNT The statistical counter of the packet received by PHY with errors that can t be corrected by the Reed Solomon decoder Ly DoclD026814 Rev 1 15 52 G3LIB menu UM1811 Table 4 PHY layer information base attributes continued PHYLASTRCVPKTRSSTATUS PHYSICAL layer attributes Status returned by the Reed Solomon decoder on the last received packet
48. ronous RX message three Running on COM Open TestLab Panel Disabled Sniffer MAC Key Ulnt128 Hex 0102030405060708090A0E tm Close 2 In order to activate the Sniffer tool the PowerLine Sniffer button 1 has to be pressed as represented in Figure 29 then the enhanced COM port has to be selected 2 and by clicking the Open button 3 the Sniffer tool is activated DoclD026814 Rev 1 41 52 Sniffer panel UM1811 Figure 29 Sniffer tool activation ST PowerLine Host Interface ST PowerLine Object Tree Y 3 ST PowerLine Host Node 1 cOMS Cose HideTraffic Freeze Clear Startlog Stoplog Openlog ReaiTimescroil ID Y PCTime Y PHY Type Y PHYIQI Y SF Y CAP Y CC T TMR Y Rsv Y SL Y SC Y Revi Y PIC Y AckReq Y FP 9 2 Data logs Each captured PHY packet is displayed in a single row whereas the columns show the various header fields LSF CAP CC etc The PHY packets data acknowledgments are displayed in white color If the PHY payload is encapsulating a MAC frame the row is displayed in light blue color The MAC header fields are then displayed on the same row MAC source address MAC destination address etc Figure 29 shows an example of the Sniffer tool usage used to capture some MAC command frames beacon request In order to save the captured traffic also on a text file the button StartLog may be pressed Figure
49. saan ne 33 ADPM IB menu 0 2 22 eee eee 34 Effect of show routing table command eres 35 BER Testset Loue dox cR RR ave PUR Gnd oe aes BURGI NNI ate NR EUR RN Ree ad 38 Enable BER Test panel 2 es 39 Configure BER Test panel hen 39 Deactivate Reed Solomon lens 40 Set GMK for the Sniffer tool 0 0000 es 41 Sniffer tool activation 000 cette eee 42 Sniffer window 0000 cc eee 42 Environment setup to perform the basic G3 operations 000 005 43 Configure Node 1 in TX o ooooccoooocccno ehh 44 Configure Node 2 in RX ooo ocoocccocon AG 44 Send PHY data from TXtoRX ses 45 Configure Node 1 PANId 2 46 Configure Node 1 short address eh 46 Configure Node 2 PANId 2 hme 47 Configure Node 2 short address es 47 Send MAC data from TX toRX en 48 MCPS DATA Indication message details oo 48 Configure Node 1 GMK 2 222 rr 49 Send ADP data from TXtoRX nes 50 2 DoclD026814 Rev 1 UM1811 Documentation conventions 1 Documentation conventions List of abbreviations The following abbreviations are used Table 1 List of abbreviations Abbreviation Description 6LOWPAN IPv6 over low power wireless personal area networks ADP Adaptation layer BER Bit error rate GUI Graphical user interface G3 G3 PLC powerline protocol MAC Med
50. sggssgssgig gx9 iiiigimgi T MAC ADP ToneMask Carrier 16 23 ToneMask Carrier 24 31 BOOT 23 29 n on 10 12 17 15 NG 21 an 29 OR 97 O amp 25 24 NE Oxff Oxff I6 v v iv v v V vj IV v w iv v v v ivi SESK Notching G3LIB ToneMask Carrier 32 39 PreEmphasis ret TES 2 WU 212 2 ae E o SE q WE o WE o naaa 9 z z Bands KHz 10 20 20 30 30 40 40 50 DT NO RESP X o E o WX o WX o w Bande Kis ISN AM tan 7M nn am ran om From this panel the following commands are available e PLME SET Request to set PHY layer transmission parameters e PLME GET Request to get parameters related to the latest received packet e PLME SET Confirm forces generation of a confirm message if automatic event is disabled e PLME GET Confirm forces generation of a confirm message if automatic event is disabled The following transmission options are available in the panel e ToneMap bitmap containing the list of the active sub bands bit set to 1 or inactive bit Set to zero Active means that data are transmitted in that sub band inactive means that dummy data are transmitted The 6 less significant bits are only considered e ToneMask bitmap containing the list of the active carriers bit set to 1 or inactive bit Set to zero Active means that the carrier has energy transport data or dummy bit inactive means that the carrier has no energy e DT delimiter type NO RESP start of the frame with no respo
51. st PHY NAG HI MODE GET Request HI STATE GET Request ADP BOOT G3LIB TESTMODE Request Disable G3L1B SWRESET Request IPv6 G3UB G3LIB GET Request rteFW Version G3LIB GET Confirm GS TEST G3UB SET Request neFW Version gt Value hex 000000000000000C G3LIB SET Confirm Ulnt64 Hex Once the MAC mode is selected the user can access one of the following menu e MAC root menu a command panel that will allow to send data at the MAC level e MLME control a MAC sublayer management entity control panel e MLME IB a MAC sublayer management entity information base panel e MLME IB EX a MAC sublayer management entity information base explorer panel 2 22 52 DoclD026814 Rev 1 UM1811 MAC menu 6 1 MAC root menu The root menu offers the possibility to enter a payload and send it at the MAC layer Figure 14 MAC root panel s s ieu ne UNE Plugin Sniffer Settinas Information Powe ae ST PowerLine Object Tree ST G3 Node 1 COM57 j4 3 ST PowerLine Host 4 Node 1 MM MCPS DATA Request Src Address Mode BIIS16 DstPanID Ulnt16 Hex O com PHY MCPS DATA Confirm Dst Address Mode BITS16 z DstAddr Ulnt16 Hex MAC MCPS DATAIndication msdu Payloac Hex Ascii ADP E BOOT Length 0x0000000 IPv6 G3LIB TEST NO SECURIY 400 Security Level Max Payload Size Generate Random TX_DIRECT TX CAP IKACK msduHandle Ulnt8 Hex 00 QoS NORMAL PRIORITY On this p
52. t rteFWVersion G3LI8 GET Confirm 25 TEST G3LIB SET Request rteFWVersion m Value hex 000000000000000C G3UB SET Confirm UInt64 Hex Once the ADP mode is selected the following menus are accessible e ADP root menu command panel to send data at the ADP level e ADPM control command panel to control the ADP layer e ADPMLBFP adaptation sublayer management for GLoWPAN bootstrapping protocol e ADPM IB adaptation sublayer management information base 2 30 52 DoclD026814 Rev 1 UM1811 ADP menu TA ADP root menu The root menu offers the possibility to enter a payload and send it at the ADP layer as shown in Figure 19 Figure 19 ADP root panel Help TO u O Powerline Plugin Plugin ST Sniffer Settings Information PowerLineGui ST PowerLine Object Tree v ST G3 Node 1 COM57 a ng ST PowerLine Host mate ADPD DATAReques Hex Asc t Payloac ji OQ com T PHY Length 0x0000000 MAC Mono Nsdu Max Payload Size 4 ADP z ADPM Control 1280 ADPI p bulk Generate Random ADPM IB BOOT NsduHandle Ulnt8 Hex 00 QoS INORMAL PRIORITY IPv6 G3UB Discover Route TRUE TEST The ADP root panel is composed of one single command e ADPD DATA Request requests IPv6 DATA transmission Confirm and indication messages are automatically generated as explained in Section 3 4 on page 12 The following options are available in the panel e Payload type selects the hexadecimal o
53. to add two nodes Click on the small cross on the top of the empty panel twice to open two tabs as described in Section 3 1 on page 8 For the following examples the Node 1 enhanced Com port is mapped on the COM57 of the personal computer and the Node 2 enhanced Com port is mapped on the COM59 10 3 PHY layer data exchange To be able to execute a PHY command the Node 1 and 2 working modes need to be set to the PHY mode as explained in Section 5 on page 17 Now the direction of the data flow needs to be defined Because it is a point to point communication there must be one node acting as a sender and one acting as a receiver The Node 1 may be configured as the sender and the Node 2 as the receiver For the Node 1 as shown in Figure 31 go into the PHY menu PLME Control panel 1 to configure the state of the node Check the TXON RXOFF 2 parameter and click on the PLME SET TRX STATE Request button 3 2 DoclD026814 Rev 1 43 52 Basic G3 operations UM1811 Figure 32 Configure Node 1 in TX ST PowerLine Host Interface y 0 Powerline Plugin Plugin ST Sniffer Settinas Information PowerLineGu ST PowerLine Object Tree v ST G3 Node 1 COMS7 ST G3 Node 2 COM59 4 EC ST PowerLine Host 4 Node 1 Ocom PLME SET TRXCSTATERequest TRX STATE m C A C FE TXOFF_RXON 4 PHY PLME_SET_TRX_STATE Confirm 3 2 PDACK aNG m PLME Control PLME PLME CS Confirm PLME CS Request MAC ADP BO
54. ton it shows the G3 PLC GUI information panel Node tree navigation panel it is used to select a specific node and to choose the command type ak WN o Command panel it is used to execute a specific command 7 Trace window it traces the traffic from to the G3 PLC GUI application and one node 2 DoclD026814 Rev 1 7 52 Getting started UM1811 3 3 1 8 52 Getting started Node connection More than one G3 PLC platforms can be connected to the same instance of the G3 PLC GUI Click on the small cross on the command panel to connect one G3 PLC platform Figure 3 Alternatively right click on the ST PowerLine Host icon and click on Add Node Figure 3 Add a node Powerline Plugin Plugin ST Sniffer Settinas Information PowerLineGu ST PowerLine Object Tree M PL ST PowerLine Host Ehe Once the Add Node cross has been selected one new tab appears in the command panel In the node tree panel selecting the COM section gives access to the serial link configuration Then the enhanced COM port that corresponds to the G3 PLC platform to be driven needs to be selected Click the Open port button Figure 4 to enable the communication between the G3 PLC GUI and the board DoclD026814 Rev 1 2 UM1811 Getting started Figure 4 Node connection TO J O Powerline Plugin Plugin Sniffer Settinas Information Ponti neGu ST PowerLine Object Tree 4 ng ST PowerLine H
55. ty control menu offers 2 options set the RX and TX chain status and get the status of the line carrier sense Figure 11 PLME control menu TG J O Powerline Plugin Plugin ST Sniffer Settings Information PowerLineGu ST PowerLine Object Tree Ha ST G3 Node 1 COM57 i 4 J ST Powerline Host 4 Node 1 O com 4 PHY PLME SET TRX STATE Confirm PLME SET TRX STATERequest TRX STATE IXMONZRXOFF TXOFF RXON PDI EASE AETA PLME CS Request PLME PLME CS Confirm Concerning the PLME SET TRX STATE Request command two options may be selected TXON RXOFF used to configure the device in transmission TXOFF RXON used to configure the device in reception DoclD026814 Rev 1 19 52 PHY menu UM1811 5 3 PLME menu The physical sublayer management entity menu allows setting the transmission parameters as shown in Figure 12 Figure 12 PLME menu description ST PowerLine Host Interface Help TE J O Powerline Plugin Plugin ST Sniffer Settinas Information PowerLineGu ST PowerLine Object Tree ST G3 Node 1 COM57 a ST Powerline Host 4 ToneM c ToneMap ModType ROBO PLME SETRequest PLME GET Request O coM h7 hA h5 hd h h hi hn 4 PHY da ama 9f Coherent Mode aL ME SET Confirm PLME GET Confirm PDACK ToneMask Carrier 0 7 ToneMask Carrier 8 15 PLME_Control 76 54271 n ISl 15 14 13 12 11 170 Q R she TXPower 0 pe zgmgmgi
56. ty control menu offers the management layer commands of the G3 PLC MAC layer as shown in Figure 15 Figure 15 MLME control menu Sniffer Two J O Powerline Plugin Plugin Settinas Information PowerLineGu 4 ST PowerLine Object Tree 4 Pr ST PowerLine Host 4 Node 1 O com PHY MAC MIME MLME_18_EX ADP BOOT IPv6 G3LIB TEST v ST G3 Node 1 COM57 MLME RESET Request Reset Attributes MLME SCAN Request Duration 0 255 sec MLME SCAN Confirm MLME BEACON NOTIFY Indication MLME COMM STATUS Indication MLME START Request PaniD MLME START Confirm MLME RESET Confirm Ulnt8 Hex Ulnt16 Hex On the MLME control panel the following commands are available MLME RESET Request resets the MAC layer MLME RESET Confirm forces generation of a confirm message if automatic event is 24 52 disabled MLME SCAN Request performs an active scan on the channel for the duration entered by the user in the free text area MLME SCAN Confirm forces generation of a confirm message if automatic event is disabled MLME BEACON Notify Indication forces generation of an indication message if automatic event is disabled MLME COMM STATUS Indication forces generation of an indication message if automatic event is disabled DoclD026814 Rev 1 2 UM1811 MAC menu e MLME START Request starts a new powerline area network in case of the G3 PLC platform acts as coordin
57. vel etc as well as the whole setup to perform different tests 40 52 DoclD026814 Rev 1 2 UM1811 Sniffer panel 9 9 1 Sniffer panel Introduction The Sniffer utility allows sniffing the physical link using this tool all the PHY messages that can be detected by the G3 PLC platform are displayed in the Sniffer tab While the Sniffer tool is running the G3 PLC platform cannot perform any other operation If a captured PHY message is encapsulating a MAC frame the Sniffer tool can also show the content of such MAC frame In case the MAC frame is ciphered the Sniffer tool also offers the capability to decipher on the fly the content of the MAC frame In order to perform the deciphering the G3 PLC GUI interface needs to be configured with the GMK used to cipher the MAC frames as shown in Figure 28 First the Plugin Settings button has to be pressed 1 then the GMK can be inserted within the pop up window 2 The GMK is typically a secret in a G3 PLC network so it is not always possible to use the on the fly deciphering feature in a real scenario Moreover ST cannot be responsible for key stealing when the user decides to reveal this secret in order to use this tool Figure 28 Set GMK for the Sniffer tool PowerLine Sniffer TIG Y 0 ST PowerLine Object Tree ba gg ST PowerLine Host Plugin ST Information PowerLineGu ST PowerLine SETTINGS x Request Response Trace Layout Ratan full Asynch
Download Pdf Manuals
Related Search
Related Contents
ONE‐Step AMX DAS-LLC User's Manual Définition des catégories - Association généalogique du Hainaut TDSHーBA セミオ=ダ離ライ卜取扱説明書 屋内用 保存用 LBH-1790A,1795A BETRIEBSANLEITUNG Copyright © All rights reserved.
Failed to retrieve file