I want to do 2 things with the nRF51822 beacons
- Add an ADC output to the advertising packet (non-connectable mode)
- Set the advertising interval to 1 hour or longer
For the first task, I was told I could use a byte (or 2) in the manufacturer section of the packet. Looking at the beacon example code (nRF51822 beacon v1.1.0), the manufacturer data is set in the beginning of the main function by calling
static void beacon_params_default_set(void)
Can the manufacturer data be modified after the beacon has started (either in the while loop or in the ADC interrupt routine)?
For the second task, I noticed there is a maximum advertising interval of about 10 seconds. This is the absolute maximum and is not negotiable, is it?