SENA Parani-MSP1000 User Manual
Page 77
Advertising
77
sleep(scan_interval)
Step 2. Upload the Python code
[root@MSP1000 usr2]# scp 192.168.7.8:/home/btsender.py ./
[email protected]'s password:
btsender.py
100% 2644
2.6KB/s
00:00
[root@MSP1000 usr2]#
Step 3. Modify the /usr2/rc.user
[root@MSP1000 usr2]# vi rc.user
#
#PATH=/bin:/usr/bin:/sbin:/usr/sbin
# Add shell command to execute from here
/usr2/btsender.py &
Step 4. Restart the Parani-MSP1000
[root@MSP1000
usr2]#
reboot
Advertising