Skip to content

Remote Peer Has No Name #5

Description

@allanmacatingrao

Upon calling the start method of the LocalPeer, the peer (remote peer) that is being passed in onPeerDiscovered has a different name:

Here is the initialization:

let wlanModule = WlanModule(type: type, dispatchQueue: dispatch_get_main_queue())

// displayName contains the user defined name
localPeer = LocalPeer(name: displayName, modules: [wlanModule], dispatchQueue:
dispatch_get_main_queue())

but here:

localPeer.start( onPeerDiscovered: { (peer) in
// peer.name contains the device name, not the user defined name
.
.
.

Btw, I'm using Simulator and Actual iOS device.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions