-
After initialization.Set the libuarte rx buffer to 244 when connected to Android and 185 when connected to ios. Can it be done?
- nRF5_SDK_17.1.0 nrf52832 libuarte+nus.
After initialization.Set the libuarte rx buffer to 244 when connected to Android and 185 when connected to ios. Can it be done?
Hi
The peripheral application won't have a clue if it connects to an Android device or an iOS device, but I guess you can change the buffer after a connection is made to whatever the MTU size is set to in the connection to get the same buffer size as what the central device supports. However, it should also be fine to just set the RX buffer to 244 during init, and then leave it like that when connecting to iOS devices as well.
Best regards,
Simon
Can I change the tx buffer after initialization
Can I change the tx buffer after initialization