collapse

Welcome!



Welcome to Robot Rebels, an online robot maker community.

Register today to post your projects, ask questions, share knowledge and meet like-minded people from around the world.


The RobotRebel.org Community

Author Topic: I didn't know JavaScript could do that  (Read 430 times)

Ladvien

  • Alabtu-ian Refugee
  • Member
  • *
  • Posts: 48
I didn't know JavaScript could do that
« on: May 25, 2017, 12:30:08 PM »
Did anyone else know about Google's Web API which supports Bluetooth LE within the Chrome browser?  It's pretty damn nifty, was able to spin up a browser based BLE terminal within a few hours:

https://ladvien.com/robots/bluetooth-low-energy-javascript/

I think I'm going to try to re-build my TinySafeBootloader...from the browser.  :o

Currently, the API only supports the following OSes: Chromimum, Mac, Android, and (with a lot of work), Windows
« Last Edit: June 11, 2017, 08:42:10 PM by Ladvien »

mogul

  • Hot glue gunslinger
  • Member
  • *
  • Posts: 141
  • This is a good day!
Re: I didn't know JavaScript could do that
« Reply #1 on: May 29, 2017, 01:30:45 AM »
Nifty indeed.

They indeed cram a lot of OS functionality into the browser. I see more security issues coming up soon.

And no linux support, how disappointing  :(

Ladvien

  • Alabtu-ian Refugee
  • Member
  • *
  • Posts: 48
Re: I didn't know JavaScript could do that
« Reply #2 on: May 29, 2017, 06:09:44 PM »
I haven't tested it yet--but they stated Linux is supported. 

I no little about infosec, but it does require an encrypted connection and user action.  I'm still pretty excited about it--it gave me a reason to learn JavaScript.

Ladvien

  • Alabtu-ian Refugee
  • Member
  • *
  • Posts: 48
Re: I didn't know JavaScript could do that
« Reply #3 on: June 03, 2017, 11:58:10 AM »
Well, things are moving nicely.

Currently, Lumi5, my little TinySafeBoot AVR uploader which will upload binary files across BLE from the webbrowser, is able to:

  • Search for BLE devices
  • Connect to BLE devices
  • Read and Write to BLE
  • Display received ASCII to terminal
  • Remotely set my Robber PCB into TSB Programming or AVR Run Mode
  • Read user file and parse into array



It's feeling like this project might actually be successful.




« Last Edit: June 03, 2017, 12:06:06 PM by Ladvien »

 

* Search


* Recent Topics

Great selection by jinx
[August 18, 2017, 06:12:17 AM]


all metal hotend by jinx
[August 18, 2017, 06:08:36 AM]


stars by exploremore
[August 18, 2017, 01:15:44 AM]


PCB mill by ossipee
[August 17, 2017, 06:09:13 PM]


AGM by ossipee
[August 15, 2017, 06:03:19 PM]


Backlash by jinx
[August 14, 2017, 10:49:52 AM]


HF x2 mill un boxing by Impala
[August 13, 2017, 12:49:54 AM]


Re-writing robotics by PerceptualRobots
[August 11, 2017, 03:53:10 PM]


3D Printed Full size Humanoid by DangerousThing
[August 07, 2017, 02:09:23 AM]


Fun Fact by Impala
[August 06, 2017, 01:04:13 AM]


big vice by jinx
[August 04, 2017, 03:32:25 AM]


Cyclopis radiator by jinx
[August 03, 2017, 10:10:03 AM]


CAD learning by tinhead
[August 02, 2017, 03:03:50 AM]


lathe cutting off by jinx
[August 01, 2017, 11:05:54 AM]


HAD "Show us your Roboto" contest by Gareth
[July 31, 2017, 09:54:36 AM]

* Recent Posts

Re: Great selection by jinx
[August 18, 2017, 06:12:17 AM]


Re: all metal hotend by jinx
[August 18, 2017, 06:08:36 AM]


Re: stars by exploremore
[August 18, 2017, 01:15:44 AM]


Great selection by exploremore
[August 18, 2017, 01:04:16 AM]


PCB mill by ossipee
[August 17, 2017, 06:09:13 PM]


Re: all metal hotend by Bajdi
[August 17, 2017, 07:41:20 AM]


Re: AGM by ossipee
[August 15, 2017, 06:03:19 PM]


Re: AGM by danphobic_
[August 15, 2017, 05:03:46 PM]


Re: AGM by danphobic_
[August 15, 2017, 04:59:28 PM]


Re: AGM by jinx
[August 15, 2017, 03:12:15 AM]


Re: AGM by ossipee
[August 14, 2017, 07:19:51 PM]


Re: AGM by 1 what
[August 14, 2017, 06:59:36 PM]


Backlash by jinx
[August 14, 2017, 10:49:52 AM]


Re: AGM by jinx
[August 14, 2017, 05:30:58 AM]


Re: AGM by ossipee
[August 13, 2017, 07:10:01 PM]