Skip to content

Commit 6888717

Browse files
version 4.0-beta2
1 parent 1bfa792 commit 6888717

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

CHANGELOG.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [4.0-beta2] - ???
7+
## [4.0-beta2] - 2024-03-09
88
### New
99
- BLE Service: Added `uni_bt_enable_service_safe(bool)` API to enable/disable in runtime
1010
- DualSense: Add support for adaptive trigger
@@ -14,14 +14,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
- "linux" example renamed to "posix" since it also works on macOS
1515
- UART: UART console cannot be toggled at runtime. It can only be disabled at compile-time via "menuconfig"
1616
- Needed to use IDF-IDF v5.2
17-
- Fixes Arduino Nano ESP32 [Github Issue #65][github_issue_65]
17+
- Improves Arduino Nano ESP32 [Github Issue #65][github_issue_65] by forwarding Bluepad32 logs to Arduino.
1818
- Documentation: Improved documentation
19+
- Arduino IDE:
20+
- ESP32-S3 boards, like 'Arduino Nano ESP32' or 'Lolin S3 Mini' can see output using different compile. For details see [Github Issue #65][github_issue_65]
21+
- Calls `btstack_stdio_init()` to have buffered output
1922

2023
### Fixed
2124
- Pico W/Posix: string properties return default value instead of error.
2225
- Pico W/Posix: TLV uses its own namespace to prevent clash from user code.
2326
- Keyboard: 8BitDo Retro Keyboard volume knob works Ok.
24-
27+
2528
[github_issue_65]: https://github.com/ricardoquesada/bluepad32/issues/65
2629
[github_issue_68]: https://github.com/ricardoquesada/bluepad32/issues/68
2730

docs/plat_arduino.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ running on it as well.
88

99
!!! Bug
1010

11-
[Arduino Nano ESP32][arduino_nano_esp32] board is not supported at the moment.
12-
See [Github issue #65][github_issue_65] for status.
11+
No output in certain ESP32-S3 boards like [Arduino Nano ESP32][arduino_nano_esp32] or [Lolin S3 Mini][lolin_s3_mini] ?
12+
Read [Github issue #65][github_issue_65] to see how to enable it.
1313

1414
There are two ways to setup a Bluepad32 Arduino project for ESP32 chips:
1515

src/components/bluepad32/bt/uni_bt_sdp.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ static void sdp_query_timeout(btstack_timer_source_t* ts) {
217217
// Public functions
218218

219219
void uni_bt_sdp_query_start(uni_hid_device_t* d) {
220-
loge("-----------> sdp_query_start()\n");
220+
logi("-----------> sdp_query_start()\n");
221221
// Needed for the SDP query since it only supports one SDP query at the time.
222222
if (sdp_device != NULL) {
223223
logi("Another SDP query is in progress (%s), disconnecting...\n", bd_addr_to_str(sdp_device->conn.btaddr));
@@ -237,7 +237,7 @@ void uni_bt_sdp_query_start(uni_hid_device_t* d) {
237237
}
238238

239239
void uni_bt_sdp_query_end(uni_hid_device_t* d) {
240-
loge("<----------- sdp_query_end()\n");
240+
logi("<----------- sdp_query_end()\n");
241241
uni_bt_conn_set_state(&d->conn, UNI_BT_CONN_STATE_SDP_HID_DESCRIPTOR_FETCHED);
242242
sdp_device = NULL;
243243
btstack_run_loop_remove_timer(&sdp_query_timer);
@@ -288,7 +288,7 @@ void uni_bt_sdp_query_start_hid_descriptor(uni_hid_device_t* d) {
288288

289289
void uni_bt_sdp_server_init() {
290290
// Only initialize the SDP record. Just needed for DualShock/DualSense to have
291-
// a successful reconnect.
291+
// a successful reconnecting.
292292
sdp_init();
293293

294294
device_id_create_sdp_record(device_id_sdp_service_buffer, 0x10003, DEVICE_ID_VENDOR_ID_SOURCE_BLUETOOTH,

0 commit comments

Comments
 (0)