btstack/platforms/arduino/examples/iBeacon/iBeacon.ino

17 lines
293 B
Arduino
Raw Normal View History

#include <BTstack.h>
#include <stdio.h>
#include <SPI.h>
2015-05-18 21:41:22 +00:00
UUID uuid("E2C56DB5-DFFB-48D2-B060-D0F5A71096E0");
void setup(void){
setup_printf(9600);
BTstack.iBeaconConfigure(&uuid, 4711, 2);
BTstack.setup();
BTstack.startAdvertising();
}
void loop(void){
BTstack.loop();
}