发明名称 |
METHOD AND DEVICE FOR CONTROLLING PERIPHERAL DEVICES VIA A SOCIAL NETWORKING PLATFORM |
摘要 |
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. |
申请公布号 |
US2015264731(A1) |
申请公布日期 |
2015.09.17 |
申请号 |
US201414504315 |
申请日期 |
2014.10.01 |
申请人 |
Tencent Technology (Shenzhen) Company Limited |
发明人 |
LIN Xiangyao;Fan Liangliang;Liu Jinhai;Liu Chenglin;Hua Yaobo;Cheng Shihai;Liu Kai;Ye Rungui;Zhou Zhijie;Liu Can;Pan Nongfei;Shu Zhan;Sun Danqing;Ren Anqi |
分类号 |
H04W76/02;H04L29/08;H04W4/00 |
主分类号 |
H04W76/02 |
代理机构 |
|
代理人 |
|
主权项 |
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, the first Bluetooth characteristic having been exposed by the peripheral device to the user device in a current connection event;dividing a data packet that is to be transmitted to the user device 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 the remainder having a respective size smaller than the predetermined data size of the identified first Bluetooth characteristic; andfor each of the sequence of data frames:
writing the data frame to a respective value for the identified first Bluetooth characteristic; andpushing the identified first Bluetooth characteristic for reading by the user device. |
地址 |
Shenzhen CN |