#!/bin/bash
# Start CDMA RSSI log. Especially useful when executed as a 'console script'.
# Always run with 'sudo'. Note that you cannot run this script via the CDMA 
# ppp link.

# Turn on power
SetPowerSwitch 2 1


# Start CDMA RSSI log
nohup python /home/hotspot/smc-script/modemtest.py /dev/ttyLX1 115200 60 0 >> /opt/hotspot/logs/cdmaRSSI.log &
