Hi all, I am trying to send and receive generic data from the L2CAP layer. So, initially I am just trying to send data with sd_ble_l2cap_tx with S110. The code that I am using is attached. In it the timer handler is executed every second where the a L2CAP packet is to be transmitted, but not as the sniffer doesn't sniff any packets. The UART output through printf that I am getting is
Count:7 Count:7 Count:7 Count:7 Count:7 Count:7 Count:7 Count:7 Error of 3003 at 139 in src/main.c Error of 4 at 340 in src/SDK/app_timer.c Why is the count of the sd_ble_tx_buffer_count_get always 7, but on the 8th call of sd_ble_l2cap_tx, it complains that it has run out of buffers?
Also when two devices are communicating through the L2CAP layer, should one device have central soft device (S120) and the other peripheral (S110)?
Thanks a ton, Prithvi