Extension blackberry.bridge

blackberry.bridge

Manage BlackBerry Bridge operations

Methods

connect

Initiate connect to BlackBerry Bridge (Asynchronous function)
Parameters:
Name Type Description
device Object Object containing device properties
Example
{
    mac:{String}     //MAC address of the device
    ccod:{String}    //Class Of Device, describes device capabilities
    name:{String}    //device name
    paired:{Boolean} //indicates if device paired, true if paired
    rssi:{String}    //Received signal strength indication, value indicates power present in a received radio signal for given device
}	 

disconnect

Initiate disconnect from BlackBerry Bridge (Asynchronous function)

getState

Get the state of the BlackBerry Bridge connection
Returns:
The state of the BlackBerry Bridge connection
Type
  • Object
Example
{
    connected: {Boolean}	// if true indicates that the Bridge is connected
}