const_hoisted_1=/* @__PURE__ */createStaticVNode('<h1id="bluetooth"tabindex="-1">Bluetooth<aclass="header-anchor"href="#bluetooth"aria-label="Permalink to "Bluetooth""></a></h1><h2id="bluetooth-known-supported-hardware"tabindex="-1">BluetoothKnownSupportedHardware<aclass="header-anchor"href="#bluetooth-known-supported-hardware"aria-label="Permalinkto"BluetoothKnownSupportedHardware""></a></h2><p>CurrentlyBluetoothsupportislimitedtoAVRbasedchips.ForBluetooth2.1,QMKhassupportforRN-42modules.FormorerecentBLEprotocols,currentlyonlytheAdafruitBluefruitSPIFriendisdirectlysupported.BLEisneededtoconnecttoiOSdevices.NoteiOSdoesnotsupportmouseinput.</p><table><thead><tr><th>Board</th><th>BluetoothProtocol</th><th>ConnectionType</th><th>rules.mk</th><th>BluetoothChip</th></tr></thead><tbody><tr><td>RovingNetworksRN-42(SparkfunBluesmirf)</td><td>BluetoothClassic</td><td>UART</td><td><code>BLUETOOTH_DRIVER=rn42</code></td><td>RN-42</td></tr><tr><td><ahref="https://www.adafruit.com/product/2633"target="_blank"rel="noreferrer">BluefruitLESPIFriend</a></td><td>BluetoothLowEnergy</td><td>SPI</td><td><code>BLUETOOTH_DRIVER=bluefruit_le</code></td><td>nRF51822</td></tr></tbody></table><p>NotSupportedYetbutpossible:</p><ul><li><ahref="https://www.adafruit.com/product/2479"target="_blank"rel="noreferrer">BluefruitLEUARTFriend</a>.<ahref="https://github.com/tmk/tmk_keyboard/issues/514"target="_blank"rel="noreferrer">Possibletmkimplementationfoundin</a></li><li>HC-05boardsflashedwithRN-42firmware.TheyapparentlybothusetheCSRBC417Chip.FlashingitwithRN-42firmwaregivesitHIDcapability.</li><li>SparkfunBluetoothMate</li><li>HM-13basedboards</li></ul><h3id="adafruit-ble-spi-friend"tabindex="-1">AdafruitBLESPIFriend<aclass="header-anchor"href="#adafruit-ble-spi-friend"aria-label="Permalinkto"AdafruitBLESPIFriend""></a></h3><p>CurrentlyTheonlybluetoothchipsetsupportedbyQMKistheAdafruitBluefruitSPIFriend.It'saNordicnRF51822basedchiprunningAdafruit'scustomfirmware.DataistransmittedviaAdafruit'sSDEPoverHardwareSPI.The<ahref="https://www.adafruit.com/product/2829"target="_blank"rel="noreferrer">Feather32u4BluefruitLE</a>issupportedasit'sanAVRmcuconnectedviaSPItotheNordicBLEchipwithAdafruitfirmware.IfBuildingacustomboardwiththeSPIfrienditwouldbeeasiesttojustusethepinselectionthatthe32u4featherusesbutyoucanchangethepinsintheconfig.hoptionswiththefollowingdefines:</p><ul><li><code>#defineBLUEFRUIT_LE_RST_PIND4</code></li><li><code>#defineBLUEFRUIT_LE_CS_PINB4</code></li><li><code>#defineBLUEFRUIT_LE_IRQ_PINE6</code></li></ul><p>ABluefruitUARTfriendcanbeconvertedtoanSPIfriend,howeverthis<ahref="https://github.com/qmk/qmk_firmware/issues/2274"target="_blank"rel="noreferrer">requires</a>somereflashingandsolderingdirectlytotheMDBT40chip.</p><h2id="bluetooth-rules-mk-options"tabindex="-1">BluetoothRules.mkOptions<aclass="header-anchor"href="#bluetooth-rules-mk-options"aria-label="Permalinkto"BluetoothRules.mkOptions""></a></h2><p>ThecurrentlysupportedBluetoothchipsetsdonotsupport<ahref="./../reference_glossary#n-key-rollover-nkro">N-KeyRollover(NKRO)</a>,so<code>rules.mk</code>mustcontain<code>NKRO_ENABLE=no</code>.</p><p>Addthefollowingtoyour<code>rules.mk</code>:</p><divclass="language-makevp-adaptive-theme"><buttontitle="CopyCode"class="copy"></button><spanclass="lang">make</span><preclass="shikishiki-themesgithub-lightgithub-darkvp-code"><code><spanclass="line"><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">BLUETOOTH_ENABLE=yes</span></span>\n<spanclass="line"><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">BLUETOOTH_DRIVER=bluefruit_le</span><spanstyle="--shiki-light:#6A737D;--shiki-dark:#6A737D;">#orrn42</span></span></code></pre></div><h2id="