1.Most of the current modules are provided with a setZigBeeSerial Communication Protocol, which will be complexZigBeeApplication, easy to convert,ZigBeeNetwork functionsAtCommand set, such as adding to the network, configuring the network, and sending and receiving data, can be completed by sending simple operation commands to the serial port via single chip microcomputer. As long as you program the serial port via single chip microcomputer, there is no need for in-depth researchZigBeeProtocol stack for easy useZigBeeTechnology.
2.The functions in the protocol stack are as follows:MtFile
Built-in software(Optional):AtInstruction Set (built-inZigBeeProtocol Stack)
3.IfPan_id = 0 xFFFF
The device type is the Coordinator,The device uses the last two bytes of the physical addressPan_id
IfPan_id = 0 xFFFF
The device type is router or terminal node device.,This device will be added to anyPanMedium
IfPan_id
!= 0 xFFFFThe device type is the Coordinator,The device will use thisPan_idGenerate a network
IfPan_id
!= 0 xFFFFThe device type is router or terminal node device.,The specified device can only be added to thisPan_idSpecified Network
Shortaddr
:
0 xfffdOnly broadcasts received devices.
0 xfffeRead the segment address of the corresponding device through the binding table
0 xfffcBroadcast to all routers in the network (and the Coordinator)
0 xFFFFBroadcast to all devices in the Network
4.ModifyZigBeeSerial Port baud rate
Specific ModificationYou canMt_uart.hMedium
# Define mt_uart_default_baudrate hal_uart_br_38400Modify by yourself