• 0 Votes
    2 Posts
    25 Views
    J
    @Tobias-Eliasson I believe you need to enable Pymesh via Pybytes (and accept the associated license) before you can use it. See https://docs.pycom.io/pybytes/pymeshintegration/provisioning/ for info.
  • Fipy HSP Bluetooth

    Getting Started hsp bluetooth api fipy
    2
    0 Votes
    2 Posts
    22 Views
    G
    Hi, This is indeed not directly built into the micropython firmware. You could implement it in C using the ESP-IDF, but we cannot give you in-depth support for that. There do exist some examples over on the espressif esp-idf repository on github that you can look at
  • 0 Votes
    3 Posts
    77 Views
    F
    @Gijs actually I solved my problem before seeing this , anyway it is very interesting. In particular, my problem was solved by removing if not bt.isscanning(): bt.start_scan(-1) # start scanning with no timeout print('Trying to establish connection with Nord') connection = bt.connect('ac5fea133f19') I found out these commands were not needed and they broke my code.
  • Bluetooth GATTSCharacteristic GPy

    Discussion bluetooth gatt gpy network pycom
    13
    0 Votes
    13 Posts
    669 Views
    A
    Dear @shanefowler25, @shanefowler25 said in Bluetooth GATTSCharacteristic GPy: I just wasn't able to do a GET request for my application. May I humbly ask whether you wanted to connect using SSL here? I'm just asking because we didn't test these details thoroughly with our custom builds yet. @shanefowler25 said in Bluetooth GATTSCharacteristic GPy: Hopefully sometime in the future, there will be another update to the firmware that allows users to use Wifi/Bluetooth or Cellular/Bluetooth, without the program crashing and resetting the board. Issues around this "coexist" thing have even bitten Espressif Systems for quite a while, as outlined above. In this manner, the Pycom firmware is pretty much innocent here as it depends very much on the details coming from the ESP-IDF in this regard. @shanefowler25 said in Bluetooth GATTSCharacteristic GPy: My program would still crash when I used to Bluetooth to break the while loop of my program. While we are avid WiFi users, some people from our community are also approaching BLE these days. @poesel reported his observations on [1] and [2] already, but unfortunately he is currently traveling without being able to confirm our latest build would work better for him. He is using a GPy as well. @shanefowler25 said in Bluetooth GATTSCharacteristic GPy: I figured out a workaround that works for the application that I'm trying to do. Good that you found something that works for you. As we are currently trying to collect experiences from people affected by this issue on [3], we still ask anyone who could test the latest dragonfly builds. So, if you might find some time for that beyond working on your program, we would be more than happy to hear about the outcome. Thanks already and happy hacking. With kind regards, Andreas. [1] https://forum.pycom.io/topic/5358/1-20-0rc13-guru-meditation [2] https://community.hiveeyes.org/t/investigating-core-panics-with-ble-on-pycom-devices/2715 [3] https://community.hiveeyes.org/t/testing-the-custom-dragonfly-builds-on-pycom-devices/2746
  • 0 Votes
    1 Posts
    144 Views
    No one has replied
  • 0 Votes
    6 Posts
    453 Views
    robert-hhR
    @Wolli01 Both SX1272 and SX1276 oprate at a range of 1.8 to 3.7 V, the esp32 at a range of 2.6 to 2.6 V. So 3.33V should not be a problem. The voltage should however be taken at the 3.3 V output of the LoPy, to be sure, that the supply arrives. But there may be short supply drops during send bursts. If you have an oscilloscope available, try to trigger for voltage drop sat the 3.3V output. The current demand for WiFI is higher than that for Lora, 250mA worst case for the ESP32 vs. 120mA worst case for the SX127x, but I doubt that these high power output modes for Lora are supported. So yes, worst case can be in the range of 500mA. Given your power consumption, battery impedance, especially at low voltage, may more be an issue than total capacity.
  • Data transfer via Bluetooth?

    WiPy 2&3 wipy3.0 lopy4 ble bluetooth fipy
    1
    1 Votes
    1 Posts
    373 Views
    No one has replied
  • How to identify devices through BLE

    Discussion bluetooth ble ble bluetooth
    3
    0 Votes
    3 Posts
    452 Views
    A
    @jcaron, ah, that is a shame - but thank you for letting me know. I was hoping this could be done passively, without having to build an iOS app. Basically, I am trying to get the Pycom board to search through the advertising BLE devices on startup to determine if a specific one, my phone in this case, is present or not. Then the board will take one of two actions depending on if the phone is present or not. In standard Bluetooth, there is the process of pairing, where two devices can in effect remember each other. I was hoping there would be an equivalent for BLE.
  • 0 Votes
    6 Posts
    644 Views
    J
    @robin Have you tried forcing the use of the internal antenna, either via the appropriate WiFi setting, or directly by controlling P12?
  • 0 Votes
    2 Posts
    407 Views
    E
    Yes you can download your code wirelessly, have a look at https://docs.pycom.io/getting-started/programming/ftp But you still need some connection to power your Sipy And yes you can download via RX/TX wire but you need de FDTI 3.3V cable or something similar
  • Sipy does not detect phone via Bluetooth

    SiPy bluetooth scan sipy
    6
    0 Votes
    6 Posts
    833 Views
    B
    @eric73 thanks again. Indeed I was expecting like a popup or message or anything. I just did bluetooth.connect(mac_addr) ad if connected, print something. And it turns out to that the connection was indeed established but silently yes.
  • BLE ATT Wrapper

    Guides ble bluetooth
    1
    2 Votes
    1 Posts
    620 Views
    No one has replied
  • Bluetooth LE security

    Getting Started bluetooth security pycom ble
    2
    0 Votes
    2 Posts
    612 Views
    P
    If your going to have a physical button to enable it to be reconfigured you dont have many options. An idea may be to write something to flash storage after the first time its been configured and not allow additional setup attempts unless that file is removed but if someone has physical access to the device there's nothing stopping them connecting over uart and removing it via repl. Alternatively. A physical preventative might be more suitable (lock it in a box)
  • 1 Votes
    2 Posts
    605 Views
    A
    You can use an FTP client (like FileZilla) to see and transfer files on the flash drive of your device via a static wifi (e.g. have your device and laptop connected to your home wifi) or by using your device as an access point (connect your laptop to the device wifi). https://docs.pycom.io/gettingstarted/programming/ftp
  • Bluetooth, pyserial

    MicroPython bluetooth pysense send receive laptop
    1
    0 Votes
    1 Posts
    534 Views
    No one has replied
  • BLE & Low power

    Comments & Feedback ble bluetooth deepsleep consumption low power
    1
    0 Votes
    1 Posts
    482 Views
    No one has replied
  • Bluetooth to LORA

    Discussion bluetooth lorawan
    4
    0 Votes
    4 Posts
    710 Views
    E
    @cbourne Hello, my application currently running on a LoPy4 is to collect Temperature,hygrometer,battery level value from several bluetooth BLE sensor (xiaomi) and to send all value via Sigfox, so basically, if your sensor is BLE i can confirm it's work (Sigfox or LoraWan using same radio component in different way). BUT please note that according to pycom documentation "Currently, only basic BLE functionality is available", if your sensor is not low energy this will not work in your case. If you need to connect to your sensor to do some GATT request/service my answer is no more affirmative as i dont do that.