Giter Site home page Giter Site logo

Comments (5)

timotto avatar timotto commented on July 30, 2024

I am successfully using the RedBearLabs nRF51822 with Android but I am also having trouble when the Sketch uses the BondStore which HID Peripherals always do. The Android (Nexus 5X, Android 6) starts the pairing but times out after some time. This is the output of the NRF_51822_DEBUG enabled HID_keyboard Sketch:

version = 8 89 103
Start advertisement
BLE HID Keyboard
Evt Connected 74:bd:ee:d0:0d:e3
Connected to central: 74:bd:ee:d0:0d:e3
Evt Sec Params Request 1 1 4 0 0 16
Evt Conn Param Update 0x6 0x6 0x0 0x7D0
(~30 seconds pause)
Evt Conn Param Update 0x1E 0x1E 0x0 0x7D0
(a few seconds)
Evt Disconnected
Start advertisement
Disconnected from central: 74:bd:ee:d0:0d:e3

Also I can run the Sketch only once, the call 'bleHIDPeripheral.clearBondStoreData();' seems to erase some application code instead of the BondStore data. If I remove it I can run the Sketch again but pairing is rejected right away.

I flashed mk20 & bootloader hex files of the S130 branch of RedBearLab/nRF51822-Arduino@b24f375 My Arduino IDE is 1.6.9 with the 1.0.5 version of the RedBearLab nRF51822 Boards package.

from arduino-bleperipheral.

sandeepmistry avatar sandeepmistry commented on July 30, 2024

@wojciiii

I have a BLE nano board (http://redbearlab.com/blenano/, rev. 1.5). I tried running the same HID keyboard example on it as on an Arduino Uno with a BLE shield. I'm not able to connect to the Nano device.

Do the other non-HID examples work?

Is there any kind of setup that I need to do for this device? Set any of the BLE_REQ/BLE_RDY/BLE_RST - I got the impression that I don't have to set those when using this board.

Correct, those are not used.

from arduino-bleperipheral.

sandeepmistry avatar sandeepmistry commented on July 30, 2024

@timotto please open a new issue.

from arduino-bleperipheral.

sandeepmistry avatar sandeepmistry commented on July 30, 2024

Closing due to lack of activity, please re-open if needed with the request info from #50 (comment).

from arduino-bleperipheral.

cheena19 avatar cheena19 commented on July 30, 2024

sir the eddystone i made in the same way is detected sometimes and in some apps and sometimes not detected . what can be the reason and how can i fix this issue?

from arduino-bleperipheral.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.