8 Replies Latest reply on Oct 30, 2014 10:20 AM by mitoc_1583836 Branched to a new discussion.

    Support for very large characteristics

    StBa_721356

      I need to support a BLE Peripheral Characteristic which has to deliver data blobs with a payload of several hundred bytes (more than 255). Since I have no control over the BLE Central which connects to my BLE Peripheral I cannot implement a custom protocol. The BLE Central relies on the Blob Read functionality.

       

       

      I tried the long_characteristic_support routine bleprofile_WriteHandleData() which allows me to support BLE Characteristics of up to 255 bytes but unfortunately this is not large enough.

       

       

      The sample app „long_characteristic“ found in the SDK 2.1.1 states in the comment that it supports characteristic values of larger than 512 octets but this is simply wrong. The maximum number of bytes I can use here is 255 due to the fact that in both the GATT database and the BLEPROFILE_DB_PDU the length field is only 8 bits.

       

       

      How can I support Blob read with more than 255 bytes?

        • 1. Re: Support for very large characteristics
          MichaelF_56

          I think VictorZ_46 talks about the Read Blob procedure within this thread: Notify 80 bytes data?

          • 2. Re: Support for very large characteristics
            StBa_721356

            THis thread does not talk about characteristics of larger than 255 bytes.

            We already tried the long_characteristic code but we are still stuck with the 255 byte limit.

             

            So how can we work around this 255 byte limit?

            • 3. Re: Support for very large characteristics
              MichaelF_56

              I spoke to the developers, and while this is indeed possible, we have yet to prepare and package an example for the public consumption.  Unfortunately, we do not have an ETA to provide such example either.

              • 4. Re: Support for very large characteristics
                StSm_298421

                Stefan,

                I amended the long_characteristic.c and .h code so I could try different sizes. I can read a long characteristic of up to 224 bytes without error. At 240 bytes the peripheral disconnects unexpectedly - I haven't looked at what goes over the air, but it looks like there is some other limit in place also. I did not try sizes which are not a multiple of 16 bytes.

                1 of 1 people found this helpful
                • 5. Re: Support for very large characteristics
                  mitoc_1583836

                  I confirmed this with the 20737 Tag board. I did trial-error tests increasing the payload of one GATT characteristic (see long_characteristic.c). I have been able to read and write up to 239 bytes in one single characteristic from a peer device (iPhone).

                   

                  The GATT characteristic that I use for my test is here (SIZE_LONG_CHARACTERISTIC_VALUE =239):

                   

                  CHARACTERISTIC_UUID128_WRITABLE (HDLC_LONG_CHARACTERISTIC,

                                             HDLC_LONG_CHARACTERISTIC_VALUE,

                                             UUID_LONG_CHAR_CHAR,

                                             LEGATTDB_CHAR_PROP_READ | LEGATTDB_CHAR_PROP_WRITE_NO_RESPONSE | LEGATTDB_CHAR_PROP_WRITE | LEGATTDB_CHAR_PROP_NOTIFY | LEGATTDB_CHAR_PROP_INDICATE,

                                             LEGATTDB_PERM_READABLE | LEGATTDB_PERM_WRITE_CMD | LEGATTDB_PERM_WRITE_REQ | LEGATTDB_PERM_RELIABLE_WRITE | LEGATTDB_PERM_VARIABLE_LENGTH,

                                             SIZE_LONG_CHARACTERISTIC_VALUE),

                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

                   

                  If I try to create an application with a characteristic of size of 240 and above the BLE keeps resetting with garbage data(??), see the log below:

                   

                  14:33:50 - create()

                  14:33:50 - 1.00

                  14:33:50 - 0018

                  14:33:50 - 021101002a

                  14:33:50 - 6c6f6e675f6368617200000000000000

                  14:33:50 - 022101012a

                  14:33:50 - 0002

                  14:33:50 - 0118

                  14:33:50 - bf90218ec0684c0084012dba08ab3288

                  14:33:50 - 3e1103345be2125eb14503b62924558a

                  14:33:50 - 111e36

                  14:33:50 - 00000000000000000000000000000000

                  14:33:50 - 00000000000000000000000000000000

                  14:33:50 - 00000000000000000000000000000000

                  14:33:50 - 00000000000000000000000000000000

                  14:33:50 - 00000000000000000000000000000000

                  14:33:50 - 00000000000000000000000000000000

                  14:33:50 - 00000000000000000000000000000000

                  14:33:50 - 00000000000000000000000000000000

                  14:33:50 - 00000000000000000000000000000000

                  14:33:50 - 00000000000000000000000000000000

                  14:33:50 - 00000000000000000000000000000000

                  14:33:50 - 00000000000000000000000000000000

                  14:33:50 - 00000000000000000000000000000000

                  14:33:50 - 00000000000000000000000000000000

                  14:33:50 - 00000000000000000000000000000000

                  14:33:50 - 20036e04020229000000000400200000

                  14:33:50 - 041e002c0100000000000000006c6f6e

                  14:33:50 - 675f6368617200000000000000000002

                  14:33:50 - 00312e30300000000001040000000000

                  14:33:50 - 00000000000000000000000000000000

                  14:33:50 - 00000000000000000000000000000000

                  14:33:50 - 00000001000000000000000064000000

                  14:33:50 - 000000c20100a0a10100ffffffffffff

                  14:33:50 - ffffffffffffffff1100040100000000

                  14:33:50 - 00000000000000000000000000000000

                  14:33:50 - 00000000000000008101637265617465

                  14:33:50 - 28290028494e5429427574313a256420

                  14:33:50 - 427574323a256420427574333a25640a

                  14:33:50 - 005265616448616e646c654461746120

                  14:33:50 - 73756363657373005265616448616e64

                  14:33:50 - 6c6544617461206661696c6564203a2d

                  14:33:50 - 2800577269746548616e646c65446174

                  14:33:50 - 61207375636365737300577269746548

                  14:33:50 - 616e646c6544617461206661696c6564

                  14:33:50 - 006e6f206d656d0077726974655f6861

                  14:33:50 - 6e646c65723a2068616e646c65202530

                  14:33:50 - 3478206c656e3a256400307825303278

                  14:33:50 - 0044d742bf90218ec0684c0084012dba

                  14:33:50 - 08ab3288000000000000158e06490748

                  14:33:50 - fef7c3bf074806498230fef7bebf0649

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:50 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefef1c00000000000000

                  14:33:51 - 000000000e0000000000000010000000

                  14:33:51 - 00000000020000000000000000000000

                  14:33:51 - 1100000000000000980d200007870400

                  14:33:51 - a6880400000000410200010067ea0000

                  14:33:51 - 0200010067ea0000020000003c632000

                  14:33:51 - ffffffff39970400efefefef64970400

                  14:33:51 - efefefefd8622000efefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefef65351000000000000000

                  14:33:51 - efefefef00000000ffffffff00000000

                  14:33:51 - 3063200064ea00003863200030632000

                  14:33:51 - 799f0400630e0000f0ff0000a0542000

                  14:33:51 - 8b5420000a000100f000000000000000

                  14:33:51 - a0542000dd900400870e000005ea0000

                  14:33:51 - 4363200064ea0000970e00000dea0000

                  14:33:51 - 3030000000000000312e303000652829

                  14:33:51 - 00efefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefef000000007c642000

                  14:33:51 - 0000360002000000980d200002000000

                  14:33:51 - 020000000200000031f102008df10200

                  14:33:51 - a0000000000000000100000088642000

                  14:33:51 - 07040000af000000f0ffffff8b542000

                  14:33:51 - 0a000100f000000007040000af000000

                  14:33:51 - f0ffffff034601005408200000000100

                  14:33:51 - 02000000ffffffff0080ffff00000000

                  14:33:51 - 2057200000000000980d2000b5512000

                  14:33:51 - a0000000000000000522000020050000

                  14:33:51 - 886420001c0a2000241c2000c73a0200

                  14:33:51 - 780000000300000088642000ec182000

                  14:33:51 - ac062000d740020078000000fe192000

                  14:33:51 - fe192000154102000500000084702000

                  14:33:51 - a4062000ec182000ac062000d9640300

                  14:33:51 - 050000009d0501000000000000000100

                  14:33:51 - 0c042000ffffffff0080ffff00000000

                  14:33:51 - 00000100000001000c04200011ed0000

                  14:33:51 - 00000100b02b20000c042000ffffffff

                  14:33:51 - 0080ffff000000002057200071110000

                  14:33:51 - e8162000000000000000000000000000

                  14:33:51 - 00000000398104000000000000000000

                  14:33:51 - 00000000ffffffffefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefefefefefefefefef

                  14:33:51 - efefefefefefefefe8162000c4162000

                  14:33:51 - 00000000008000000000000011690300

                  14:33:51 - 000000000c042000000000006c6c2000

                  14:33:51 - 0c000000000800000202000020652000

                  14:33:51 - 2c292000d0292000ffffffff01000000

                  14:33:51 - dc692000ffffffff0000000000000000

                  14:33:51 - 00000000000000000800000010000000

                  14:33:51 - 00000000b55d0400c005000000020061

                  14:33:51 - 0000000000000000ffffffffffffffff

                  14:33:51 - bff3fbff4c0b20004000000002020000

                  14:33:51 - 20652000a5630300ffffffff00000000

                  14:33:51 - 40000000eb8902002c29200000000000

                  14:33:51 - 00000000000000000000000000000000

                  14:33:51 - 20652000398104000000000000000000

                  14:33:51 - 00000000ffffffffefefefefefefefef

                  14:33:51 - 05990711cb4834c7d57cade5f55c2a4d

                  14:33:51 - 7ef25d52cf0c0cebcde10854501cdd48

                  14:33:51 - f7f493887e2e73be4c9d5a4c570da803

                  14:33:51 - 092213f74f6de2bd02174f9cf8c599d9

                  14:33:51 - 4b23dd4c85d492e7e68a787d02befcaa

                  14:33:51 - edc92a1d6933fd26a4c2222ee84f57fb

                  14:33:51 - 6c6c2000906c20005c7020005c702000

                  14:33:51 - a0702000e4702000906c2000b46c2000

                  14:33:51 - 46b6b7405ef2cfd6159b7c987efcb7c6

                  14:33:51 - 45bc95fab6211c51a93200884faffcf6

                  14:33:51 - 385053e9b93fa2517c1e1ac353cdb17f

                  14:33:51 - 5829c47055a80199171cbab5240f9e5d

                  14:33:51 - edb6afffe18c66264e18fd8811cb775f

                  14:33:51 - d7b540afdc2f8f305a6df0f327b8fde1

                  14:33:51 - 361f63a92f6a40547a618b91ef4f1fee

                  14:33:51 - 84c643a1f74ae9210a3ed35e351afc72

                  14:33:51 - 06f37259c9257c74ee8b4d5ab4c4e1a9

                  14:33:51 - fdd284c8f28c03e0a92ad9b501ec190f

                  14:33:51 - 713b2968d282a3f73e2f591aece16880

                  14:33:51 - 025f285e4979b41d21f194946dfcaf4a

                  14:33:51 - cba83dddf5f78f9d8003ae1a00030000

                  14:33:51 - 8003b21a020000008003b61a10001000

                  14:33:51 - 8003ba1a002800008003be1a00000000

                  14:33:51 - 8003ae1a100300008003b21a02000000

                  14:33:51 - 8003b61a130013008003ba1a03280000

                  14:33:51 - 8003be1a000000008003ae1a11030000

                  14:33:52 - 8003b21aaf0000008003b61af000f0ff

                  14:33:52 - 8003ba1a000000008003be1a00000000

                  14:33:52 - 8003ba1a002a00008003be1a00000000

                  14:33:52 - 8003ae1a200100008003b21a02000000

                  14:33:52 - 8003b61a050005008003ba1a03280000

                  14:33:52 - 8003be1a000000008003ae1a21010000

                  14:33:52 - 8003b21a020000008003b61a02000200

                  14:33:52 - 8003ba1a012a00008003be1a00000000

                  14:33:52 - 8003ae1a000200008003b21a02000000

                  14:33:52 - 8003b61a020002008003ba1a00280000

                  14:33:52 - 8003be1a000000008c6c200000000000

                  14:33:52 - 00000000157a7320048ca020eaaef608

                  14:33:52 - 4ce04a8c2fd61b107b0c8a44b06c2000

                  14:33:52 - 091000030c000404ca0b0c6750b76350

                  14:33:52 - 882eeee57ff0c0d71969e8918ce8ba33

                  14:33:52 - d46c200006200f200020000000000000

                  14:33:52 - 57670300070023715b062f3dda4514ec

                  14:33:52 - 308b2019f86c20000a2001017647a3d7

                  14:33:52 - e431e31cdb1e524d3e5c21c199535374

                  14:33:52 - a3840f18ba4e14f41c6d20000e040106

                  14:33:52 - 20000441b5bb6f13b991d1f9c5d5bdbe

                  14:33:52 - a523e8ba597c44966921716f406d2000

                  14:33:52 - 62072feb807e184faf62d7fa36d9b8fa

                  14:33:52 - 8a05cdbae978284e3fe340d4030f4737

                  14:33:52 - 646d2000f0f430a0c09f28a7f56f69e6

                  14:33:52 - 858afe9a93e8f2b5aee6ff34b83af400

                  14:33:52 - 13b841bd886d200093991e087e32b6ac

                  14:33:52 - ad33e20b1523f82c7268ec935a964dce

                  14:33:52 - 508a145e5011c76bac6d20005c9cbf6c

                  14:33:52 - 50a8d386fdfbe2716fbcccecf68abb2b

                  14:33:52 - e3cb6690d8e3d1e75dea6bc8d06d2000

                  14:33:52 - c15703623d4167fb4ddc732fd44aa124

                  14:33:52 - ffac50fd63570af75f27c0ce3d18b240

                  14:33:52 - f46d2000ad8131c5707baa4b9c254c1f

                  14:33:52 - 8c9ec2e5b5c98ead4db1e510e32dc045

                  14:33:52 - 2dae4ec2186e20008c6883d48294ef54

                  14:33:52 - 3167a9467e9308589b367679296f99c5

                  14:33:52 - fddf809fa3ec26853c6e2000f9959470

                  14:33:52 - 67619c5b8e86ebec7fdde70c752c4918

                  14:33:52 - 9c1d45460510f12a8be04b04606e2000

                  14:33:52 - 4ce0268155fd7169958255e23cdf923e

                  14:33:52 - fac230efaf9ef844948d9411701a4f4d

                  14:33:52 - 846e200014b30cde3a20e5b8c6b3209f

                  14:33:52 - 7dd66daf48a666f191f3fe24a490b956

                  14:33:52 - fa8ddde1a86e20001956f9a171ee8cc9

                  14:33:52 - a0a20a813df7467024b74110d774ac75

                  14:33:52 - f37802061fd78402cc6e2000cab392d4

                  14:33:52 - b0b0806da835c1eda3189654f168f53b

                  14:33:52 - 8741b4eff9b30fd4a1e64ad9f06e2000

                  14:33:52 - adb189f777602f356c3a0e53c69355cd

                  14:33:52 - c41fe89052d4cc94687d39f9cf3440a7

                  14:33:52 - 146f20003604b0aa950ea0eaeca8be9c

                  14:33:52 - b1941ab37d8bc8188a5855897bfc3449

                  14:33:52 - 6950b415386f2000c718e32bc632e3ee

                  14:33:52 - 88e8f9796a4c86da3145a2656bf08473

                  14:33:52 - ffbc19eead4ac6375c6f20008ae981cd

                  14:33:52 - 9269a283426161e15d60e52b3fd059d6

                  14:33:52 - d90025efff2e0ccad0e2e080806f2000

                  14:33:52 - 9e569a55f939d00a3f90debba1e25235

                  14:33:52 - 861f759958fb5a618664c3fd7fb1b12f

                  14:33:52 - a46f200064a86d10ff81d32965bad78f

                  14:33:52 - e90b4663c3b8254c12d85746b5533098

                  14:33:52 - 537b593ec86f200023ac33820c71389d

                  14:33:52 - 2c608b6ee1508ebbd08c3fd5e1eae0d6

                  14:33:52 - ab362e72a8a09b6aec6f200026293451

                  14:33:52 - ece0955b2d72f5c367a2dcd9c5e99cbf

                  14:33:52 - 52c2979d50d0b88aa41d69ad10702000

                  14:33:52 - fe1b744d8f7aefa86bd2f4d693527cff

                  14:33:52 - fd8709369e6044610f526754c71a2701

                  14:33:52 - 347020008eb0a576ee1c976ce7a87e00

                  14:33:52 - 70cfbbe77a37c07573da4cda68c809cd

                  14:33:52 - 0e0dd15d00000000b5d73b07ba4783e9

                  14:33:52 - 057a6bd48d000af24acb53a97c6b20f4

                  14:33:52 - 1fdb6a86f401d5f19c70200000000000

                  14:33:52 - 00000000000000000000000000000000

                  14:33:52 - 00000000000000000000000000000000

                  14:33:52 - 00000000020000000200000002000000

                  14:33:52 - 440820001700000024a7af25e0702000

                  14:33:52 - 08203a180201051107bf90218ec0684c

                  14:33:52 - 0084012dba08ab3288020a0402000000

                  14:33:52 - 040000000864200002000000ffffffff

                  14:33:52 - 0080ffff00000000205720000216c4e9

                  14:33:52 - 2471200009203a0b0a096c6f6e675f63

                  14:33:52 - 6861724c0084012dba08ab3288020a04

                  14:33:52 - 02000000040000000864200002000000

                  14:33:52 - ffffffff0080ffff4408200003000000

                  14:33:52 - 00bac83c687120003bf14b1860988fad

                  14:33:52 - 5629ad3db2a6ec9abdd85e1ba3772248

                  14:33:52 - a00d1273fea4f5bba9dfa5ba53631c72

                  14:33:52 - e2cd5ed781e057b94ae952d17f9ffd1b

                  14:33:52 - 21918a48fd74be43ac712000327f7b5c

                  14:33:52 - 8d5a4d1afde22209800a7643e335bc3b

                  14:33:52 - 8acf14b5d9cf6d66520ca1cf2fbabbc1

                  14:33:52 - 07cf63c9fdade4482b0c6fafd2cfb831

                  14:33:52 - 4c90be6feb32dbb9672caac0f0712000

                  14:33:52 - 7d414f08e3fcc3ae91c17939e9cfc766

                  14:33:54 - f7b4bd47

                  • 6. Re: Support for very large characteristics
                    mitoc_1583836

                    For the statement here:

                    * This sample demonstrates how to read and write values to a characteristic value

                    * larger than 512 octets in length.

                     

                    I am not sure what the developers want to say exactly.

                    If I access the GATT on the server side I will use a structure of type: BLEPROFILE_DB_PDU *db_pdu; The length of the GATT PDU should not be more than 0xFF (UNIT8), see below BLEPROFILE_DB_PDU.len:

                     

                    typedef PACKED struct

                    {

                      UINT8 len;

                      UINT8 header;

                      UINT8 pdu[LEATT_ATT_MTU-1];

                    } BLEPROFILE_DB_PDU;

                     

                    I would expect a characteristic of 255bytes to work.

                    1 of 1 people found this helpful
                    • 7. Re: Support for very large characteristics
                      jest_1227976

                      mitoc_1583836 , thanks for your large characteristic work. . .this is great.  Have you been able to run a speed_test equivalent with the larger characteristics?  Sending Notifications for Multiple large characteristics every connection event?

                      • 8. Re: Support for very large characteristics
                        mitoc_1583836

                        Hi cove_jstewart,

                         

                        I did not try to run the speed test with that configuration. Let me know if you have some results to share it would be interesting to see if it does work properly with 239 bytes.

                         

                        Thanks

                        1 of 1 people found this helpful