10. A computer-program product for use in conjunction with an electronic device, the computer-program product comprising a non-transitory computer-readable storage medium and a computer-program mechanism embedded therein to communicate input messages and output messages with another electronic device using a Bluetooth Low Energy (BTLE) communication protocol, the computer-program mechanism including: instructions for receiving the input messages using a predefined characteristic having a numerical identifier to convey input information associated with a set of input attribute types including multiple input attribute types, wherein a given input message includes one or more input-command characters specifying a given input attribute type in the set of input attribute types, an input value in an input argument associated with the given input attribute type, and an input delimiter between the one or more input-command characters and the input argument, and wherein the one or more input-command characters, the input delimiter and the input value dynamically repurpose the predefined characteristic to convey any of the set of input attribute types, including an input attribute that is not known in advance; and instructions providing the output messages using the predefined characteristic to convey output information associated with a set of output attribute types having multiple output attribute types, wherein a given output message includes one or more output-command characters specifying a given output attribute type in the set of output attribute types, an output value in an output argument associated with the given output attribute type, and an output delimiter between the one or more output-command characters and the output argument, and wherein the one or more output-command characters, the output delimiter and the output value dynamically repurpose the predefined characteristic to convey any of the set of output attribute types.
10. A computer-program product for use in conjunction with an electronic device, the computer-program product comprising a non-transitory computer-readable storage medium and a computer-program mechanism embedded therein to communicate input messages and output messages with another electronic device using a Bluetooth Low Energy (BTLE) communication protocol, the computer-program mechanism including: instructions for receiving the input messages using a predefined characteristic having a numerical identifier to convey input information associated with a set of input attribute types including multiple input attribute types, wherein a given input message includes one or more input-command characters specifying a given input attribute type in the set of input attribute types, an input value in an input argument associated with the given input attribute type, and an input delimiter between the one or more input-command characters and the input argument, and wherein the one or more input-command characters, the input delimiter and the input value dynamically repurpose the predefined characteristic to convey any of the set of input attribute types, including an input attribute that is not known in advance; and instructions providing the output messages using the predefined characteristic to convey output information associated with a set of output attribute types having multiple output attribute types, wherein a given output message includes one or more output-command characters specifying a given output attribute type in the set of output attribute types, an output value in an output argument associated with the given output attribute type, and an output delimiter between the one or more output-command characters and the output argument, and wherein the one or more output-command characters, the output delimiter and the output value dynamically repurpose the predefined characteristic to convey any of the set of output attribute types. 16. The computer-program product of claim 10 , wherein the computer-program mechanism includes instructions for asynchronously providing, in response to receiving an input message with an information request, one or more output messages with the requested information.