Method for actively connecting to and communicating with apple device and apple device attachment
摘要:
A method for actively initiating a connection to and communicating with an Apple device via USB, relating to the field of communications, and comprising: an Apple device attachment, when detecting access by a USB device, determines whether the accessing USB device is an Apple device (S1); the Apple device attachment establishes a device address for the Apple device (S2); the Apple device attachment acquires the current communication protocol setup of the Apple device, and determines whether the current communication protocol configuration of the Apple device is a preset configuration (S3); the Apple device attachment sets the current communication protocol configuration of the Apple device as the preset configuration (S4); the Apple device attachment notifies the Apple device to register the Apple device attachment to the Apple device (S5); the Apple device attachment establishes a connection with the Apple device (S6); the Apple device attachment periodically queries whether communication data has been sent by the Apple device, and when detecting communication data has been sent by the Apple device, receiving the communication data sent by the Apple device and implementing communication with the Apple device (S7). The present method can actively initiate a connection with an Apple device without using an Apple authentication chip, acting as a primary device implementing communication with the Apple device.
信息查询
0/0