File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -739,8 +739,11 @@ declare_class!(
739739 "delegate_peripheral_didmodifyservices {}" ,
740740 peripheral_debug( peripheral) ,
741741 ) ;
742- // NOTE: This is a corebluetooth-only even that makes the peripheral unusable until service discovery has been performed again.
742+ // This is a corebluetooth-only event that makes peripheral services unusable until discovery has been performed again.
743743 // https://developer.apple.com/documentation/corebluetooth/cbperipheraldelegate/peripheral(_:didmodifyservices:)?language=objc
744+ // Trigger the removal of internal corebluetooth peripheral discovered services. It is also expected that
745+ // discover_services() will be performed again on the peripheral at the API level as soon as is practical.
746+ // NOTE: the list of modified services does not appear to be particularly useful; a full service rediscovery is needed.
744747 self . send_event( CentralDelegateEvent :: ServicesModified {
745748 peripheral_uuid: nsuuid_to_uuid( unsafe { & peripheral. identifier( ) } ) ,
746749 } ) ;
You can’t perform that action at this time.
0 commit comments