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

How to make 'without response' in nus rx characteristic?

Hi,

In my application, I am using nus service with S110 V7.1.0 (nRF51822). I faced to one problem that the rx channel is set up to notify characteristic. In iOS (8.3), it is often blocked when it sends out data to the nus channel to the device.

The tx channel in the device has no problem and very smooth even the data rate is boosted to very high. However, in the rx channel, it cannot receive the data sometime and the whole communication is blocked up. The Bluetooth stack returns timeout error when iOS apps wants to send out data to the device via the nus rx channel (device).

In the tx channel,it is set to write without response but in rx channel, it is set to notify.

Question : can the rx channel be set up to be without response so that it is much more smooth?

Parents
  • @Manuel: Are you sure you used our nus service without notification ? In our implementation the server is on the nRF51. So when the iOS device wants to send data from the phone to the nRF51 it will do a write command (write without response) on the tx characteristic. When the device want to send data to the iOS device, it will do a notification.

    Note that you can only do write without response from the client to the server. So if you want to do write without response from the nRF51 to the phone, you would need to implement the server on the phone.

Reply
  • @Manuel: Are you sure you used our nus service without notification ? In our implementation the server is on the nRF51. So when the iOS device wants to send data from the phone to the nRF51 it will do a write command (write without response) on the tx characteristic. When the device want to send data to the iOS device, it will do a notification.

    Note that you can only do write without response from the client to the server. So if you want to do write without response from the nRF51 to the phone, you would need to implement the server on the phone.

Children
No Data
Related