你好对话框,
I am using the SPS serial to BLE application and it mostly works well - however, I noticed that when I am sending data at 250Hz (1 byte every 4 ms), I receive the data in packets of 7-8 bytes together as one number. Is it possible to change the code such that every time a single byte is received, it gets immediately relayed via BLE? Does this have something to do with the UART trying to fill up its buffer before being processed? Where can I change this?
Thanks,
svl0822
Hello svl0822, yes, this will most likely be due to the buffer . This is partly by design because the DSPS buffering has been optimised to get the highest throughput at lowest possible power . Right now we're pretty resource constrained so we're not going to be able to look at modifying this , but let me have a check around the team to see if anyone has done a modification to this . If i find something, i'll respond here. BR JE_Dialog
JE_DIalog,
Thanks.