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
answerThe answer sent by this Peripheral to the Central.
toQuestionThe question that we are answering.
View on GitHub
ITCB_Device_Central_Protocol Protocol Reference