China Wireless modem Manufacturers, Serial server Factory https://blog.dnevnik.hr/zigbeemodule

ponedjeljak, 29.08.2022.

The method of ZigBee3.0 wireless data packet capture and debugging based on E18-2G4U04B


Introduction to ZigBee3.0 Wireless Packet Capture
ZigBee3.0 is a standard protocol launched by the ZigBee Alliance that can be interconnected. The previous Packet Sniffer packet capture tool cannot parse the data packets of ZigBee3.0. Because of the security mechanism of ZigBee3.0, all data packets are encrypted and cannot be Parse the meaning of each data, so this packet capture method is not very helpful in the ZigBee 3.0 development process. If the third-party packet capture software Ubiqua is used, ZigBee 3.0 data packets can be parsed. The specific application of Ubiqua will be introduced in detail below.
1. Ubiqua installation instructions
Step 1: Unzip the Ubiqua installation package

Step 2: Select the official installation file "UbiquaToolbox_1.4.2244.msi" for installation. During the installation process, select the installation disk and directly "Next" until the installation is successful.


Step 3: Copy the "Ubiqua.exe" file to the original file in the installation directory, and the installation is complete.

Note: This article is mainly for teaching and demonstration purposes. The genuine installation package needs to be downloaded from the Ubiqua official website.
2. Ubiqua's packet capture instructions
industrial iot gateway

modbus tcp gateway

modbus ethernet

rs485 ethernet adapter

Step 1: Plug the product E18-2G4U04B into the USB port of the computer.

Step 2: Open the Ubiqua software, in the device management column, you can see that the software has automatically identified the device information of the E18-2G4U04B (TI CC2531).

Step 3: Turn on the button switch on the device, select the channel with the right mouse button, for example, select channel 20, you can capture the wireless data packets on channel 20.

Step 4: Now, because the network key is not known, the captured data packets are encrypted and not unlocked.

Step 5: Need to add a key, ZigBee3.0 has multi-layer key management, only need to add Trust Center Link Key here, add the default key of ZigBee Alliance here. Select "Tools", then select "Security", then select "Add", select "Application or Trust Center Link Key" for the key type, enter the default key of the ZigBee Alliance, and finally add it, and click "OK".

Step 6: The trust center connection key was added before, but the network key is not known and the data packet cannot be parsed. At this time, you only need to rejoin the network once, so that the trust center (coordinator) will publish the network key. Out, Ubiqua will automatically save the network key issued by the trust center. As shown in the figure below, the data packets are all parsed after re-entering the network, for example, the sent 12 34 56 78 90 can be parsed. Open "Security" again and you can see that Ubiqua has automatically saved the network key.


3. Common tools in Ubiqua packet grabber

`Save the current data
aScroll display
bSingle package decomposition window displays the latest package
cClear all
d Current filter
e Enable and disable filters
fCreate a new filter
g Edit current filter
h Delete filter
4. ZigBee3.0 packet analysis

` The timestamp of the data packet, showing the time of the data packet and the time difference between the two data packets.
aZigBee channel, 16 channels.
bZigBee3.0 protocol layer, mainly including Nwk, ZDP, APS, MAC, ZCL, Custom (custom) and so on.
c Packet information, analyze the specific function of the packet.
d The source network short address of the data packet
e The destination address of the data packet


Expand Packet View to see all the parsed data in the data, the main MAC address, network short address, PANID, endpoint number, Cluster ID, Profile ID and other parameters, APS Payload is the interactive data sent by the application layer, here is custom sent 12 34 56 78 90.

29.08.2022. u 05:26 • 0 KomentaraPrint#^

<< Arhiva >>

Creative Commons License
Ovaj blog je ustupljen pod Creative Commons licencom Imenovanje-Dijeli pod istim uvjetima.

< kolovoz, 2022 >
P U S Č P S N
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

Lipanj 2024 (1)
Prosinac 2022 (3)
Studeni 2022 (3)
Listopad 2022 (2)
Rujan 2022 (3)
Kolovoz 2022 (3)
Srpanj 2022 (2)
Lipanj 2022 (3)
Svibanj 2022 (5)
Travanj 2022 (3)
Ožujak 2022 (3)

Dnevnik.hr
Gol.hr
Zadovoljna.hr
Novaplus.hr
NovaTV.hr
DomaTV.hr
Mojamini.tv

Opis bloga

Linkovi

SPI/SOC/UART Manufacturers


UART Module Company


UART Module

About us

Chengdu Ebyte Electronic Technology Co.,Ltd.is a high-tech enterprise which specializes in Internet of Things communications, has hundreds of self-developed products and unanimously recognized by customers. Our company has a strong R&D capabilities, with a perfect after-sale system, we provide customers with complete solutions and technical support,shorten the R&D cycle, reduce R&D costs, and provide a powerful platform for new products development.