| Home | Trees | Indices | Help |
|
|---|
|
|
|
|||
| None |
|
||
|
|||
|
|||
|
|||
| None |
|
||
| List |
|
||
| If fetch==True, returns a String of the page. Otherwise, it returns True if an HTTP 200 code was received. |
|
||
| Boolean |
|
||
|
|||
| Boolean |
|
||
| None |
|
||
| None |
|
||
| None |
|
||
|
|||
| List |
|
||
| None |
|
||
| None |
|
||
|
|||
| Integer, or None if unable to determine modulation |
|
||
|
|||
|
|||
Instantiates the KillerBee class for the Wislab Sniffer.
|
Sets the capability information appropriate for the client and firmware version.
|
Returns device information in a list identifying the device.
|
Wrapper to the sniffer's RESTful services. Reports URL/HTTP errors as KBInterfaceErrors.
|
Because the firmware accepts only toggle commands for sniffer on/off, we need to check what state it's in before taking action. It's also useful to make sure our command worked.
|
Because the firmware accepts only toggle commands for sniffer on/off, we need to check what state it's in before taking action. It's also useful to make sure our command worked.
|
Turns the sniffer on such that pnext() will start returning observed data.
|
Return the Wislab-specific integer representing the modulation which should be choosen to be IEEE 802.15.4 complinating for a given channel number. Captured values from sniffing Wislab web interface, unsure why these are done as such. Available modulations are listed at: http://www.sewio.net/open-sniffer/develop/http-rest-interface/
|
Sets the radio interface to the specifid channel (limited to 2.4 GHz channels 11-26)
|
Parse the packet from the ZigBee encapsulation protocol version 2/3 and return the fields desired for usage by pnext(). There is support here for some oddities specific to the Wislab implementation of ZEP and the packet, such as CC24xx format FCS headers being expected. The ZEP protocol parsing is mainly based on Wireshark source at: http://anonsvn.wireshark.org/wireshark/trunk/epan/dissectors/packet-zep.c * ZEP v2 Header will have the following format (if type=1/Data): * |Preamble|Version| Type |Channel ID|Device ID|CRC/LQI Mode|LQI Val|NTP Timestamp|Sequence#|Reserved|Length| * |2 bytes |1 byte |1 byte| 1 byte | 2 bytes | 1 byte |1 byte | 8 bytes | 4 bytes |10 bytes|1 byte| * ZEP v2 Header will have the following format (if type=2/Ack): * |Preamble|Version| Type |Sequence#| * |2 bytes |1 byte |1 byte| 4 bytes | #define ZEP_PREAMBLE "EX" #define ZEP_V2_HEADER_LEN 32 #define ZEP_V2_ACK_LEN 8 #define ZEP_V2_TYPE_DATA 1 #define ZEP_V2_TYPE_ACK 2 #define ZEP_LENGTH_MASK 0x7F |
Returns a dictionary containing packet data, else None.
|
Not yet implemented.
|
Not yet implemented.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Dec 30 17:49:12 2013 | http://epydoc.sourceforge.net |