Spotlights

Get started with Brydge!

Get up and running with Brydge, on your ESP32!
Share on social media

Let's Get Started with Brydge!

Now that you have your ESP 32, it’s time to get set up on Brydge. 

1. What You Need

First, ensure you have ESP-IDF v5.x or higher and Python 3.x or higher installed on your computer. Your ESP32 communicates at a 115200 baud rate, so make sure you've got this set in your ESP-IDF extension in VS Code.

2. A Note About Keys

Brydge takes data security very seriously. We use RSA 4096 encryption to protect your data. When you first set up, you'll need four keys, which we'll pop over in your welcome email. These keys are the Server Provisioning Key, Device Provisioning Key, Secret API Key, and Client API Key.

3. Use the Automated Setup Script

We've created a handy script, provisioning.py, which can automate nearly the entire setup process for you. Feel free to customize it with your own User ID, Device ID, and Interactions. Download the script from Github here.

4. Build and Flash Your Firmware

Use the Build your project and Flash your project commands in the ESP-IDF extension in VS Code. After flashing, it can take up to 30 seconds for the initial boot sequence to wrap up.

5. Get Your Provisioning Script Ready

Copy the server-provisioning.pem file from your Brydge Platform API Link email into the same directory as the provisioning.py script. Then, set the YOUR_SECRET_API_KEY environment variable in your shell, or simply replace it in the provisioning.py script.

6.Run the Script

Time to get your script running.Enter python provisioning.py into your terminal and hit enter.

You're all set for development with the Brydge SDK. Check out our detailed documentation if you want to delve deeper. Happy coding!

Most popular
Start building with Brydge

Start exploring the Brydge IoT SDK today, for free!