IBEACON((byte)0x7, IBeacon.Register.values()),
HAPTIC((byte)0x8, Haptic.Register.values()),
DATA_PROCESSOR((byte) 0x9, DataProcessor.Register.values()),
EVENT((byte)0xa, Event.Register.values()),
LOGGING((byte)0xb, Logging.Register.values()),
<BUG>TIMER((byte)0xc, Timer.Register.values()),
DEBUG((byte)0xfe, Debug.Register.values());</BUG>
public final byte opcode;
private final HashMap<Byte, Register> registers;
private Module(byte opcode, Register[] registers) {

IBEACON((byte)0x7, IBeacon.Register.values()),
HAPTIC((byte)0x8, Haptic.Register.values()),
DATA_PROCESSOR((byte) 0x9, DataProcessor.Register.values()),
EVENT((byte)0xa, Event.Register.values()),
LOGGING((byte)0xb, Logging.Register.values()),
TIMER((byte)0xc, Timer.Register.values()),
I2C((byte) 0xd, com.mbientlab.metawear.api.controller.I2C.Register.values()),
MACRO((byte) 0xf, Macro.Register.values()),
SETTINGS((byte) 0x11, Settings.Register.values()),
DEBUG((byte)0xfe, Debug.Register.values());
public final byte opcode;
private final HashMap<Byte, Register> registers;
private Module(byte opcode, Register[] registers) {
