VEHPI-26: OnConnect Scripts



Issue Information

Issue Type: New Feature
 
Priority: Major
Status: Closed

Reported By:
Ben Tasker
Assigned To:
Ben Tasker
Project: VehManPi (VEHPI)
Resolution: Won't Fix (2019-09-09 16:24:39)
Target version: 1.0,
Components: Connectivity ,

Created: 2013-12-24 10:49:23
Time Spent Working


Description
To allow easy customisation, there should be six scripts that can be executed when connectivity is established

- onWifiConnect
- on3GConnect
- onConnect
- onWifiDisConnect
- on3GDisConnect
- onDisConnect

Realistically, it makes sense to have three scripts, but have an argument passed to them to signal connect/disconnect.

On(Dis)Connect should be called by the 3G/Wifi scripts at it'll apply to any type of connection.

Example Use Case: To make testing/management easier, I plan to have the script automatically open a reverse SSH tunnel to one of my servers. That way I can SSH to that server and then come back down the tunnel to perform checks/monitoring on the Pi whilst in the testing stages


Toggle State Changes

Activity


btasker changed status from 'Open' to 'In Progress'
Bulk Close.

Realistically, project isn't going to see any further development so closing as Won't Fix
btasker changed status from 'In Progress' to 'Closed'
btasker added 'Won't Fix' to resolution