Blackberry(BB) device running Blackberry 10. Trying to read the data sent by the USB accessory using AOA protocol. /dev/aap0 created, which is a character file containing data sent by the USB accessory. While reading from this file, some data seems to be lost. For example, data from 1,2..10 is sent then 5,7,9 is lost while being read.
Debugging has not thrown light on why this data loss is happening. Could someone please let me know why this data loss is occurring and what can I do to avoid it ?