IBeaconΒΆ
A cool feature of the MetaWear is that it can also function as an IBeacon; all you need to do is call the Enable method and disconnect from the board.
using MbientLab.MetaWear.Peripheral;
IIBeacon ibeacon = metawear.GetModule<ISwitch>();
ibeacon.Enable();
The advertisement parameters can be modified sing the various Set methods.
// set major = 31415 and minor = 9265
ibeacon.SetMajor(31415)
.SetMinor(9265);