actionconnect Method

Purpose:

Tells Heximus what to do after a connection completes

Syntax:

CONTROL.actionconnect = "call_label"

Comments:

The call label must exist.  An error will be triggered if the label does not exists.

CONTROL currently can be either NETWORK or FILE

 

Example:

bt.actionconnect = "bluetoothconnected"

bt.connect
halt

bluetoothconnected:

// we are connected to bluetooth here

 

return