Hello guys, I'm working on an app which I have to get data from some FSR sensor and an IMU, package on a buffer and trasmit it via BLE to a server.
I'm using the service that SPPLE bluetopia provides, so I'm trying to cofigure the SPPLEDemo to transmit data constantly from one STM32Discovery to the other, after all the connection is established, one board works as slave and the other as master.
Slave:
Registerspple --> Advertisle 1
Master:
Connectle [Slave ADDR] --> Discoverspple [Slave ADDR] --> Configurespple [Slave ADDR]
The MTU=131.
I just can send 131 bytes, with the lesend [BD_ADDR] [Bytes to send], If I want to send more data it won't let me, Cannot send data, no transmit credits.
And always if I send just 131 bytes or more the received packets are this:
SPP+LE>
Data Indication Event, Connection ID 1, Received 128 bytes.
SPP+LE>
Data Indication Event, Connection ID 1, Received 3 bytes.
So I don't know if I'm using the exact function with my purpose or if I can continously refresh the transmit credits to be able to constantly send data.
Please help me.
Thank you and best regards