Method and device for controlling peripheral devices via a social networking platform
First Claim
1. A method for transmitting data between a peripheral device and a user device via a Bluetooth Low Energy connection, comprising:
- at the peripheral device;
transmitting data to the user device in a simulated data stream, the transmitting comprising;
identifying a first Bluetooth characteristic for writing data, wherein the first Bluetooth characteristic has an “
indicate”
property enabled and the first Bluetooth characteristic has been exposed by the peripheral device to the user device in a current connection event;
determining a respective data size of the first Bluetooth characteristic; and
dividing a data packet that is to be transmitted to the user device into a sequence of data frames plus zero or one remainder in accordance with the respective data size of the identified first Bluetooth characteristic, including;
in accordance with a determination that the respective data size of the identified first Bluetooth characteristic is a first size, dividing the data packet into a first sequence of data frames each having the first size, plus zero or one first remainder; and
in accordance with a determination that the respective data size of the identified first Bluetooth characteristic is a second size different from the first size, dividing the data packet into a second sequence of data frames each having the second size, plus zero or one second reminder; and
for each of the sequence of data frames;
writing the data frame to a respective value for the identified first Bluetooth characteristic; and
pushing the identified first Bluetooth characteristic for reading by the user device.
0 Assignments
0 Petitions
Accused Products
Abstract
A method and device for transmitting data between a peripheral device and a user device via a Bluetooth Low Energy connection, comprising: at the peripheral device: transmitting data to the user device in a simulated data stream, the transmitting comprising: identifying a first Bluetooth characteristic for writing data, the first Bluetooth characteristic having been exposed by the peripheral device to the user device; dividing a data packet into a sequence of data frames plus zero or one remainder, each data frame having a respective size equal to a predetermined data size of the identified first Bluetooth characteristic; and for each of the sequence of data frames: writing the data frame to a respective value for the identified first Bluetooth characteristic; and pushing the identified first Bluetooth characteristic for reading by the user device.
21 Citations
20 Claims
-
1. A method for transmitting data between a peripheral device and a user device via a Bluetooth Low Energy connection, comprising:
-
at the peripheral device; transmitting data to the user device in a simulated data stream, the transmitting comprising; identifying a first Bluetooth characteristic for writing data, wherein the first Bluetooth characteristic has an “
indicate”
property enabled and the first Bluetooth characteristic has been exposed by the peripheral device to the user device in a current connection event;determining a respective data size of the first Bluetooth characteristic; and dividing a data packet that is to be transmitted to the user device into a sequence of data frames plus zero or one remainder in accordance with the respective data size of the identified first Bluetooth characteristic, including; in accordance with a determination that the respective data size of the identified first Bluetooth characteristic is a first size, dividing the data packet into a first sequence of data frames each having the first size, plus zero or one first remainder; and in accordance with a determination that the respective data size of the identified first Bluetooth characteristic is a second size different from the first size, dividing the data packet into a second sequence of data frames each having the second size, plus zero or one second reminder; and for each of the sequence of data frames; writing the data frame to a respective value for the identified first Bluetooth characteristic; and pushing the identified first Bluetooth characteristic for reading by the user device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A system for transmitting data between a peripheral device and a user device via a Bluetooth Low Energy connection, the system comprising:
-
one or more processors; and memory having instructions stored thereon, the instructions, when executed by the one or more processors, cause the processors to perform operations comprising; at the peripheral device; transmitting data to the user device in a simulated data stream, the transmitting comprising; identifying a first Bluetooth characteristic for writing data, wherein the first Bluetooth characteristic has an “
indicate”
property enabled and the first Bluetooth characteristic has been exposed by the peripheral device to the user device in a current connection event;determining a respective data size of the first Bluetooth characteristic; and dividing a data packet that is to be transmitted to the user device into a sequence of data frames plus zero or one remainder in accordance with the respective data size of the identified first Bluetooth characteristic including; in accordance with a determination that the respective data size of the identified first Bluetooth characteristic is a first size, dividing the data packet into a first sequence of data frames each having the first size, plus zero or one first remainder; and in accordance with a determination that the respective data size of the identified first Bluetooth characteristic is a second size different from the first size, dividing the data packet into a second sequence of data frames each having the second size, plus zero or one second reminder; and for each of the sequence of data frames; writing the data frame to a respective value for the identified first Bluetooth characteristic; and pushing the identified first Bluetooth characteristic for reading by the user device. - View Dependent Claims (15, 16, 17)
-
-
18. A non-transitory computer-readable medium having instructions stored thereon, the instructions, when executed by the one or more processors, cause the processors to perform operations comprising:
-
at a peripheral device that is configured to communicate with a user device via a Bluetooth Low Energy connection; transmitting data to the user device in a simulated data stream, the transmitting comprising; identifying a first Bluetooth characteristic for writing data, wherein the first Bluetooth characteristic has an “
indication”
property enabled and the first Bluetooth characteristic has been exposed by the peripheral device to the user device in a current connection event;determining a respective size of the first Bluetooth characteristic; and dividing a data packet that is to be transmitted to the user device into a sequence of data frames plus zero or one remainder in accordance with the respective data size of the identified first Bluetooth characteristic including; in accordance with a determination that the respective data size of the identified first Bluetooth characteristic is a first size, dividing the data packet into a first sequence of data frames each having the first size, plus zero or one first remainder; and in accordance with a determination that the respective data size of the identified first Bluetooth characteristic is a second size different from the first size, dividing the data packet into a second sequence of data frames each having the second size, plus zero or one second reminder; and for each of the sequence of data frames; writing the data frame to a respective value for the identified first Bluetooth characteristic; and pushing the identified first Bluetooth characteristic for reading by the user device. - View Dependent Claims (19, 20)
-
Specification