Data Gator
Hardware and software documentation for the Data Gator project.
Loading...
Searching...
No Matches
ScanCallbacks Class Reference

Callbacks for BLE packets. More...

#include <ble_util.hpp>

Inheritance diagram for ScanCallbacks:
Collaboration diagram for ScanCallbacks:

Private Member Functions

void onResult (NimBLEAdvertisedDevice *dev)
 What to do when a device has been picked up by the scan.
 

Detailed Description

Callbacks for BLE packets.

Provides a set of callbacks to handle identification, parsing and other stages of handling BLE devices and packets.

Member Function Documentation

◆ onResult()

void ScanCallbacks::onResult ( NimBLEAdvertisedDevice dev)
inlineprivate

What to do when a device has been picked up by the scan.

Checks device advertisement for known sensor IDs. If recognized, then the packet is parsed.

Parameters
[in]devThe packet received by the BLE stack. Contains information needed to identify the sensor as well as data.

The documentation for this class was generated from the following file: