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 1183 times)

Ladvien

  • Alabtu-ian Refugee
  • Member
  • *
  • Posts: 57
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: 151
  • 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: 57
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: 57
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

CZ-1 2.0: problems, calibration and printing, part2 by MEgg
[May 27, 2018, 05:23:38 PM]


All metal Titan Extruder by jinx
[May 27, 2018, 04:24:23 AM]


UConduit H-Bot printer design by KingBeetle
[May 26, 2018, 02:10:38 PM]


MKS Gen L 1.0 by KingBeetle
[May 25, 2018, 12:49:36 PM]


Greetings! by KingBeetle
[May 25, 2018, 01:03:51 AM]


Hello Robot Rebels by jinx
[May 23, 2018, 04:40:15 PM]


Cardboard Bob by Pouserz
[May 23, 2018, 07:04:41 AM]


ChuckCrunch by Gareth
[May 23, 2018, 02:51:44 AM]


Sloth Robot=Bob by erco
[May 16, 2018, 02:17:07 PM]


URF to ERF by jinx
[May 07, 2018, 03:48:47 AM]


How pull-up resistors really work by maelh
[May 01, 2018, 03:39:13 PM]


Animabot - Advanced hexapod robot by Nemesis
[May 01, 2018, 05:53:03 AM]


Antique (fun) stuff by MEgg
[April 24, 2018, 01:48:57 PM]


Spider by viswesh
[April 21, 2018, 09:41:33 AM]


Google Vision API using Raspberry Pi and Node by Ladvien
[April 20, 2018, 02:38:12 PM]

* Recent Posts

Re: CZ-1 2.0: problems, calibration and printing, part2 by MEgg
[May 27, 2018, 05:23:38 PM]


Re: CZ-1 2.0: problems, calibration and printing, part2 by jinx
[May 27, 2018, 05:08:52 PM]


3DBenchy boat by MEgg
[May 27, 2018, 02:28:59 PM]


Re: All metal Titan Extruder by jinx
[May 27, 2018, 04:24:23 AM]


UConduit H-Bot printer design by KingBeetle
[May 26, 2018, 02:10:38 PM]


Re: All metal Titan Extruder by KingBeetle
[May 26, 2018, 11:32:04 AM]


Re: MKS Gen L 1.0 by KingBeetle
[May 25, 2018, 12:49:36 PM]


Re: MKS Gen L 1.0 by jinx
[May 25, 2018, 05:00:38 AM]


Re: MKS Gen L 1.0 by KingBeetle
[May 25, 2018, 04:05:59 AM]


Re: MKS Gen L 1.0 by jinx
[May 25, 2018, 02:55:30 AM]


Re: MKS Gen L 1.0 by KingBeetle
[May 25, 2018, 01:26:03 AM]


Greetings! by KingBeetle
[May 25, 2018, 01:03:51 AM]


All metal Titan Extruder by jinx
[May 24, 2018, 05:11:32 PM]


Re: Hello Robot Rebels by jinx
[May 23, 2018, 04:40:15 PM]


Re: Cardboard Bob by Pouserz
[May 23, 2018, 07:04:41 AM]