[solved] lopy BLE antenna not switching to external
-
Hello!!
I have a lopy system, and the antenna is not switching to external. I have tried:
bluetooth = Bluetooth(antenna=Bluetooth.EXT_ANT)
and
bluetooth.init(antenna=Bluetooth.EXT_ANT)
both functions run without an error, but the antenna does not switch to external.
The lopy is attached to a sense board. Thank you in advance!
-
I think I have an older version, ill update..
new firmware fixed the issue!! Thank you for the quick response!
-
@mgarrett
Is this the LoPy or LoPy4?May I ask how you know it's not switching?
-
Does not seem to be working. I tried to deinit the WLAN
from network import WLAN
wlan = WLAN()
wlan.deinit()then tried this:
from network import WLAN
wlan = WLAN()
wlan.antenna(WLAN.EXT_ANT)still not switching..
Im using a LOPY with this revision:
MicroPython v1.8.6-849-b9d53b40
-
@mgarrett
I believe that's been working since 1.17.0.b1
https://forum.pycom.io/topic/2734/new-firmware-release-v1-17-0-b1-completely-new-lte-classAre you running an up-to-date firmware?
Are you also running WiFi at the same time? If so you'll need to to make sure WiFi is also using the same antenna setting because they share the same RF path and switch.