In Linux based on bacnet-stack-0.8.0 engineering, bacnet protocol packet is sent through wireless network card. linux environment is Ubuntu 12.04 + USB wireless network card (09 annual production of mercury MW54U, relatively old) 2. after compiling the target file in the normal way, 3. run the program in the/bin directory: execute the following two steps before running: ifconfig: get the name of the wireless network card, my name is wlan0, And the eth0 of the wired network card (this is also the default) $ BACNET_IFACE = wlan0 (set BACNET_IFACE to the name of the wireless Nic) $ export BACNET_IFACE 4. next, we will specify wlan0 as the interface to send B/ip data, because in the bacnet code, [html] datalink_init (getenv ("BACNET_IFACE") at the link layer during initialization ")) in this way, after obtaining BACNET_IFACE = wlan0, information about the wlan0 interface will be obtained, and bacnet data will be sent through wlan0