Skip to content

Commit

Permalink
Merge pull request #22 from hasegaw/pr_in_xbee
Browse files Browse the repository at this point in the history
XBee: input plugin update: config and data handling
  • Loading branch information
edsiper committed Jul 2, 2015
2 parents 87db713 + d3fafc0 commit 3f2422f
Show file tree
Hide file tree
Showing 6 changed files with 362 additions and 115 deletions.
16 changes: 16 additions & 0 deletions conf/xbee_input.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# XBee Input
# ==========
# This configuration file specify the information to be used
# when gathering data from XBee input plugin. All key fields
# in the 'XBEE' section are mandatory.

[XBEE]
# File
# ====
# Filename of serial port. e.g. /dev/ttyS0, /dev/ttyAMA0
File /dev/ttyUSB0

# Baudrate
# ========
# Specify the bitrate to communicate using the port.
Baudrate 9600
2 changes: 1 addition & 1 deletion plugins/in_xbee/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ add_subdirectory(lib/libxbee-v3)
include_directories(lib/libxbee-v3)

set(src
in_xbee.c)
in_xbee.c in_xbee_config.c)

FLB_PLUGIN(in_xbee "${src}" "xbee")
Loading

0 comments on commit 3f2422f

Please sign in to comment.