---
schema_version: "1"
id: 5a3fc916c8d29c6091aaac933af8069f8c1289128358ef62e29e0427e67cdb0d
title: External Bluetooth Device Custom Implementation
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/cg_external_bluetooth_device_custom_implementation.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.cg_external_bluetooth_device_custom_implementation.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: cd6164882bbc2073a2a4783271853788d3c5c395fc80716dc259ace8f20c1c05
description: Tailor the functionality of Bluetooth input devices (Bluetooth keyboard and Bluetooth laser barcode scanner) by using the Consumer Goods (CG) Cloud mobile app framework APIs. For example, when a sales rep opens an order screen in the CG Cloud mobile app, you can customize the app to automatically activate the Bluetooth keyboard and on exiting the order screen, the app automatically activates the Bluetooth barcode scanner and deactivates the bluetooth keyboard.
products:
  - Consumer Goods
release: "264"
---
# External Bluetooth Device Custom Implementation

Tailor the functionality of Bluetooth input devices (Bluetooth keyboard and Bluetooth laser barcode scanner) by using the Consumer Goods (CG) Cloud mobile app framework APIs. For example, when a sales rep opens an order screen in the CG Cloud mobile app, you can customize the app to automatically activate the Bluetooth keyboard and on exiting the order screen, the app automatically activates the Bluetooth barcode scanner and deactivates the bluetooth keyboard.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
      <colgroup>
        <col>
      </colgroup>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <p>Available in: Lightning Experience </p>
            <p style="margin-bottom:0;">Available in: <strong>Enterprise</strong> and
              <strong>Unlimited</strong> Editions that have Consumer Goods Cloud enabled
            </p>
          </td>

        </tr>
      </tbody>
    </table>

Invoke the [`switchToBluetoothBarcodeScannerAsync`](https://help.salesforce.com/s/articleView?id=ind.modeler_vscode_framework_api_switchto_bluetooth_barcode_scanner_async.htm&type=5&language=en_US) and [`switchToBluetoothKeyboardAsync`](https://help.salesforce.com/s/articleView?id=ind.modeler_vscode_framework_api_switchto_bluetooth_keyboard_async.htm&type=5&language=en_US) framework APIs in the business logic contracts of your customization project to implement a custom behavior of the Bluetooth laser barcode scanner and keyboard devices in the CG Cloud mobile app.

For information about the prerequisites and considerations to enabling and using external Bluetooth devices, see [Connect External Bluetooth Devices to the Consumer Goods Cloud Offline Mobile App](https://help.salesforce.com/s/articleView?id=ind.cg_concept_user_bluethooth_scanner.htm&type=5&language=en_US).