Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    BLE throughput with pycom

    Scheduled Pinned Locked Moved LoPy
    blelopy
    5 Posts 3 Posters 1.3k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      Colateral
      last edited by Colateral

      Hello,

      We just ported our streaming code from C to upython implementing BLE throughput feature. For the people who has no idea what it is, I will resume in one phrase: you can send from DeviceA to DeviceB large streams over BLE. This is useful for software update or other scenarios where you have large arrays of data to put in pycom.

      Well, comparing with other devices, the throughput is very bad.With 2 pycom devices at 50cm distance you can get 70bytes/s ( MTU as 20bytes/characteristic write) .

      Does anybody implemented BLE throughput?

      Can you expose parameters to change the BLE delays/timers (eq. characteristics write,announcements etc)

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jmarcelino @Colateral
        last edited by

        @colateral
        This isn't supported yet but a review of the Bluetooth stack is planned. Keep an eye for future updates.

        The suggested method for software updates is over WiFi.

        1 Reply Last reply Reply Quote 0
        • C Offline
          CodeManiac64
          last edited by

          Just a question reguarding this topic, by not supported do you mean the characteristic write? Or is it that the amount of data you can send over BLE is limited and not fully supported?

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            jmarcelino @CodeManiac64
            last edited by

            @codemaniac64
            I meant the Packet Length extension option. I think that was what was being discussed here.

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              Colateral @jmarcelino
              last edited by

              @jmarcelino Sorry for late answer.Yes...packet length extension it will be great if we can configure.

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post

              Pycom on Twitter

              Pycom