Hello Everyone,
I am an electrical engineer of KOJ electronic CO. LTD. in China. Recently we developed a 2.4GHz Bluetooth control system by CC2540+RFX2401 chips.
My program workmate has an question about the CC2540 development. Here it is: “When I try to send data package (only one byte) from Central Device (iPhone, Android and some cell phone) to Peripheral Device (CC2540DK) continually and rapidly(2-3 packages per second), the connection will disconnect automatically. I notice that I can use Without Response mode.
The key code in Peripheral is as follow:
static uint8 simpleProfileChar1Props = GATT_PROP_READ | GATT_PROP_WRITE_NO_RSP;
The key code in iOS is as follow:
[peripheral writeValue: data forCharacteristic: xxxChar1 type CBCharacteristicWriteWithoutResponse];
But it seems not work. Would you please tell me how to solve this difficult problem?”
Would you please do us a favor to give us some professional suggestions and advances to solute the questions in our system? I am looking forward to your answer. Thank you very much! Best wishes!
Sincerely yours,
Ken