#!/bin/sh blocks=56 offset=4 # 0 for manufacturer ID (0x0089) hex() { ( echo obase=16; echo $1; ) | bc -q } ( cat <