As of now, there are a couple of caveats (that will all eventually be fixed):
the device is hard-coded as /dev/ttyUSB0you can only program an xbee currently in AT mode (you can go to API mode fine, but my utility doesn't speak API yet)- need to handle radios in strange states or non-default baud rates, etc.
I'll edit this later after I find a place to put my code...
Edit: https://github.com/roysjosh/xbee-comm
And now, the text equivalent of a screenshot!
$ time { ./xbfwup 2270/ebl_files/XB24-ZB_2270.ebl ; }
Read 100608 byte firmware file (786 blocks).
................................................... 50
.................................................. 100
.................................................. 150
.................................................. 200
.................................................. 250
.................................................. 300
.................................................. 350
.................................................. 400
.................................................. 450
.................................................. 500
.................................................. 550
.................................................. 600
.................................................. 650
.................................................. 700
.................................................. 750
...................................
Programming complete, running uploaded firmware...
real 0m25.392s
user 0m0.023s
sys 0m0.042s
No comments:
Post a Comment