tessel / t1-runtime

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

Killing BLE app requires reset to 'tessel run...' again #556

Open sidwarkd opened 10 years ago

sidwarkd commented 10 years ago

To reproduce:

  1. Attach the BLE module to Port A on the tessel
  2. Clone the physical-web project at https://github.com/google/physical-web
  3. cd into the firmware/tessel folder
  4. npm install
  5. tessel run index.js
  6. After the tessel starts advertising (indicated by console) wait 10 seconds and hit Ctrl-C to exit
  7. Once terminated try running tessel run index.js again.

At this point, for me, 100% of the time it hangs on the "Deploying bundle" step and never finishes. I have to hit the reset button to run code again.

tcr commented 9 years ago

@johnnyman727, could you take a look at the BLE code in this?

johnnyman727 commented 9 years ago

@tcr, yeah it's on my to-do list for today.

johnnyman727 commented 9 years ago

@sidwarkd ,

I can't reproduce this issue when running the latest firmware and ble release. Can you run tessel version --board and paste the results here? Could you also run npm ls in your firmware/tessel directory?

-Jon

sidwarkd commented 9 years ago

INFO Serial #: TM-00-04-f000da30-007a4741-12402586 INFO Wifi Version: 1.28 INFO Firmware Commit: 649699d INFO Runtime Commit: 0ca1827 INFO Firmware Build: 0.1.18

tessel-beacon@0.0.1 e:\projects\physical-web\firmware\tessel ├─┬ ble-ble113a@0.1.11 │ ├── async@0.9.0 │ └── bglib@0.0.6 ├── bleadvertise@0.1.1 └── tesselate@0.0.2

johnnyman727 commented 9 years ago

Hi @sidwarkd,

It looks like everything is up to date. I'm really not sure why I can't reproduce the issue. How big does it say the bundle size is?

-Jon