Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Compat] Fails on Tessel 2 #48

Open
johnnyman727 opened this issue Apr 27, 2016 · 9 comments
Open

[Compat] Fails on Tessel 2 #48

johnnyman727 opened this issue Apr 27, 2016 · 9 comments

Comments

@johnnyman727
Copy link
Contributor

johnnyman727 commented Apr 27, 2016

Here is the output from trying to run the example:

INFO Looking for your Tessel...
INFO Connected to doorman.
INFO Building project.
INFO Writing project to RAM on doorman (149.504 kB)...
INFO Deployed.
INFO Running ble.js...
Trace: <Buffer ef bf bd 0c 00 00 01 00 02 00 02 00 5d 00 03 00 01 06>
    at e.parseIncomingPackets (/tmp/remote-script/node_modules/ble-ble113a/lib/messenger.js:1:7049)
    at emitOne (events.js:77:13)
    at emit (events.js:169:7)
    at readableAddChunk (_stream_readable.js:146:16)
    at Readable.push (_stream_readable.js:110:10)
    at null.<anonymous> (/usr/lib/node/tessel-export.js:229:24)
    at emitNone (events.js:67:13)
    at Socket.emit (events.js:166:7)
    at emitReadable_ (_stream_readable.js:411:10)
    at emitReadable (_stream_readable.js:405:7)
[Error: No existing response creator for packet of class 0 and command id 93]
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: Unable to connect to module.
    at Error (native)
    at e.<anonymous> (/tmp/remote-script/node_modules/ble-ble113a/lib/messenger.js:1:524)
    at processImmediate [as _immediateCallback] (timers.js:368:17)

The first byte should be an 0x80, instead there are three nonsense bytes (0xef, 0xbf, 0xed) so there may be an issue with the UART peripheral in T2 firmware.

@rwaldron
Copy link

Wouldn't this be present in uses of UART? That is: if something was wrong with the firmware, wouldn't all messages be missing the first byte?

@johnnyman727
Copy link
Contributor Author

@rwaldron My guess is that there might be some bug in the UART initialization code or some race condition. I'm just shooting in the dark here though.

@mbrevda
Copy link

mbrevda commented May 26, 2016

were you able to take a closer look at this?

@johnnyman727
Copy link
Contributor Author

@mbrevda no I haven't looked into this. I don't have a BLE module with me and I'll be traveling for the next several months.

@mbrevda
Copy link

mbrevda commented May 31, 2016

Are you saying that besides for the month already waited there won't be a
resolution to this issue for the next few months?

On Tue, May 31, 2016 at 9:02 AM Jon [email protected] wrote:

@mbrevda https://github.com/mbrevda no I haven't looked into this. I
don't have a BLE module with me and I'll be traveling for the next several
months.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#48 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AAR4jNJGz0aMcTNcrrQDq4YZGetTbLaHks5qG88MgaJpZM4IRZly
.

@johnnyman727
Copy link
Contributor Author

@mbrevda I'm saying that I won't be able to work on this for a few months but it is all open source if anyone else wants to investigate.

@johnnyman727
Copy link
Contributor Author

You may want to just purchase a USB BLE dongle since it is so cheap and widely accessible.

@mbrevda
Copy link

mbrevda commented Dec 21, 2016

It's been quite a few months, was there any progress made here?

@johnnyman727
Copy link
Contributor Author

@mbrevda unfortunately, I don't think anyone is actively working on this. I'm happy to advise if you want to investigate yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants