Hello,
I have adapted the SimpleBLEBroadcaster in order to send data as an iBeacon like this:
0x02, 0x01, 0x06, 0x1A, 0xFF, 0x4C, 0x00, 0x02, 0x15, //iBeacon Prefix
0xAB, 0xAB, 0xAB, 0xBB, 0xCC, 0x11, 0x22, 0x22, 0x55, 0x77, 0x11, 0x11, 0x11, 0x11, 0x99, 0x99, //UUID
0x9F, 0xAC, //Major
0x98, 0xAD, //Minor
0xC2 // Tx Power
Once I get this I want to change the Major and Minor in each advert the iBeacon do. I tried changing the adv data before calling:
GAPRole_SetParameter( GAPROLE_ADVERT_DATA, sizeof( advertData ), advertData );
But it doesn't work, and it's the only place where advertData is used, so I don't find out where the change must be done.
Any idea?
Thanks.
Iván Gómez Bustinduy.