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 546 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: 145
  • 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

PI tray by jinx
[October 14, 2017, 07:19:30 AM]


24byj48 based delta robot - fail by mogul
[October 08, 2017, 02:24:55 AM]


My scope focuser upgrade by jscottb
[October 07, 2017, 07:57:43 PM]


3Dimsen by viswesh
[September 26, 2017, 01:17:04 PM]


Antique (fun) stuff by MEgg
[September 23, 2017, 09:26:34 AM]


win a smoothie board by jinx
[September 21, 2017, 02:21:45 AM]


Parallax CR Servo with Built-In Encoder by erco
[September 19, 2017, 10:50:01 PM]


Re-writing robotics by MEgg
[September 17, 2017, 06:01:03 AM]


Saturn pics anyone by ossipee
[September 16, 2017, 05:46:24 PM]


Kitronik :MOVE mini buggy kit by craighissett
[September 14, 2017, 08:12:20 PM]


Third 3D printer recommentation by Deity
[September 14, 2017, 06:43:00 AM]


Android Adware by Impala
[September 13, 2017, 03:24:01 PM]


Plantoid Robot's on Kickstarter. by ossipee
[September 09, 2017, 04:29:54 PM]


rewound PLA filament by jinx
[September 03, 2017, 10:30:51 AM]


corexy test by jinx
[September 02, 2017, 05:30:46 AM]

* Recent Posts

PI tray by jinx
[October 14, 2017, 07:19:30 AM]


24byj48 based delta robot - fail by mogul
[October 08, 2017, 02:24:55 AM]


Re: My scope focuser upgrade by jscottb
[October 07, 2017, 07:57:43 PM]


Re: My scope focuser upgrade by jscottb
[October 06, 2017, 07:47:22 AM]


Re: My scope focuser upgrade by jinx
[October 06, 2017, 05:00:15 AM]


Re: My scope focuser upgrade by jscottb
[October 05, 2017, 10:37:05 PM]


My scope focuser upgrade by jscottb
[October 05, 2017, 06:53:55 PM]


Re: 3Dimsen by viswesh
[September 26, 2017, 01:17:04 PM]


Re: 3Dimsen by Bajdi
[September 26, 2017, 05:42:36 AM]


Re: 3Dimsen by Deity
[September 25, 2017, 07:49:30 AM]


Antique (fun) stuff by MEgg
[September 23, 2017, 09:26:34 AM]


3Dimsen by mogul
[September 23, 2017, 08:59:05 AM]


win a smoothie board by jinx
[September 21, 2017, 02:21:45 AM]


Parallax CR Servo with Built-In Encoder by erco
[September 19, 2017, 10:50:01 PM]


Re: Re-writing robotics by MEgg
[September 17, 2017, 06:01:03 AM]