Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: file fails to close after second record #145

Open
rundb opened this issue Aug 27, 2023 · 0 comments
Open

bug: file fails to close after second record #145

rundb opened this issue Aug 27, 2023 · 0 comments

Comments

@rundb
Copy link
Owner

rundb commented Aug 27, 2023

log:

[00:00:00.490,234] <info> app: led: received command [1-1]
[00:00:00.491,210] <info> app: memory id: EF-60-18
[00:00:01.847,656] <info> app: rtc: received command 0
[00:00:01.884,765] <info> app: state: launched record start
[00:00:01.884,765] <info> app: audio: received record_start command
[00:00:01.884,765] <info> app: led: received command [0-2]
[00:00:06.018,554] <info> app: button: OFF
[00:00:06.020,507] <info> app: audio: received record_stop command. recorded 33344 bytes, lost 6144
[00:00:06.020,507] <info> app: mem: closing file
[00:00:06.029,296] <info> app: state: stopped and saved record
[00:00:06.029,296] <info> app: task ble: start
[00:00:06.029,296] <info> app: adv: Fast advertising.
[00:00:06.030,273] <info> app: led: received command [2-1]
[00:00:06.242,187] <info> app: mem: owner changed to ble
[00:00:06.298,828] <info> peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Peer rank, action: Update, no change
[00:00:06.299,804] <info> app: Connected
[00:00:06.310,546] <info> app: led: received command [2-2]
[00:00:06.594,726] <info> peer_manager_handler: Connection secured: role: Peripheral, conn_handle: 0, procedure: Encryption
[00:00:06.594,726] <info> peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Peer rank, action: Update, no change
[00:00:06.714,843] <info> app: PHY update request.
[00:00:06.865,234] <info> ble_cts_c: Current Time Service discovered at peer.
[00:00:06.958,984] <info> app: rtc: received command 1
[00:00:34.356,445] <info> app: button: ON
[00:00:34.365,234] <info> app: task ble: stop
[00:00:34.577,148] <info> app: mem: owner changed to audio
[00:00:35.918,945] <info> app: rtc: received command 0
[00:00:35.958,007] <info> app: state: launched record start
[00:00:35.958,007] <info> app: audio: received record_start command
[00:00:35.958,007] <info> app: led: received command [0-2]
[00:00:38.684,570] <info> app: button: OFF
[00:00:38.684,570] <info> app: audio: received record_stop command. recorded 22016 bytes, lost 6912
[00:00:38.693,359] <info> app: mem: closing file
[00:00:39.661,132] <error> app: state: failed to close record upon button release
[00:00:47.712,890] <error> app: ble: conn params error (INVALID_STATE)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant