Hello All,
I made 2 custom boards, both mount a n52840 QIAAC0 chip.
I was able to program them using the "ble_app_uart peripheral" and "ble_app_uart_c" codes that I found in: "nRF5_SDK_15.1.0_a8c0c4d".
I can exchange packets between the 2 boards but I need to do it faster. I had thought about using the boards with the BT 5.0 but I was not able to change the code and use the PHY_2M.
-What should I change to use the PHY_2M, or is there any other nRF5_SDK_1....etc where the BT 5.0 is already implemented?
Another problem that I thought could slow down the communication is the "echo" of ble_app_uart_ peripheral ", that is, when I pass a 'packet' on the peripheral UART and I want to send it via bluetooth to the "central", this message is also rewritten on the UART of the device making me take an interrupt that I do not like to have.
-What should I change to avoid this problem?
What I wanna do is send a packet of 75 bytes. As I have tried, through 2 EVBoards nrf52840, almost all the examples that are on the Nordic site, from the ATT_MTU Throughput Example I understood (I hope good) that I'm able to achieve the max speed when I full the whole buffer, so I've changed this parameters in the code:
BLE_GATT_ATT_MTU_DEFAULT= 78 //was 23 but I did --> 75 (my payload)+3
But if it is right is not enough.
Anyone could help me?
Thanks in advance