I acquired a Connect2Pi Dongle for use with my Raspberry Pi.
I discovered the ER Companion Software for the Dongle is not Linux/Debian compatible.
I've been advised by LPRS who supply the Dongle that I should be able to issue Commands to check the default setup of the Dongle and reconfigure Channels it uses.
I've been directed to the following Commands: ER_CMD#C? (query Channels), ER_CMD#P? (query Ports) ER_CMD#B? (query Bandwidth). Similarly ER_CMD#C9 would set the Channel to CH9... and so on.
I'm developing a little Python Program to monitor the Dongle for Message Data from other Wireless Nodes. Program functionality is not a problem but trying to issue Commands from within the Python Program to execute any of
the above Commands is proving more difficult that LPRS suggested it would be... possibly being a complete Novice when it comes to Linux/Debian abd Python might not be helping.
I have the following embedded in my Python Program:
import commands
def foundChannels():
return commands.getoutput("sudo ER_CMD#C?")
print "Dongle Channels found:"
for name in foundChannels(): print name
I get the following Output:
Dongle Channels found:
s
h
:
l
:
s
u
d
o
:
n
o
t
f
o
u
n
d
(sh: l: sudo: not found)
This suggests to me that the ER_CMD commands are not available to my Linux/Debian installation on my Raspberry Pi.
I was under the impression from LPRS that once the Dongle was installed and their Driver loaded, their Commands would be available ?
Any ideas anybody ? I really need to be able to inspect the installed Dongles settings asap and to at least change the Channel to something I want to use in order to monitor Signals from other Nodes ?
Regards - Andy




