public static void main(String[] args) {
// create a NiaDevice or NiaDevice2
NiaDevice2 nia = new NiaDevice2();
// register this class as listener
nia.addListener(new ExampleNiaReader());
// set signed to false
nia.setSigned(false);
// start the NiaDevice