2d Barcode and device