@Sterling Im experimenting with a streams style which I think leads to really clean and composable parsers...
Its supposed to also lead to really composable and clean api usage as well, but thats starting to break down already as mapping hardware to streams is kind of a nightmare as it turns out and hasnt really been done by anyone else as far as I can tell. But I do have a proof of concept up in a browser now finally. http://nnewtmgr.surge.sh/ source code here https://github.com/jacobrosenthal/web-newtmgr On Sat, Apr 1, 2017 at 11:58 AM, Fabio Utzig <[email protected]> wrote: > With Jacob announcing it on April Fools I was not so sure, but seems > legit, very cool indeed! ;-) > > On Sat, Apr 1, 2017, at 02:06 PM, Sterling Hughes wrote: > > Very cool, that’s awesome! I looked at the code, I wasn’t expecting > > node to handle binary data so well. > > > > BR, > > > > Sterling > > > > On 1 Apr 2017, at 10:01, Jacob Rosenthal wrote: > > > > > I started porting newtmgr to node. Ive got Current transports include > > > serial and ble. Current commands include list, test, confirm, reset. > > > https://www.npmjs.com/package/newtmgr > > > > > > Next up, more commands, and some testing webpacking it so I can > > > utilize it > > > front end javascript with webble -- and mobile with phonegap and react > > > native. >
