8000 Fix bug "reporting pin's status is too fast for andriod, would lost s… · RedBearLab/nRF51822-Arduino@5a6d2d4 · GitHub
[go: up one dir, main page]

< 10000 div data-turbo-body class="logged-out env-production page-responsive" style="word-wrap: break-word;">
Skip to content

Commit 5a6d2d4

Browse files
author
jixing.zou
committed
Fix bug "reporting pin's status is too fast for andriod, would lost some information "
1 parent acff281 commit 5a6d2d4

File tree

1 file changed

+1
-1
lines changed
  • arduino-1.6.x/hardware/RBL/RBL_nRF51822/libraries/BLE_Examples/examples/BLEController

1 file changed

+1
-1
lines changed

arduino-1.6.x/hardware/RBL/RBL_nRF51822/libraries/BLE_Examples/examples/BLEController/BLEController.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ void writtenHandle(const GattWriteCallbackParams *Handler) {
330330
case 'A':// query all pin status
331331
{
332332
reback_pin = 2;
333-
ticker2.attach_us(m_status_reback_handle, 30000);
333+
ticker2.attach_us(m_status_reback_handle, 100000);
334334
break;
335335
}
336336
case 'P':// query pin capability

0 commit comments

Comments
 (0)
0