Skip to content

add CBPeripheral.CanSendWriteWithoutResponse#46

Merged
teach310 merged 7 commits intodevelopfrom
feature/peripheral_canSend
Oct 19, 2023
Merged

add CBPeripheral.CanSendWriteWithoutResponse#46
teach310 merged 7 commits intodevelopfrom
feature/peripheral_canSend

Conversation

@teach310
Copy link
Copy Markdown
Owner

Description

WriteWithResponseを短期間で大量に送ることはできない。
送信失敗したことを把握するために以下を追加

  • add CBPeripheral.CanSendWriteWithoutResponse
  • add CBPeripehralDelegate.IsReadyToSendWriteWithoutResponse

Test

DebugSceneをWriteWithoutResponseにして検証した。

1フレームに二回目以降のwriteWithoutResponseではCanSendWriteWithoutResponseがfalseになった。
その後コールバックが呼ばれることが確認できた。

@teach310 teach310 added the add label Oct 19, 2023
@teach310 teach310 merged commit 37d46c5 into develop Oct 19, 2023
@teach310 teach310 deleted the feature/peripheral_canSend branch October 19, 2023 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant