In Linux based on bacnet-stack-0.8.0 Engineering, bacnet protocol packets are sent through wireless network card
Source: Internet
Author: User
In Linux based on bacnet-stack-0.8.0 Engineering, bacnet protocol packet is sent through wireless network card. the Linux environment is Ubuntu12.04 + USB wireless network card (09 annual output of mercury MW54U, relatively old) 2. after compiling the target file in the normal way, 3. run the program in the/bin directory: run it... 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
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.