This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Advertising payload length restriction - Is there a way to increase in CC2540 BLE Dongle?

Other Parts Discussed in Thread: CC2540, CC2640

Hi,

 

I am using CC2540 USB BLE Dongle with PC Application implemented in .Net. 

I need to advertise with payload size more than 31 byte. In BLE stack GAP_UpdateAdvertisingData has the restriction of AdvertData with size of 31 byte. 

When I try to create the AdvertData with 32 byte, GAP_AdvertisingData command execution is giving error. 

Below is the command sequence executed and its response from the stack.

 

--------------------------------------------------------------------

[15] : <Tx> - 07:41:21.889

-Type           : 0x01 (Command)

-OpCode         : 0xFE07 (GAP_UpdateAdvertisingData)

-Data Length   : 0x22 (34) byte(s)

AdType         : 0x01 (1) (Advertisement data)

DataLength     : 0x20 (32)

AdvertData     : AA:D6:BE:89:8E:09:09:44:65:78:63:6F:6D:30:45:02:

                 01:06:03:02:FE:BC:05:FF:D0:00:48:01:75:E7:17:00

Dump(Tx):

0000:01 07 FE 22 01 20 AA D6 BE 89 8E 09 09 44 65 78 ...". .......Dex

0010:63 6F 6D 30 45 02 01 06 03 02 FE BC 05 FF D0 00 com0E...........

0020:48 01 75 E7 17 00                              H.u...

--------------------------------------------------------------------

[16] : <Rx> - 07:41:21.930

-Type           : 0x04 (Event)

-EventCode     : 0x00FF (Event)

-Data Length   : 0x06 (6) bytes(s)

Event         : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)

Status         : 0x12 (18) (Not Setup Properly To Perform That Task)

OpCode         : 0xFE07 (GAP_UpdateAdvertisingData)

DataLength     : 0x00 (0)

Dump(Rx):

0000:04 FF 06 7F 06 12 07 FE 00                     .........

--------------------------------------------------------------------

 

Kindly forward this post to the respective person to clarify me, from CC2540 BLE Dongle is it possible to update and transmit the advertisment payload with size more than 31 byte? 

Also let me know whether CC2640 will able to advertise the data with payload size more than 31 and any limitations. 

Regards,

Ramesh Kumar