This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

L2CAP Examples

Hello,

Is there anyone who has any example code for using L2CAP transfers instead of services? Something where the use of sd_ble_l2cap_tx() and the rx callback are used?

Alternatively, is there a way to send large data structures using the BLE? I want to send a packet containing a large amount of values (some are arrays). I'm not quite sure that attributes are the best way to go about this.

Perhaps RPC would be a good approach?

I'm using the PCA10001 demo board with the NRF51822 uC.

Related