expliot.core.interfaces.common_services

Class support for common service and auditor specific services.

Classes

Services

Base class for Services.

BaseServices

Class to store Base Services.

ZbAuditorServices

Class to Zigbee Auditor's Services.

BusAuditorServices

Class to store BusAuditor's Services.

Module Contents

class expliot.core.interfaces.common_services.Services

Base class for Services.

get_supported_services()

Get the Base Service Supported by device.

Returns:

Dictionary of Base Services

get_supported_base_services()

Returns Base Service Supported by device.

Returns:

Dictionary of Base Services

get_supported_device_services()

Get the Base Service Supported by device.

Returns:

Dictionary of Base Services

set_base_service(service, value)

Set base service true if device supports it.

Parameters:
  • service – service from services dictionary

  • value – True or False

set_device_service(service, value)

Set device service true if device supports it.

Parameters:
  • service – service from services dictionary

  • value – True or False

is_service_active(service)

Validate device supports service or not.

Parameters:

service – service from services dictionary

Returns:

True if service is available in device else False

class expliot.core.interfaces.common_services.BaseServices

Bases: Services

Class to store Base Services.

GET_FW_REV = 'read_revision'
GET_FW_SERV = 'read_services'
class expliot.core.interfaces.common_services.ZbAuditorServices

Bases: BaseServices

Class to Zigbee Auditor’s Services.

SET_MAC_POWER = 'radio_on_off'
SET_CH_CHNG = 'channel_selection'
RAW_CAPTURE = '802.15.4_sniffer'
RAW_INJECT = '802.15.4_injection'
NWK_SCAN = '802.15.4_network_scan'
SUPP_FREQ_2400 = '2400_mhz'
SUPP_FREQ_784 = '784_mhz'
SUPP_FREQ_868 = '868_mhz'
SUPP_FREQ_915 = '915_mhz'
class expliot.core.interfaces.common_services.BusAuditorServices

Bases: BaseServices

Class to store BusAuditor’s Services.

JTAG_SCAN = 'jtag_port_scan'
SWD_SCAN = 'swd_port_scan'
UART_SCAN = 'uart_port_scan'
I2C_SCAN = 'i2c_bus_scan'