Hello,there is a way that can automatically confirm receipt of the packet from the server,without to call evrey time sd_ble_gattc_hv_confirm() after each received indication from server?
Hello,there is a way that can automatically confirm receipt of the packet from the server,without to call evrey time sd_ble_gattc_hv_confirm() after each received indication from server?
Yes,I want to use indication for to be sure that the packets were received successfully by client.I don't want to lose packets.
You don't lose packets any more packets by using notifications, all packets are acknowledged in the link layer. The difference is that with an indication the application on the client side must also confirm.
Thanks a lot for help! I test this,and if I have a good rssi (power of signal from beacon )is ok,using notification ,all packets are send with succes,but If I have a bad rssi(bed power of signal from beacon and if this oscillates) I lose some packets.So I decided to use indication.With this,in any condition ,the packets are send with success.Maybe I missed something at implementation with notification if I lose packets ?Maybe I transmit the packets quickly and because of this we can lose if I have a bad signal?
It could be something with the implementation. Maybe you could edit your answer and include some code where you implement it? Could you also include a sniffer trace if possible?