Skip to content

OmniShoes/CC2650-Dev

Repository files navigation

CC2650-Dev

build

Develop

Please use the latest Chrome browser for development since it has good support for the Web Bluetooth API.

Note that Web Bluetooth APIs are available only in secure contexts (which means http://127.0.0.1, http://localhost, http://*.localhost, file:// and https://). Therefore, we cannot simply start an HTTP dev server on the PC and access it from a smartphone using the PC's IP address. One way to get around this is to use a reverse proxy on the smartphone (e.g. Nginx running on Termux).

It would be much simpler to debug on the PC itself if it supports bluetooth. :)

To start the dev server:

yarn dev

Build

yarn build
yarn serve