This project uses the ESP32’s BLE to scan for advertising BLE devices and the ESP32’s WiFi to publish the mac address of the advertising devices to PubNub. Then it uses serverless PubNub Functions to keep a realtime count of the number of advertising devices and displays the count in a React Native app.
PubNub’s primary product is a realtime publish/subscribe messaging API built on a global Data Stream Network. Messages sent with PubNub are delivered in under 0.25 seconds and PubNub supports over 70 SDKs. PubNub provides the secure, scalable, and reliable infrastructure to power any realtime application.
Want to learn more about this project or build a clone from scratch? Check out the tutorial.