This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF51822 UART interfacing and HID over GATT

Dear Nordic Team,

I am currently working on a project to develop firmware for S110 nRF51822 softdevice with the following requirements.

  • Read ASCII chars from a third party hardware over UART
  • Send these chars using HID over GATT from nRF51822 to IPAD or other Bluetooth devices.

I am new to nRF51 SDK and I am struggling with following questions.

  1. how do I receive chars from UART

  2. how do I sent these chars from UART to HID over GATT.

I have seen the following examples but not sure which one to use.

  1. UART/Serial Port Emulation over BLE

or

  1. HID Keyboard Application

are there any other examples available.

Please guide me in understating how to solve this.

Kind regards,

Ven

Parents
  • @ven: If you want to send data when in connection you should have GATT. If you plan to send data just by broadcasting ( advertising) you don't need GATT. You don't need HID Keyboard unless you want to use it as a keyboard to control your mobile device.

  • @Ven: Please don't convert all my comment to answer. Secondly, when you have follow up question, please create another one.

    Windows 7 doesn't support BLE natively. So you might need to use API provided by third party to make it work as a keyboard. I'm not sure why your iPhone4s didn't work. Could you use an app, for example LightBlue on iOS to scan for the device ?

Reply
  • @Ven: Please don't convert all my comment to answer. Secondly, when you have follow up question, please create another one.

    Windows 7 doesn't support BLE natively. So you might need to use API provided by third party to make it work as a keyboard. I'm not sure why your iPhone4s didn't work. Could you use an app, for example LightBlue on iOS to scan for the device ?

Children
No Data
Related