Browse Source
Merge pull request #436 from 446564/fix-nano-g2-ota-name
update nano g2 ultra BLE name for OTA
pull/438/head
ripplebiz
12 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
variants/nano_g2_ultra/nano-g2.cpp
|
|
@ -68,7 +68,7 @@ bool NanoG2Ultra::startOTAUpdate(const char *id, char reply[]) |
|
|
// Set max power. Accepted values are: -40, -30, -20, -16, -12, -8, -4, 0, 4
|
|
|
// Set max power. Accepted values are: -40, -30, -20, -16, -12, -8, -4, 0, 4
|
|
|
Bluefruit.setTxPower(4); |
|
|
Bluefruit.setTxPower(4); |
|
|
// Set the BLE device name
|
|
|
// Set the BLE device name
|
|
|
Bluefruit.setName("TECHO_OTA"); |
|
|
Bluefruit.setName("NANO_G2_OTA"); |
|
|
|
|
|
|
|
|
Bluefruit.Periph.setConnectCallback(connect_callback); |
|
|
Bluefruit.Periph.setConnectCallback(connect_callback); |
|
|
Bluefruit.Periph.setDisconnectCallback(disconnect_callback); |
|
|
Bluefruit.Periph.setDisconnectCallback(disconnect_callback); |
|
|
|