C
#include "BleConnectionStatus.h"
BleConnectionStatus::BleConnectionStatus(void)
{
}
void BleConnectionStatus::onConnect(NimBLEServer *pServer, ble_gap_conn_desc* desc)
{
pServer->updateConnParams(desc->conn_handle, 6, 7, 0, 600);
this->connected = true;
}
void BleConnectionStatus::onDisconnect(NimBLEServer *pServer)
{
this->connected = false;
}