Skip to content

Commit

Permalink
Bump simpleble version
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Parfenov <[email protected]>
  • Loading branch information
Andrey1994 committed Dec 23, 2024
1 parent 6d50237 commit 896172f
Show file tree
Hide file tree
Showing 281 changed files with 15,706 additions and 1,969 deletions.
6 changes: 3 additions & 3 deletions src/board_controller/aavaa/aavaa_v3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ void aavaa_adapter_1_on_scan_found (
((AAVAAv3 *)(board))->adapter_1_on_scan_found (adapter, peripheral);
}

void aavaa_read_notifications (simpleble_uuid_t service, simpleble_uuid_t characteristic,
uint8_t *data, size_t size, void *board)
void aavaa_read_notifications (simpleble_peripheral_t handle, simpleble_uuid_t service,
simpleble_uuid_t characteristic, const uint8_t *data, size_t size, void *board)
{
((AAVAAv3 *)(board))->read_data (service, characteristic, data, size);
}
Expand Down Expand Up @@ -469,7 +469,7 @@ void AAVAAv3::adapter_1_on_scan_found (
}

void AAVAAv3::read_data (
simpleble_uuid_t service, simpleble_uuid_t characteristic, uint8_t *data, size_t size)
simpleble_uuid_t service, simpleble_uuid_t characteristic, const uint8_t *data, size_t size)
{
safe_logger (spdlog::level::trace, "received {} number of bytes", size);

Expand Down
4 changes: 2 additions & 2 deletions src/board_controller/aavaa/inc/aavaa_v3.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class AAVAAv3 : public BLELibBoard
void adapter_1_on_scan_start (simpleble_adapter_t adapter);
void adapter_1_on_scan_stop (simpleble_adapter_t adapter);
void adapter_1_on_scan_found (simpleble_adapter_t adapter, simpleble_peripheral_t peripheral);
void read_data (
simpleble_uuid_t service, simpleble_uuid_t characteristic, uint8_t *data, size_t size);
void read_data (simpleble_uuid_t service, simpleble_uuid_t characteristic, const uint8_t *data,
size_t size);
std::deque<uint8_t> Incoming_BLE_Data_Buffer;
std::string device_status;

Expand Down
Loading

0 comments on commit 896172f

Please sign in to comment.