Skip to content

GATTServerConnection .onSecured is not invoked with security.immediate #1634

@stc1988

Description

@stc1988

Build environment: macOS,
Moddable SDK version: 8.2.0
Target device: Moddable Six

This issue is derived from #1633.

While testing an AMS (Apple Media Service) workflow on ESP32, I noticed behavior that may be worth documenting or investigating.

My BLE server is configured with:

security: {
	bond: true,
	ioCapabilities: "none",
	immediate: true,
},

Based on the implementation, security.immediate appears to initiate the security procedure when a connection is established.
However, with an iOS device, onSecured is never delivered if the server does not expose any characteristic that requires encryption.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions