Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error import fdpexpect in some files in the folder Firmware/tools/ #47

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Firmware/tools/atcommander.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
# Provide command line access to AT command set on radios
#

import serial, sys, argparse, time, fdpexpect
import serial, sys, argparse, time
from pexpect import fdpexpect

class ATCommandSet(object):
''' Interface to the AT command set '''
Expand Down
3 changes: 2 additions & 1 deletion Firmware/tools/console.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env python
# a trivial serial console

import serial, sys, optparse, fdpexpect
import serial, sys, optparse
from pexpect import fdpexpect

parser = optparse.OptionParser("console")
parser.add_option("--baudrate", type='int', default=57600, help='baud rate')
Expand Down
3 changes: 2 additions & 1 deletion Firmware/tools/rssi.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env python
# RSSI production test

import serial, sys, optparse, time, fdpexpect
import serial, sys, optparse, time
import fdpexpect

parser = optparse.OptionParser("update_mode")
parser.add_option("--baudrate", type='int', default=57600, help='baud rate')
Expand Down
3 changes: 2 additions & 1 deletion Firmware/tools/set_speed.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env python
# set air data rate

import serial, sys, optparse, time, fdpexpect
import serial, sys, optparse, time
from pexpect import fdpexpect

parser = optparse.OptionParser("set_speed")
parser.add_option("--baudrate", type='int', default=57600, help='baud rate')
Expand Down
3 changes: 2 additions & 1 deletion Firmware/tools/set_sreg.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env python
# set air data rate

import serial, sys, optparse, time, fdpexpect
import serial, sys, optparse, time
from pexpect import fdpexpect

parser = optparse.OptionParser("set_speed")
parser.add_option("--baudrate", type='int', default=57600, help='baud rate')
Expand Down
3 changes: 2 additions & 1 deletion Firmware/tools/show_regs.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env python
# set air data rate

import serial, sys, optparse, time, fdpexpect
import serial, sys, optparse, time
from pexpect import fdpexpect

parser = optparse.OptionParser("show_regs")
parser.add_option("--baudrate", type='int', default=57600, help='baud rate')
Expand Down
3 changes: 2 additions & 1 deletion Firmware/tools/show_rssi.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env python
# set air data rate

import serial, sys, optparse, time, fdpexpect
import serial, sys, optparse, time
from pexpect import fdpexpect

parser = optparse.OptionParser("show_rssi")
parser.add_option("--baudrate", type='int', default=57600, help='baud rate')
Expand Down
3 changes: 2 additions & 1 deletion Firmware/tools/update_mode.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env python
# put a HopeRF into update mode

import serial, sys, optparse, time, fdpexpect
import serial, sys, optparse, time
from pexpect import fdpexpect

parser = optparse.OptionParser("update_mode")
parser.add_option("--baudrate", type='int', default=57600, help='baud rate')
Expand Down