 		{
 			pkbuf[8] = 0
 		}
+		pkbuf[2] = crc8(pkbuf, Len: Int(pkbuf[1]) + 4)
+
 		device.writeValue(NSData(bytes: UnsafeMutablePointer<Void>(pkbuf), length: 20), forCharacteristic: ctrlChar, type: CBCharacteristicWriteType.WithoutResponse)
 	}
 	

		
		pkbuf[0] = UInt8((NEB_CTRL_PKTYPE_CMD << 5) | NEB_CTRL_SUBSYS_EEPROM)
		pkbuf[1] = 16
		pkbuf[2] = 0
		pkbuf[3] = UInt8(EEPROM_Write) // Cmd
		
		pkbuf[4] = UInt8(pageNo & 0xff)

		{
			pkbuf[8] = 0
		}
		
		pkbuf[2] = crc8(pkbuf, Len: Int(pkbuf[1]) + 4)

		device.writeValue(NSData(bytes: UnsafeMutablePointer<Void>(pkbuf), length: 20), forCharacteristic: ctrlChar, type: CBCharacteristicWriteType.WithoutResponse)
	}
	
