Module: Iot

Extended by:
BleYamlParser, Characteristic, Destroy, DeviceName, Generate, Help, Install, Mkhex, New, Run, Service, Stats
Defined in:
lib/iot/install.rb,
lib/iot.rb,
lib/iot/new.rb,
lib/iot/run.rb,
lib/iot/help.rb,
lib/iot/mkhex.rb,
lib/iot/stats.rb,
lib/iot/destroy.rb,
lib/iot/service.rb,
lib/iot/version.rb,
lib/iot/generate.rb,
lib/iot/devicename.rb,
lib/iot/bleyamlparser.rb,
lib/iot/characteristic.rb

Overview

Install packages for offline compile

Defined Under Namespace

Modules: BleYamlParser, Characteristic, Destroy, DeviceName, Generate, Help, Install, Mkhex, New, Run, Service, Stats

Constant Summary collapse

VERSION =
"1.0.2"

Instance Method Summary collapse

Methods included from Help

help

Methods included from Install

installComponents, uninstall

Methods included from New

new

Methods included from Run

generate_ad_packet, generate_template_deviceinfo, generate_template_service, run

Methods included from Generate

generate, generate_char, generate_service

Methods included from Destroy

destroy, destroy_characteristic, destroy_service

Methods included from Stats

stats

Methods included from Service

service

Methods included from Characteristic

char

Methods included from DeviceName

change_complete_name, change_name, change_short_name, toggle_local_name

Methods included from Mkhex

mkhex

Methods included from BleYamlParser

load_deviceinfo, load_yaml_body, refresh_yaml_body, service_exist?

Instance Method Details

#showUsage(commands) ⇒ Object



27
28
29
30
31
32
# File 'lib/iot.rb', line 27

def showUsage commands
  puts "usage:"
  commands.each do |cmd|
    puts "   #{cmd[0]}\t#{cmd[1]}"
  end
end