tessel / t1-runtime

[UNMAINTAINED] Tessel 1 JavaScript runtime.
Other
117 stars 33 forks source link

expose tcp_read/ssl_read errors #713

Open jiahuang opened 9 years ago

jiahuang commented 9 years ago

This PR exposes HCI 1008 (select) errors on read so that it can be handled in the JS layer.

natevw commented 9 years ago

Glad this is getting hooked up — please see comments on patch though for some logic changes necessary to make it work as you intend for the tcp case especially.

natevw commented 9 years ago

@jiahuang is this just tying up loose ends, or was the missing error handling related to https://github.com/tessel/firmware/issues/128 too?