Configure your Smart Kidney Monitoring System for BLE wireless streaming
The dashboard uses the following BLE specifications to connect to the hardware:
Flash your ESP32 with this service setup to start streaming data:
#include <BLEDevice.h>
#include <BLEServer.h>
#include <BLE2902.h>
#define SERVICE_UUID "de991000-f9a1-43e8-abdf-14022c45aa3c"
#define CHARACTERISTIC_UUID "de991001-f9a1-43e8-abdf-14022c45aa3c"
BLECharacteristic* pCharacteristic;
void setup() {
BLEDevice::init("RenalSense-Monitor");
BLEServer* pServer = BLEDevice::createServer();
BLEService* pService = pServer->createService(SERVICE_UUID);
pCharacteristic = pService->createCharacteristic(
CHARACTERISTIC_UUID,
BLECharacteristic::PROPERTY_NOTIFY
);
pCharacteristic->addDescriptor(new BLE2902());
pService->start();
pServer->getAdvertising()->start();
}
1. Turn on your ESP32 monitor device and make sure Bluetooth is enabled on your computer or phone.
2. Go to the Renal Sense page on this dashboard.
3. Toggle the connection mode to Bluetooth.
4. Click Connect BLE Device and pair with RenalSense-Monitor in the browser prompt.