This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

No response received for ReadRequest on handle

I'm attempting to write my own Service based on an example; there are two simple Characteristics in the design. During the discovery process, however, I'm getting the following:

...
[16:16:23.6] Received Read Response, handle: 0x0007, value (0x): 90-01-20-03-00-00-90-01
[16:16:23.6] Received Read Response, handle: 0x0008, value (0x): 01-18
[16:16:23.7] Received Read Response, handle: 0x0009, value (0x): 20-0A-00-05-2A
[16:16:23.7] Received Error Response: READ_NOT_PERMITTED, handle: 0x000A
[16:16:30.7] Lost connection to device. Reason: BTLE_CONNECTION_TIMEOUT
[16:16:30.7] SERVER: Received packet <HciEvent: eventCode=0x0A> - <HciEvent: eventCode=0x0A>
[16:16:30.7] SERVER: Received Link Loss
[16:16:34.2] No response received for ReadRequest on handle 0x000B. Disconnecting..
[16:16:39.8] Service discovery aborted, connection terminated.

Any suggestion for where to look for a solution?

Thanks!

Parents
  • This seems to indicate that the application is actually hanging somewhere. As you can see, the link was terminated. I'd recommend you to make sure that the error handler on top of main does not do a reset, and instead use the debugger to inspect the file name, line number and error code that you most likely get here.

Reply
  • This seems to indicate that the application is actually hanging somewhere. As you can see, the link was terminated. I'd recommend you to make sure that the error handler on top of main does not do a reset, and instead use the debugger to inspect the file name, line number and error code that you most likely get here.

Children
No Data