RSSI and code-based reboot

0 views
Skip to first unread message

sethd...@gmail.com

unread,
Sep 12, 2007, 3:51:20 PM9/12/07
to AVIDdirector-M2M
Hello,

I have two different and completely unrelated questions.

1. Is there a way to periodically get the current RSSI (signal
strength) of the cellular modem through code?

2. What is the most efficient way to reboot the entire AviDirector
unit through code? Is this possible?

Thanks,

Seth

Amber Ansari

unread,
Sep 12, 2007, 4:06:22 PM9/12/07
to aviddire...@googlegroups.com
Hi Seth,

1) There is nothing in the built into the code to periodically check RSSI.
Although you can make a thread that does that by calling the getRSSI
function of the Radios. Just as a note, your PPPconnection may break if it
is connected and the code attempts to check RSSI.

2) Yes there is a way to reboot the avidDirector through code. Its in the
se.imsys.system package. Ish.reboot(int delay) or Ish.shutdown(int delay)
should do the job depending upon what you need.

Amber

Reply all
Reply to author
Forward
0 new messages