Lines Matching +full:write +full:- +full:0
15 # this program; if not, write to the Free Software Foundation, Inc., 59
16 # Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 # Usage: cxacru-cf.py < cxacru-cf.bin
21 # Warning: cxacru-cf.bin with MD5 hash cdbac2689969d5ed5d4850f117702110
22 # contains mis-aligned values which will stop the modem from being able
32 i = 0
36 if len(buf) == 0:
39 sys.stdout.write("\n")
40 sys.stderr.write("Error: read {0} not 4 bytes\n".format(len(buf)))
43 if i > 0:
44 sys.stdout.write(" ")
45 sys.stdout.write("{0:x}={1}".format(i, struct.unpack("<I", buf)[0]))
48 sys.stdout.write("\n")