# BJ Sender Events
These events are in bjSender.js file.
Events documented below only changes the event name and sends data over an UDP socket.
# Ti.App.fireEvent('sendRemote')
Establishes a connection with a remote device.
Example:
Ti.App.fireEvent('sendRemote', {
params: { param0, param1, ...}
})
params- Params required for connection with remote device.
NOTE
iOS: Changes event name to gotRemote and sends BJ data with this name and parameters.
# Ti.App.fireEvent('oPSend')
Toggles chart over the remote device.
Example:
Ti.App.fireEvent('oPSend', {})
NOTE
iOS: Changes event name to oP and sends BJ data with this name.