Hi
I'm using this code ! And I'm not sure that it works well, so I've been trying to send a data from one divice to an other, but my problem is where can I find the received data ?
Can someone help me ?
Best regards
Hi
I'm using this code ! And I'm not sure that it works well, so I've been trying to send a data from one divice to an other, but my problem is where can I find the received data ?
Can someone help me ?
Best regards
You should be able to see it based on which LEDs are on (see the blog post). You could also enable logging & carry one or two PCs with you to see if messages are received or not. However, if you just want to make sure it works, I would read the blog post carefully & make sure that the correct LEDs are on.
You should be able to see it based on which LEDs are on (see the blog post). You could also enable logging & carry one or two PCs with you to see if messages are received or not. However, if you just want to make sure it works, I would read the blog post carefully & make sure that the correct LEDs are on.
All I want is that. But I don't know how, and on which variable, can I take this data.
Very sorry for the delayed response. I would recommend taking a look at the regular ATT MTU throughput example from sdk 15, in addition to the simplified ATT MTU example found on the blog post. The blog post example uses sdk v15.0.0, which is why I recommend taking a look at the example from nRF5 SDK v15.0.0. In addition, this documentation may prove helpful.
I believe that only dummy data is being sent by this example (att mtu throughput example from regular SDK). Take a look at the nrf_ble_amtc_t & nrf_ble_amtc_evt_t structs in amt.h (i.e. AMT stands for ATT MTU Throughput). There, you notice that only the number of received bytes are counted.
In addition, you can take a look at the amtc_evt_handler() & amts_evt_handler() functions in main.c().
In regards to the blog post, I guess you want to be in a connected state? Or are you referring to advertising packets when you say "data"?