ITCB_Device_Central_Protocol

public protocol ITCB_Device_Central_Protocol : ITCB_Device_Protocol

We simply add a “send question” method.

  • This is used by a Peripheral to respond to a Central with an answer.

    Declaration

    Swift

    func sendAnswer(_ answer: String, toQuestion: String)

    Parameters

    answer

    The answer sent by this Peripheral to the Central.

    toQuestion

    The question that we are answering.