Project #009: Dynamic Broadcaster - Changing Advertising Packets | Cypress Semiconductor
Project #009: Dynamic Broadcaster - Changing Advertising Packets
Today's project is a demonstration of dynamically changing Advertising Packets on a GAP Broadcaster.
Recall, in Project #008, we learn why a Brodcaster-only application can be benificial for certain use-cases like continuous Advertising to multiple nearyby devices (e.g. an iBeacon)
Project #009 implements a GAP Broadcaster that constantly updates the Mfg. Specific Data string in its Advertisement Packets. The time interval at which these Advertising Packets are updated are based on a firmware parameter called "LOOP_DELAY". This causes nearby GAP Central devices (like mobile phones) to receive new and updated data from the Broadcaster at this defined time interval.
This project also enables the use of low-power modes by switching the device into its 60-nA Hibernate mode after a 1-hour timeout, allowing you to maximize battery life.
You can download this PSoC Creator project and a detailed PDF from GitHub here: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day009_Dynamic_Broadcaster