3 Replies Latest reply on Dec 16, 2015 9:00 PM by jota_1939431

    BCM920737 how to send large data over ble in chunks

      Hi,

       

      We are using BCM920737 board and sample application of long_charecteristic.

      how to send large data over ble in chunks. Can you please point to some sample applications.

      Request for help as early as possible.

       

      Thanks

      Ravitej

        • 1. Re: BCM920737 how to send large data over ble in chunks
          MichaelF_56

          The large_characteristic sample is the sample application we provide for sending large chunks of data.

           

          This sample app demonstrates how to read and write values to a characteristic value larger than 512 octets in length.

          • 2. Re: BCM920737 how to send large data over ble in chunks

            Hi,

             

            Thanks for the reply.

             

            Can you please point to any sample app which notifies large data. I mean using notify characteristics.

            I have referred long_characteristic sample.Any code snippets will also help.


            The sample App Speed_test i have referred to but it seems the notifications are not working on iOS End.

            Please help us as early as possible.


            Thanks

            Ravitej

            • 3. Re: BCM920737 how to send large data over ble in chunks

              Hello Bhagi,

               

              1.  Notifications are only 20 bytes allowed by the BLE Spec.

              2.  If you want "long" notifications, you can send multiple notifications

              3.  Notifications do not necessarily need to contain any characteristics

              4.  The methodology works like this

                   a.  Notifications are sent about a change about a characteristic with a handle of the characteristics.

                   b.  It is up to the application to send the data for the characteristics in the notification or it can send meta data in the notification for the characteristics

                   c.  So if you want a notification of 512 bytes,

                   d.  You send a notification for that handle and on the client side, you do a BLOB Read of the characteristics

               

              Hope this helps

              JT