code: function() {
  		if (com && com.blackberry.community.simplebeaconplugin) {
  
          	console.log('XXXX Plugin Version is: ' + com.blackberry.community.simplebeaconplugin.pluginVersion());
  
  			var json = JSON.parse(com.blackberry.community.simplebeaconplugin.initialiseBluetooth());
  
  			console.log('XXXX json.status: ' + json.status);
  
  			if (json.status === 'OK') {
  				app.logMessage('Bluetooth initialised');
  				bluetoothInitialised = true;
  
  			} else {
  				app.logMessage('Bluetooth failed to initialise: ' + json.desc);
  			}
  		} else {
  			app.logMessage('SimpleBeaconPlugin was not found');
  		}
      }
docs: BT LE Beacon Plugin Initialise Bluetooth