Google Chrome to BTSerial

tommeyers
Posts: 184
Joined: Tue Apr 17, 2018 1:51 pm
Location: Santiago, Dominican Republic

Google Chrome to BTSerial

Postby tommeyers » Wed Sep 26, 2018 11:07 pm

I have been trying to write a Chrome extension to connect to ESP32 BTSerial. I have not been successful. I need a working sample.

My intention is to use Chrome to connect to the esp32 and send messages in both directions. By using Chrome I will have a common program across Apple, Android and Windows. Simplest would be BT Serial SPP: connect, send, receive, disconnect.

I can connect at a low-level from windows (10) command-line to com6 to esp32 "copy com6 con" and "copy con com6". So that shows signs of life.

There are about 4 steps in using Chrome.bluetooth to connecting but my code fails.

I have loaded some extensions that have promise but they fail too. Many of the programs are 4 years old and the Chrome documents seem to say "incomplete".

I have another forum post asking for where to find the BT config on esp32 maybe using menuconfig. I am hoping to find some clues there.

Thanks, Tom Meyers
IT Professional, Maker
Santiago, Dominican Republic

Who is online

Users browsing this forum: No registered users and 62 guests