主权项 |
1. A method for configuring operation of a stylus device, the method comprising:
operating the stylus device in a first mode of a plurality of different modes, each different mode corresponding to one of a plurality of different encoding schemes and to one of a plurality of respective computer device touch controller types, wherein in the first mode the stylus device is not able to communicate with a computing device; detecting, by the stylus device, physical contact; operating, by the stylus device, in a beacon mode in response to the stylus device detecting the physical contact; transmitting, by the stylus device in the beacon mode, a signal corresponding to a request for first configuration information to a first computing device; receiving, by the stylus device, a first message to establish a first communication channel, the first message received via a capacitive link between the stylus device and the first computing device; receiving, by the stylus device and over the first communication channel, a second message from the first computing device, the second message including the first configuration information, the first configuration information comprising:
an operating frequency, anda first identification code corresponding to a first encoding scheme of the plurality of different encoding schemes stored in a memory of the stylus device, the first encoding scheme corresponding to a format for encoding data to be sent to the first computing device; identifying, by the stylus device and based on the identification code, the first encoding scheme; configuring the stylus device to operate using the first encoding scheme; sending a third message to the first computing device, wherein the stylus device encodes the data in the third message using the first encoding scheme and sends the data at the operating frequency. |