⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
前腿帕特尔
Offline
Last seen:2 years 6 months ago
加入:2017-03-29 10:50
Advertising data length

Hello Dialog_Support Team,

If the Advertising Data is larger than 32 bytes, can the DA14580 read it. The API user_on_adv_report_ind we are using allows us to only ready from byte 0 to byte 31 during scanning.

Thanks and Regards,
前腿帕特尔

Keywords:
Device:
IM_Dialog
Offline
Last seen:1month 3 weeks ago
加入:2016-12-06 22:25
Hi Ruchi,

Hi Ruchi,

BLE advertisements can only contain up to 31 bytes of data in their payload, take a look at the following for a detailed description of BLE advertisement packets:

http://www.argenox.com/a-ble-advertising-primer/

Best regards

IM_Dialog

mark_xu
Offline
Last seen:1year 9 months ago
加入:2015-07-23 02:16
follow the bluetooth core 4.0

follow the bluetooth core 4.0

MHv_Dialog
Offline
Last seen:2 months 2 weeks ago
工作人员
加入:2013-12-06 15:10
Hi Ruchi Patel,

Hi Ruchi Patel,

If I understand you correctly, you are using the DA14580 as a scanner, is that correct?

Typically when you use a smartphone as a scanner you appear to receive more than 31 bytes (Up to 62 bytes), but this is because smartphones are using acive scans which menas that they will request a second PDU whenever they detect an advertising from a peripheral. This is called a scan request and the response to this request, another 31 bytes, is approprately named a scan response.

When you receive advertising reports in your scanner, every report is associated with a type field indicating what type of advertising package was detected. Standard advertising packages have the type 0 and scan responses have the type 4. A smart phone will look at the BD address of the advertiser to append data from the two types of PDUs to construct the 62 byte data. You will have to do something similar in your scanner project.

/MHv