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:
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
follow the bluetooth core 4.0
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