@@ -27,6 +27,7 @@
|
|||||||
#include "ble_handlers.h"
|
#include "ble_handlers.h"
|
||||||
#include "pd.h"
|
#include "pd.h"
|
||||||
#include "power.hpp"
|
#include "power.hpp"
|
||||||
|
#include "../../version.h"
|
||||||
#if POW_PD
|
#if POW_PD
|
||||||
#include "USBPD.h"
|
#include "USBPD.h"
|
||||||
#include "pd.h"
|
#include "pd.h"
|
||||||
@@ -176,9 +177,9 @@ int ble_char_read_bulk_value_callback(struct bt_conn *conn, const struct bt_gatt
|
|||||||
// TODO: Need to store non-encoded version
|
// TODO: Need to store non-encoded version
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
// Build
|
// FW Version
|
||||||
// TODO: Need to store non-encoded version
|
memcpy(buf, &BUILD_VERSION, sizeof(BUILD_VERSION) - 1);
|
||||||
break;
|
return sizeof(BUILD_VERSION) - 1;
|
||||||
case 4:
|
case 4:
|
||||||
// Device unique id
|
// Device unique id
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user