Hello,
I am trying to print Throughput using "ble_app_att_mtu_throughput" example application.
I have configured PHY at 1M (i understand it is 1 Mega samples per second more or less it is equal to 1 Mega Bits). but the throughput printing on console is 1.8 Mega Bits per second.
Am i missing anything here.. As per my understanding PHY may transfer 1 Mega Bits per second. But on air the data rate will be less than that due to various reasons.
As per the logs, Data rate is 236.02 Kbps.
Can you confirm the this is Kilo Bytes or Kilo Bits..?
Logs from Console:
throughput example:~$ config conn_interval 7.5
Connection interval set to 6 units.
throughput example:~$ run
[00:06:49.206,665] <info> app: Preparing the test.
[00:06:49.206,726] <info> app: Starting advertising.
[00:06:50.556,457] <info> app: Connected as a peripheral.
[00:06:50.556,457] <info> app: Discovering GATT database...
[00:06:50.556,640] <info> app: Sending PHY Update, 2 Mbps.
[00:06:50.572,631] <info> app: ATT MTU exchange completed. MTU set to 247 bytes.
[00:06:50.572,937] <info> app: Data length updated to 27 bytes.
[00:06:50.580,444] <info> app: PHY update accepted. PHY set to 1 Mbps.
[00:06:50.654,602] <info> app: AMT service discovered at peer.
[00:06:50.662,170] <info> app: Notifications enabled.
[00:06:50.668,029] <info> app: Test started
[00:06:50.678,344] <info> app: Sent 1 KBytes
[00:06:50.710,510] <info> app: Sent 2 KBytes
[00:06:50.744,628] <info> app: Sent 3 KBytes
[00:06:50.777,343] <info> app: Sent 4 KBytes
[00:06:50.811,035] <info> app: Sent 5 KBytes
[00:07:26.216,186] <info> app: Sent 1023 KBytes
[00:07:26.250,305] <info> app: Sent 1024 KBytes
[00:07:26.258,422] <info> app: Done.
[00:07:26.258,422] <info> app: =============================
[00:07:26.258,422] <info> app: Time: 35.541 seconds elapsed.
[00:07:26.258,422] <info> app: Throughput: 236.05 Kbps.
[00:07:26.258,422] <info> app: =============================
[00:07:26.258,422] <info> app: Sent 1048712 bytes of ATT payload.
[00:07:26.258,422] <info> app: Retrieving amount of bytes received from peer...
[00:07:26.286,682] <info> app: Peer received 1048712 bytes of ATT payload.
[00:07:26.286,682] <info> app: Disconnecting..
Best Regards
Babu A