Sha256: 1953c7e450fb258232f5e1e2758d28731c1a83e786c887c2df0a75c5ae7c4648

Contents?: true

Size: 285 Bytes

Versions: 2

Compression:

Stored size: 285 Bytes

Contents

#!/usr/bin/env ruby
$: << File.dirname(__FILE__)

require 'date'
require 'ruby-xbee'
require 'pp'

@uart_config = XBee::Config::XBeeUARTConfig.new()
@xbee = XBee::BaseAPIModeInterface.new(@xbee_usbdev_str, @uart_config)

# read XBee output forever
while 1
  @xbee.getresponse true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-xbee-1.2.1 bin/apilisten.rb
ruby-xbee-1.2.0 bin/apilisten.rb