Connection parameters in nrf ble

want to know how can i judge that the variation is caused in the connection interval, connection supervision timeout, slave latency once i have flashed ble_app_template code in nrf52832 s132.

Parents
  • Hello,

    The best way to see exactly how your connection parameter configuration affects the connection would be to use the nRF Sniffer tool to see exactly what is happening on-air.
    Alternatively, if you just would like to play around with different connection parameters to see how each of them affects your connection you could take a look at the experimental ATT MTU throughput example from the SDK.
     
    If you would like to visualize different connection parameter configurations you could take a look at the Online Power Profiler, which will let you see the effects of each configuration on the packet exchanges (as well as estimated power consumption).

    Best regards,
    Karl

  • Karl i am finding a difficulty in normal understanding the connection interval thing. Actually, by definition of CI i found it is the time btw two consecutive events for which the radio is turned ON. how can i judge this in nrf connect app?

  • 17:26:10.658 -> <info> app: BeforeFivesec
    
    17:26:10.658 -> <info> app_timer: RTC: initialized.
    
    17:26:10.658 -> <info> app: hello ble
    
    17:26:10.658 -> <info> app: Before enter into sleep mode
    
    17:26:10.705 -> <info> app: After enter into sleep mode
    
    17:26:10.705 -> <info> app: Alarm status : 0
    
    17:26:10.705 -> <info> app: Upper threshold : 30
    
    17:26:10.705 -> <info> app: Lower threshold : 20
    
    17:26:10.705 -> <info> app: Type C : 1
    
    17:26:10.705 -> <info> app: Starting delay in sec. : 0
    
    17:26:10.705 -> <info> app: Interval delay in sec.: 10
    
    17:26:10.705 -> <info> app: Data EF4015
    
    17:26:10.705 -> <info> app: Data3 15
    
    17:26:10.705 -> <info> app: Data2 40
    
    17:26:10.705 -> <info> app: Data1 EF
    
    17:26:10.705 -> <info> app: Data0 0
    
    17:26:10.705 -> <info> app: temporarylogcounter4 10 temporarylogcounter3 0 temporarylogcounter2  0 temporarylogcounter1 0
    
    17:26:10.705 -> <info> app: log counter value : 16 
    
    17:26:10.705 -> <info> app: Newpasskey12:123456
    
    17:26:10.752 -> <info> app: Fast advertising
    
    17:26:10.752 -> <info> app: start advertising
    
    17:26:10.752 -> <info> app: Application started in Advertising Mode.
    
    17:26:10.752 -> <info> app: Current Time service client started.
    
    17:26:16.257 -> <info> app: Device Connected
    
    17:26:16.257 -> <info> app: Connected.
    
    17:26:16.914 -> <info> ble_cts_c: Current Time Service discovered at peer.
    
    17:26:16.914 -> <info> app: Current Time Service discovered on server.
    
    17:26:17.009 -> <info> app: Current Time received.
    
    17:26:17.009 -> <info> app: 11/16/21-17:26:24
    
    17:26:30.180 -> <info> app: passkeynew:123456
    
    17:26:30.180 -> <info> app: passkeynew1:123456
    
    17:26:30.180 -> <info> app: comaprision successful
    
    17:27:05.129 -> <info> app: BeforeFivesec
    
    17:27:05.129 -> <info> app: Data logging Mode.
    
    17:27:05.176 -> <info> app: Bluetooth deactivated.
    
    17:27:05.176 -> <info> app: Fast advertising
    
    17:27:05.176 -> <info> app: Device Disconnected
    
    17:27:05.176 -> <info> app: Disconnect Complete.
    
    17:27:05.176 -> <info> app: Disconnected.
    
    17:27:05.176 -> <info> app: defaualtpasskey ******
    
    17:27:05.176 -> <info> app: Memory Initialization done.
    
    17:27:05.176 -> <info> app: Temp Logging started hi.
    
    17:27:05.176 -> <info> app: Timer started hi.
    
    17:27:05.176 -> <info> app: Initial timer finished!
    
    17:27:05.176 -> <info> app: data_to_send 25.88-11/16/21-17:27:05
    
    17:27:05.176 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 0 23
    
    17:27:05.176 -> <info> app: reading 1 done
    
    17:27:05.176 -> <info> app: temporarylogcounter0 1 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:27:15.809 -> <info> app: data_to_send 25.88-11/16/21-17:27:16
    
    17:27:15.809 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 23 23
    
    17:27:15.809 -> <info> app: reading 2 done
    
    17:27:15.809 -> <info> app: temporarylogcounter0 2 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:27:25.810 -> <info> app: data_to_send 25.88-11/16/21-17:27:26
    
    17:27:25.810 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 46 23
    
    17:27:25.810 -> <info> app: reading 3 done
    
    17:27:25.810 -> <info> app: temporarylogcounter0 3 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:27:35.800 -> <info> app: data_to_send 25.88-11/16/21-17:27:36
    
    17:27:35.800 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 69 23
    
    17:27:35.800 -> <info> app: reading 4 done
    
    17:27:35.800 -> <info> app: temporarylogcounter0 4 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:27:45.787 -> <info> app: data_to_send 25.88-11/16/21-17:27:46
    
    17:27:45.787 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 92 23
    
    17:27:45.834 -> <info> app: reading 5 done
    
    17:27:45.834 -> <info> app: temporarylogcounter0 5 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:27:55.823 -> <info> app: data_to_send 25.88-11/16/21-17:27:56
    
    17:27:55.823 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 115 23
    
    17:27:55.823 -> <info> app: reading 6 done
    
    17:27:55.823 -> <info> app: temporarylogcounter0 6 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:28:05.811 -> <info> app: data_to_send 25.75-11/16/21-17:28:06
    
    17:28:05.811 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 138 23
    
    17:28:05.811 -> <info> app: reading 7 done
    
    17:28:05.811 -> <info> app: temporarylogcounter0 7 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:28:15.801 -> <info> app: data_to_send 25.88-11/16/21-17:28:16
    
    17:28:15.801 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 161 23
    
    17:28:15.801 -> <info> app: reading 8 done
    
    17:28:15.801 -> <info> app: temporarylogcounter0 8 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:28:25.789 -> <info> app: data_to_send 25.88-11/16/21-17:28:26
    
    17:28:25.789 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 184 23
    
    17:28:25.789 -> <info> app: reading 9 done
    
    17:28:25.789 -> <info> app: temporarylogcounter0 9 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:28:35.807 -> <info> app: data_to_send 25.88-11/16/21-17:28:36
    
    17:28:35.807 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 207 23
    
    17:28:35.807 -> <info> app: reading 10 done
    
    17:28:35.807 -> <info> app: temporarylogcounter0 A temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:28:45.788 -> <info> app: data_to_send 25.75-11/16/21-17:28:46
    
    17:28:45.788 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 230 23
    
    17:28:45.835 -> <info> app: reading 11 done
    
    17:28:45.835 -> <info> app: temporarylogcounter0 B temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:28:55.799 -> <info> app: data_to_send 25.75-11/16/21-17:28:56
    
    17:28:55.799 -> <info> app: reading 12 done
    
    17:28:55.799 -> <info> app: temporarylogcounter0 C temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:29:05.819 -> <info> app: data_to_send 25.63-11/16/21-17:29:06
    
    17:29:05.819 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 20 23
    
    17:29:05.819 -> <info> app: reading 13 done
    
    17:29:05.819 -> <info> app: temporarylogcounter0 D temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:29:15.791 -> <info> app: data_to_send 25.63-11/16/21-17:29:16
    
    17:29:15.791 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 43 23
    
    17:29:15.791 -> <info> app: reading 14 done
    
    17:29:15.791 -> <info> app: temporarylogcounter0 E temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:29:25.826 -> <info> app: data_to_send 25.63-11/16/21-17:29:26
    
    17:29:25.826 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 66 23
    
    17:29:25.826 -> <info> app: reading 15 done
    
    17:29:25.826 -> <info> app: temporarylogcounter0 F temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:29:35.783 -> <info> app: data_to_send 25.63-11/16/21-17:29:36
    
    17:29:35.830 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 89 23
    
    17:29:35.830 -> <info> app: reading 16 done
    
    17:29:35.830 -> <info> app: temporarylogcounter0 10 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:29:45.819 -> <info> app: data_to_send 25.63-11/16/21-17:29:46
    
    17:29:45.819 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 112 23
    
    17:29:45.819 -> <info> app: reading 17 done
    
    17:29:45.819 -> <info> app: temporarylogcounter0 11 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:29:55.804 -> <info> app: data_to_send 25.63-11/16/21-17:29:56
    
    17:29:55.804 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 135 23
    
    17:29:55.804 -> <info> app: reading 18 done
    
    17:29:55.804 -> <info> app: temporarylogcounter0 12 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:30:05.819 -> <info> app: data_to_send 25.63-11/16/21-17:30:06
    
    17:30:05.819 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 158 23
    
    17:30:05.819 -> <info> app: reading 19 done
    
    17:30:05.819 -> <info> app: temporarylogcounter0 13 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:30:15.813 -> <info> app: data_to_send 25.50-11/16/21-17:30:16
    
    17:30:15.813 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 181 23
    
    17:30:15.813 -> <info> app: reading 20 done
    
    17:30:15.813 -> <info> app: temporarylogcounter0 14 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:30:25.820 -> <info> app: data_to_send 25.50-11/16/21-17:30:26
    
    17:30:25.820 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 204 23
    
    17:30:25.820 -> <info> app: reading 21 done
    
    17:30:25.820 -> <info> app: temporarylogcounter0 15 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:30:35.790 -> <info> app: data_to_send 25.50-11/16/21-17:30:36
    
    17:30:35.790 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 227 23
    
    17:30:35.790 -> <info> app: reading 22 done
    
    17:30:35.790 -> <info> app: temporarylogcounter0 16 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:30:45.824 -> <info> app: data_to_send 25.50-11/16/21-17:30:46
    
    17:30:45.824 -> <info> app: reading 23 done
    
    17:30:45.824 -> <info> app: temporarylogcounter0 17 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:30:55.814 -> <info> app: data_to_send 25.63-11/16/21-17:30:56
    
    17:30:55.814 -> <info> app: temp_write_page temp_write_offset bytes_to_write 2 17 23
    
    17:30:55.814 -> <info> app: reading 24 done
    
    17:30:55.814 -> <info> app: temporarylogcounter0 18 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:31:05.816 -> <info> app: data_to_send 25.50-11/16/21-17:31:06
    
    17:31:05.816 -> <info> app: temp_write_page temp_write_offset bytes_to_write 2 40 23
    
    17:31:05.816 -> <info> app: reading 25 done
    
    17:31:05.816 -> <info> app: temporarylogcounter0 19 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:31:21.150 -> <info> app: data_to_send 26.00-11/16/21-17:31:22
    
    17:31:21.150 -> <info> app: temp_write_page temp_write_offset bytes_to_write 2 63 23
    
    17:31:21.199 -> <info> app: reading 26 done
    
    17:31:21.199 -> <info> app: temporarylogcounter0 1A temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:31:25.793 -> <info> app: data_to_send 25.75-11/16/21-17:31:26
    
    17:31:25.793 -> <info> app: temp_write_page temp_write_offset bytes_to_write 2 86 23
    
    17:31:25.793 -> <info> app: reading 27 done
    
    17:31:25.793 -> <info> app: temporarylogcounter0 1B temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    17:31:35.814 -> <info> app: data_to_send 25.75-11/16/21-17:31:36
    
    17:31:35.814 -> <info> app: temp_write_page temp_write_offset bytes_to_write 2 109 23
    
    17:31:35.814 -> <info> app: reading 28 done
    
    17:31:35.814 -> <info> app: temporarylogcounter0 1C temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    

    Case of multiple logs with CI: 7.5-100ms

    Case of getting only 16  logs with CI: 1000-1000ms: after 16 logs not able to get log

    12:47:30.329 -> <info> app: BeforeFivesec
    
    12:47:30.329 -> <info> app_timer: RTC: initialized.
    
    12:47:30.329 -> <info> app: hello ble
    
    12:47:30.329 -> <info> app: Before enter into sleep mode
    
    12:47:30.329 -> <info> app: After enter into sleep mode
    
    12:47:30.329 -> <info> app: Alarm status : 0
    
    12:47:30.329 -> <info> app: Upper threshold : 30
    
    12:47:30.329 -> <info> app: Lower threshold : 20
    
    12:47:30.329 -> <info> app: Type C : 1
    
    12:47:30.329 -> <info> app: Starting delay in sec. : 0
    
    12:47:30.329 -> <info> app: Interval delay in sec.: 10
    
    12:47:30.329 -> <info> app: Data EF4015
    
    12:47:30.329 -> <info> app: Data3 15
    
    12:47:30.329 -> <info> app: Data2 40
    
    12:47:30.376 -> <info> app: Data1 EF
    
    12:47:30.376 -> <info> app: Data0 0
    
    12:47:30.376 -> <info> app: temporarylogcounter4 3 temporarylogcounter3 0 temporarylogcounter2  0 temporarylogcounter1 0
    
    12:47:30.376 -> <info> app: log counter value : 3 
    
    12:47:30.376 -> <info> app: Newpasskey12:123456
    
    12:47:30.376 -> <info> app: Fast advertising
    
    12:47:30.376 -> <info> app: start advertising
    
    12:47:30.376 -> <info> app: Application started in Advertising Mode.
    
    12:47:30.376 -> <info> app: Current Time service client started.
    
    12:48:10.486 -> <info> app: Device Connected
    
    12:48:10.486 -> <info> app: Connected.
    
    12:48:11.282 -> <info> ble_cts_c: Current Time Service discovered at peer.
    
    12:48:11.282 -> <info> app: Current Time Service discovered on server.
    
    12:48:11.282 -> <info> app: Current Time received.
    
    12:48:11.282 -> <info> app: 11/16/21-12:48:53
    
    12:48:36.287 -> <info> app: passkeynew:123456
    
    12:48:36.287 -> <info> app: passkeynew1:123456
    
    12:48:36.287 -> <info> app: comaprision successful
    
    12:49:11.552 -> <info> app: BeforeFivesec
    
    12:49:11.552 -> <info> app: Data logging Mode.
    
    12:49:11.552 -> <info> app: Bluetooth deactivated.
    
    12:49:11.552 -> <info> app: Memory Initialization done.
    
    12:49:11.552 -> <info> app: Fast advertising
    
    12:49:11.552 -> <info> app: Device Disconnected
    
    12:49:11.552 -> <info> app: Disconnect Complete.
    
    12:49:11.552 -> <info> app: Disconnected.
    
    12:49:11.552 -> <info> app: defaualtpasskey ******
    
    12:49:11.552 -> <info> app: Temp Logging started hi.
    
    12:49:11.552 -> <info> app: Timer started hi.
    
    12:49:11.552 -> <info> app: Initial timer finished!
    
    12:49:11.598 -> <info> app: data_to_send 25.75-11/16/21-12:49:12
    
    12:49:11.598 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 0 23
    
    12:49:11.598 -> <info> app: reading 1 done
    
    12:49:11.598 -> <info> app: temporarylogcounter0 1 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    12:49:22.178 -> <info> app: data_to_send 25.63-11/16/21-12:49:22
    
    12:49:22.178 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 23 23
    
    12:49:22.225 -> <info> app: reading 2 done
    
    12:49:22.225 -> <info> app: temporarylogcounter0 2 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    12:49:32.181 -> <info> app: data_to_send 25.63-11/16/21-12:49:32
    
    12:49:32.181 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 46 23
    
    12:49:32.228 -> <info> app: reading 3 done
    
    12:49:32.228 -> <info> app: temporarylogcounter0 3 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    12:49:42.218 -> <info> app: data_to_send 25.63-11/16/21-12:49:42
    
    12:49:42.218 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 69 23
    
    12:49:42.218 -> <info> app: reading 4 done
    
    12:49:42.218 -> <info> app: temporarylogcounter0 4 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    12:49:52.210 -> <info> app: data_to_send 25.50-11/16/21-12:49:52
    
    12:49:52.210 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 92 23
    
    12:49:52.210 -> <info> app: reading 5 done
    
    12:49:52.210 -> <info> app: temporarylogcounter0 5 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    12:50:02.208 -> <info> app: data_to_send 25.63-11/16/21-12:50:02
    
    12:50:02.208 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 115 23
    
    12:50:02.208 -> <info> app: reading 6 done
    
    12:50:02.208 -> <info> app: temporarylogcounter0 6 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    12:50:12.213 -> <info> app: data_to_send 25.50-11/16/21-12:50:12
    
    12:50:12.213 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 138 23
    
    12:50:12.213 -> <info> app: reading 7 done
    
    12:50:12.213 -> <info> app: temporarylogcounter0 7 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    12:50:22.203 -> <info> app: data_to_send 25.50-11/16/21-12:50:22
    
    12:50:22.203 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 161 23
    
    12:50:22.203 -> <info> app: reading 8 done
    
    12:50:22.203 -> <info> app: temporarylogcounter0 8 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    12:50:32.197 -> <info> app: data_to_send 25.63-11/16/21-12:50:32
    
    12:50:32.197 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 184 23
    
    12:50:32.197 -> <info> app: reading 9 done
    
    12:50:32.197 -> <info> app: temporarylogcounter0 9 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    12:50:42.199 -> <info> app: data_to_send 25.63-11/16/21-12:50:42
    
    12:50:42.199 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 207 23
    
    12:50:42.199 -> <info> app: reading 10 done
    
    12:50:42.199 -> <info> app: temporarylogcounter0 A temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    12:50:52.188 -> <info> app: data_to_send 25.50-11/16/21-12:50:52
    
    12:50:52.188 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 230 23
    
    12:50:52.188 -> <info> app: reading 11 done
    
    12:50:52.235 -> <info> app: temporarylogcounter0 B temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    12:51:02.193 -> <info> app: data_to_send 25.63-11/16/21-12:51:02
    
    12:51:02.193 -> <info> app: reading 12 done
    
    12:51:02.193 -> <info> app: temporarylogcounter0 C temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    12:51:12.203 -> <info> app: data_to_send 25.63-11/16/21-12:51:12
    
    12:51:12.203 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 20 23
    
    12:51:12.203 -> <info> app: reading 13 done
    
    12:51:12.203 -> <info> app: temporarylogcounter0 D temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    12:51:22.216 -> <info> app: data_to_send 25.63-11/16/21-12:51:22
    
    12:51:22.216 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 43 23
    
    12:51:22.216 -> <info> app: reading 14 done
    
    12:51:22.216 -> <info> app: temporarylogcounter0 E temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    12:51:32.177 -> <info> app: data_to_send 25.75-11/16/21-12:51:32
    
    12:51:32.177 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 66 23
    
    12:51:32.224 -> <info> app: reading 15 done
    
    12:51:32.224 -> <info> app: temporarylogcounter0 F temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    12:51:42.216 -> <info> app: data_to_send 25.63-11/16/21-12:51:42
    
    12:51:42.216 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 89 23
    
    12:51:42.216 -> <info> app: reading 16 done
    
    12:51:42.216 -> <info> app: temporarylogcounter0 10 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    12:52:05.716 -> <info> app: BeforeFivesec
    
    12:52:05.716 -> <info> app_timer: RTC: initialized.
    
    12:52:05.716 -> <info> app: hello ble
    
    12:52:05.716 -> <info> app: Before enter into sleep mode
    
    12:52:05.716 -> <info> app: After enter into sleep mode
    
    12:52:05.716 -> <info> app: Alarm status : 0
    
    12:52:05.716 -> <info> app: Upper threshold : 30
    
    12:52:05.716 -> <info> app: Lower threshold : 20
    
    12:52:05.716 -> <info> app: Type C : 1
    
    12:52:05.716 -> <info> app: Starting delay in sec. : 0
    
    12:52:05.716 -> <info> app: Interval delay in sec.: 10
    
    12:52:05.716 -> <info> app: Data EF4015
    
    12:52:05.716 -> <info> app: Data3 15
    
    12:52:05.763 -> <info> app: Data2 40
    
    12:52:05.763 -> <info> app: Data1 EF
    
    12:52:05.763 -> <info> app: Data0 0
    
    12:52:05.763 -> <info> app: temporarylogcounter4 10 temporarylogcounter3 0 temporarylogcounter2  0 temporarylogcounter1 0
    
    12:52:05.763 -> <info> app: log counter value : 16 
    
    12:52:05.763 -> <info> app: Newpasskey12:123456
    
    12:52:05.763 -> <info> app: Fast advertising
    
    12:52:05.763 -> <info> app: start advertising
    
    12:52:05.763 -> <info> app: Application started in Advertising Mode.
    
    12:52:05.763 -> <info> app: Current Time service client started.
    
    12:52:32.666 -> <info> app: Device Connected
    
    12:52:32.666 -> <info> app: Connected.
    
    12:52:33.414 -> <info> ble_cts_c: Current Time Service discovered at peer.
    
    12:52:33.414 -> <info> app: Current Time Service discovered on server.
    
    12:52:33.414 -> <info> app: Current Time received.
    
    12:52:33.414 -> <info> app: 11/16/21-12:53:02
    
    12:52:47.276 -> <info> app: passkeynew:123456
    
    12:52:47.276 -> <info> app: passkeynew1:123456
    
    12:52:47.276 -> <info> app: comaprision successful
    
    12:53:01.240 -> <info> app: Logging started!
    
    12:53:01.380 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 0 23
    
    12:53:01.380 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 23 23
    
    12:53:01.380 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 46 23
    
    12:53:01.380 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 69 23
    
    12:53:01.380 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 92 23
    
    12:53:02.270 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 92 23
    
    12:53:02.270 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 115 23
    
    12:53:02.270 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 138 23
    
    12:53:02.270 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 138 23
    
    12:53:02.318 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 161 23
    
    12:53:02.318 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 184 23
    
    12:53:02.318 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 184 23
    
    12:53:03.253 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 184 23
    
    12:53:03.300 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 207 23
    
    12:53:03.300 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 230 23
    
    12:53:03.300 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 230 23
    
    12:53:03.300 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 20 23
    
    12:53:03.300 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 20 23
    
    12:53:04.278 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 20 23
    
    12:53:04.278 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 43 23
    
    12:53:04.278 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 66 23
    
    12:53:04.278 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 66 23
    
    12:53:05.261 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 66 23
    
    12:53:05.261 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 89 23
    
    12:53:05.261 -> <info> app: ***All Readings have been sent.!!!***
    
    12:53:22.263 -> <info> app: Fast advertising
    
    12:53:22.263 -> <info> app: Device Disconnected
    
    12:53:22.263 -> <info> app: Disconnect Complete.
    
    12:53:22.263 -> <info> app: Disconnected.
    
    12:53:22.263 -> <info> app: defaualtpasskey ******
    
    

  • Thanks for providing the logs.
    Please also address the rest of my questions from my previous comments.

    Best regards,
    Karl

  • This looks like a screenshot of a single, random packet.
    Please elaborate thoroughly on what you are trying to communicate.

    Best regards,
    Karl

  • karl what is the problem i am getting is that as i set 7.5-100ms i am able to get multiple logs but when i set to 1000-1000ms i get only 16 logs and after that my device stops logging

Reply Children
  • Hello again,

    Ridhi said:
    what is the problem i am getting is that as i set 7.5-100ms i am able to get multiple logs but when i set to 1000-1000ms i get only 16 logs and after that my device stops logging

    I know this already, you have said this before, but it seems that you might be ignoring my comments about the sniffer trace and debug session.
    Could you share the whole sniffer trace with me here, so I may take a look? Please provide the trace for both the working and the non-working scenario.
    Have you used a debug session to verify whether the program counter is getting stuck anywhere in the 16 log cases?
    I have theorized before that it might be due to a buffer overflow or buildup when you change the connection interval to 1000 ms, since the buffers will be emptied much more infrequently with this connection interval.

    Furthermore, what I asked in my previous comment was; what did you try to communicate with the screenshot of the single packet? What was it that you would like me to take a look at in this packet?

    Please elaborate on your issues, address my questions, and be as specific as possible - so that we together may resolve your issues more quickly.

    Best regards,
    Karl

  • for sniffer trace i have a csv file how to share it?

  • You could share it using the Insert -> Image/Video/file option. Please also address my other questions.

    Please share the .pcapng file, as generated by Wireshark.

    Best regards,
    Karl

  • Hello Karl,

    My code works as:

     press button

    device advertise with name BTLog

    Then i connect on nrf connect app on mobile

    i press a button and put device in data logging mode with flash storage and temperature sensor interfaced

    then after logging i press button again to make the device sleep

    then again press button to readvertise

    the from the service created i get the logged data using notification

     i face issue in setting connection parameters :

    i found that increasing CI reduces power consumption but 

    1st is for 7.5-100ms connection interval which accounts for more than 20 logs

    2nd is for  1000-1000ms connection interval which only  4 logs after which i dont get logs

    i am sharing you the wireshark traces:

    7.5-100ms file.pcapng

    1000-1000ms.pcapng

    1000-1000ms file.csv

    7.5-100ms.csv

    19:05:27.828 -> <info> app: Alarm status : 0
    
    19:05:27.828 -> <info> app: Upper threshold : 30
    
    19:05:27.828 -> <info> app: Lower threshold : 20
    
    19:05:27.828 -> <info> app: Type C : 1
    
    19:05:27.828 -> <info> app: Starting delay in sec. : 0
    
    19:05:27.828 -> <info> app: Interval delay in sec.: 10
    
    19:05:27.828 -> <info> app: Data EF4015
    
    19:05:27.828 -> <info> app: Data3 15
    
    19:05:27.828 -> <info> app: Data2 40
    
    19:05:27.828 -> <info> app: Data1 EF
    
    19:05:27.828 -> <info> app: Data0 0
    
    19:05:27.828 -> <info> app: temporarylogcounter4 8 temporarylogcounter3 0 temporarylogcounter2  0 temporarylogcounter1 0
    
    19:05:27.875 -> <info> app: log counter value : 8 
    
    19:05:27.875 -> <info> app: Fast advertising
    
    19:05:27.875 -> <info> app: Application started in Advertising Mode.
    
    19:05:37.575 -> <info> app: Device Connected
    
    19:05:37.575 -> <info> app: Connected.
    
    19:05:38.328 -> <info> ble_cts_c: Current Time Service discovered at peer.
    
    19:05:38.328 -> <info> app: Current Time Service discovered on server.
    
    19:05:38.375 -> <info> app: Current Time received.
    
    19:05:38.375 -> <info> app: 12/03/21-19:06:35
    
    19:06:08.995 -> <info> app: Data logging Mode.
    
    19:06:08.995 -> <info> app: Bluetooth deactivated.
    
    19:06:09.042 -> <info> app: Fast advertising
    
    19:06:09.042 -> <info> app: Device Disconnected
    
    19:06:09.042 -> <info> app: Disconnect Complete.
    
    19:06:09.042 -> <info> app: Disconnected.
    
    19:06:09.042 -> <info> app: Memory Initialization done.
    
    19:06:09.042 -> <info> app: Temp Logging started hi.
    
    19:06:09.042 -> <info> app: Timer started hi.
    
    19:06:09.042 -> <info> app: Initial timer finished!
    
    19:06:09.042 -> <info> app: data_to_send 25.75-12/03/21-19:06:09
    
    19:06:09.042 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 0 23
    
    19:06:09.042 -> <info> app: reading 1 done
    
    19:06:09.042 -> <info> app: temporarylogcounter0 1 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:06:19.628 -> <info> app: data_to_send 25.63-12/03/21-19:06:20
    
    19:06:19.628 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 23 23
    
    19:06:19.628 -> <info> app: reading 2 done
    
    19:06:19.628 -> <info> app: temporarylogcounter0 2 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:06:29.593 -> <info> app: data_to_send 25.63-12/03/21-19:06:30
    
    19:06:29.640 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 46 23
    
    19:06:29.640 -> <info> app: reading 3 done
    
    19:06:29.640 -> <info> app: temporarylogcounter0 3 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:06:39.624 -> <info> app: data_to_send 25.38-12/03/21-19:06:40
    
    19:06:39.624 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 69 23
    
    19:06:39.624 -> <info> app: reading 4 done
    
    19:06:39.624 -> <info> app: temporarylogcounter0 4 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:06:49.595 -> <info> app: data_to_send 25.25-12/03/21-19:06:50
    
    19:06:49.642 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 92 23
    
    19:06:49.642 -> <info> app: reading 5 done
    
    19:06:49.642 -> <info> app: temporarylogcounter0 5 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:06:59.599 -> <info> app: data_to_send 25.13-12/03/21-19:07:00
    
    19:06:59.599 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 115 23
    
    19:06:59.647 -> <info> app: reading 6 done
    
    19:06:59.647 -> <info> app: temporarylogcounter0 6 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:07:09.638 -> <info> app: data_to_send 25.00-12/03/21-19:07:10
    
    19:07:09.638 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 138 23
    
    19:07:09.638 -> <info> app: reading 7 done
    
    19:07:09.638 -> <info> app: temporarylogcounter0 7 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:07:19.613 -> <info> app: data_to_send 24.88-12/03/21-19:07:20
    
    19:07:19.613 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 161 23
    
    19:07:19.613 -> <info> app: reading 8 done
    
    19:07:19.613 -> <info> app: temporarylogcounter0 8 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:07:29.605 -> <info> app: data_to_send 24.75-12/03/21-19:07:30
    
    19:07:29.605 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 184 23
    
    19:07:29.605 -> <info> app: reading 9 done
    
    19:07:29.652 -> <info> app: temporarylogcounter0 9 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:07:39.605 -> <info> app: data_to_send 24.75-12/03/21-19:07:40
    
    19:07:39.605 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 207 23
    
    19:07:39.652 -> <info> app: reading 10 done
    
    19:07:39.652 -> <info> app: temporarylogcounter0 A temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:07:49.630 -> <info> app: data_to_send 24.63-12/03/21-19:07:50
    
    19:07:49.630 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 230 23
    
    19:07:49.630 -> <info> app: reading 11 done
    
    19:07:49.630 -> <info> app: temporarylogcounter0 B temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:07:59.624 -> <info> app: data_to_send 24.50-12/03/21-19:08:00
    
    19:07:59.624 -> <info> app: reading 12 done
    
    19:07:59.624 -> <info> app: temporarylogcounter0 C temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:08:09.605 -> <info> app: data_to_send 24.50-12/03/21-19:08:10
    
    19:08:09.605 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 20 23
    
    19:08:09.652 -> <info> app: reading 13 done
    
    19:08:09.652 -> <info> app: temporarylogcounter0 D temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:08:19.619 -> <info> app: data_to_send 24.38-12/03/21-19:08:20
    
    19:08:19.619 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 43 23
    
    19:08:19.619 -> <info> app: reading 14 done
    
    19:08:19.619 -> <info> app: temporarylogcounter0 E temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:08:29.603 -> <info> app: data_to_send 24.38-12/03/21-19:08:30
    
    19:08:29.651 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 66 23
    
    19:08:29.651 -> <info> app: reading 15 done
    
    19:08:29.651 -> <info> app: temporarylogcounter0 F temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:08:39.645 -> <info> app: data_to_send 24.25-12/03/21-19:08:40
    
    19:08:39.645 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 89 23
    
    19:08:39.645 -> <info> app: reading 16 done
    
    19:08:39.645 -> <info> app: temporarylogcounter0 10 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:08:49.637 -> <info> app: data_to_send 24.25-12/03/21-19:08:50
    
    19:08:49.637 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 112 23
    
    19:08:49.637 -> <info> app: reading 17 done
    
    19:08:49.637 -> <info> app: temporarylogcounter0 11 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:08:59.640 -> <info> app: data_to_send 24.25-12/03/21-19:09:00
    
    19:08:59.640 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 135 23
    
    19:08:59.640 -> <info> app: reading 18 done
    
    19:08:59.640 -> <info> app: temporarylogcounter0 12 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:09:09.600 -> <info> app: data_to_send 24.25-12/03/21-19:09:10
    
    19:09:09.647 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 158 23
    
    19:09:09.647 -> <info> app: reading 19 done
    
    19:09:09.647 -> <info> app: temporarylogcounter0 13 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:09:19.648 -> <info> app: data_to_send 24.13-12/03/21-19:09:20
    
    19:09:19.648 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 181 23
    
    19:09:19.648 -> <info> app: reading 20 done
    
    19:09:19.648 -> <info> app: temporarylogcounter0 14 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:09:29.642 -> <info> app: data_to_send 24.13-12/03/21-19:09:30
    
    19:09:29.642 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 204 23
    
    19:09:29.642 -> <info> app: reading 21 done
    
    19:09:29.642 -> <info> app: temporarylogcounter0 15 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:09:39.636 -> <info> app: data_to_send 24.13-12/03/21-19:09:40
    
    19:09:39.636 -> <info> app: temp_write_page temp_write_offset bytes_to_write 1 227 23
    
    19:09:39.636 -> <info> app: reading 22 done
    
    19:09:39.636 -> <info> app: temporarylogcounter0 16 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:09:49.621 -> <info> app: data_to_send 24.13-12/03/21-19:09:50
    
    19:09:49.621 -> <info> app: reading 23 done
    
    19:09:49.621 -> <info> app: temporarylogcounter0 17 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:09:53.557 -> <info> app: Bluetooth stopped and temp sensor Stoped.
    
    19:10:00.906 -> <info> app: Bluetooth Reinitialized and temp sensor Stoped.
    
    19:10:13.423 -> <info> app: Device Connected
    
    19:10:13.423 -> <info> app: Connected.
    
    19:10:14.122 -> <info> ble_cts_c: Current Time Service discovered at peer.
    
    19:10:14.122 -> <info> app: Current Time Service discovered on server.
    
    19:10:14.262 -> <info> app: Current Time received.
    
    19:10:14.262 -> <info> app: 12/03/21-19:10:55
    
    19:10:25.094 -> <info> app: Logging started!
    
    19:10:25.187 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 0 23
    
    19:10:25.234 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 23 23
    
    19:10:25.234 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 46 23
    
    19:10:25.234 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 69 23
    
    19:10:25.234 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 92 23
    
    19:10:25.234 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 92 23
    
    19:10:25.281 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 115 23
    
    19:10:25.281 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 138 23
    
    19:10:25.281 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 138 23
    
    19:10:25.281 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 161 23
    
    19:10:25.281 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 184 23
    
    19:10:25.328 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 184 23
    
    19:10:25.328 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 184 23
    
    19:10:25.328 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 207 23
    
    19:10:25.328 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 230 23
    
    19:10:25.328 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 230 23
    
    19:10:25.328 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 20 23
    
    19:10:25.375 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 20 23
    
    19:10:25.375 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 20 23
    
    19:10:25.375 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 43 23
    
    19:10:25.375 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 66 23
    
    19:10:25.375 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 66 23
    
    19:10:25.375 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 89 23
    
    19:10:25.422 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 112 23
    
    19:10:25.422 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 112 23
    
    19:10:25.422 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 112 23
    
    19:10:25.422 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 135 23
    
    19:10:25.422 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 158 23
    
    19:10:25.422 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 158 23
    
    19:10:25.468 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 181 23
    
    19:10:25.468 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 204 23
    
    19:10:25.468 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 204 23
    
    19:10:25.468 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 204 23
    
    19:10:25.468 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   1 227 23
    
    19:10:25.468 -> <info> app: ***All Readings have been sent.!!!***
    
    19:10:29.863 -> <info> app: Fast advertising
    
    19:10:29.863 -> <info> app: Device Disconnected
    
    19:10:29.863 -> <info> app: Disconnect Complete.
    
    19:10:29.910 -> <info> app: Disconnected.
    
    

    19:16:09.681 -> <info> app: Alarm status : 0
    
    19:16:09.681 -> <info> app: Upper threshold : 30
    
    19:16:09.681 -> <info> app: Lower threshold : 20
    
    19:16:09.681 -> <info> app: Type C : 1
    
    19:16:09.681 -> <info> app: Starting delay in sec. : 0
    
    19:16:09.681 -> <info> app: Interval delay in sec.: 10
    
    19:16:09.681 -> <info> app: Data EF4015
    
    19:16:09.681 -> <info> app: Data3 15
    
    19:16:09.681 -> <info> app: Data2 40
    
    19:16:09.681 -> <info> app: Data1 EF
    
    19:16:09.681 -> <info> app: Data0 0
    
    19:16:09.681 -> <info> app: temporarylogcounter4 17 temporarylogcounter3 0 temporarylogcounter2  0 temporarylogcounter1 0
    
    19:16:09.681 -> <info> app: log counter value : 23 
    
    19:16:09.728 -> <info> app: Fast advertising
    
    19:16:09.728 -> <info> app: Application started in Advertising Mode.
    
    19:16:19.482 -> <info> app: Device Connected
    
    19:16:19.482 -> <info> app: Connected.
    
    19:16:20.279 -> <info> ble_cts_c: Current Time Service discovered at peer.
    
    19:16:20.279 -> <info> app: Current Time Service discovered on server.
    
    19:16:20.279 -> <info> app: Current Time received.
    
    19:16:20.279 -> <info> app: 12/03/21-19:16:39
    
    19:16:56.763 -> <info> app: Data logging Mode.
    
    19:16:56.763 -> <info> app: Bluetooth deactivated.
    
    19:16:56.763 -> <info> app: Memory Initialization done.
    
    19:16:56.763 -> <info> app: Fast advertising
    
    19:16:56.763 -> <info> app: Device Disconnected
    
    19:16:56.763 -> <info> app: Disconnect Complete.
    
    19:16:56.763 -> <info> app: Disconnected.
    
    19:16:56.763 -> <info> app: Temp Logging started hi.
    
    19:16:56.763 -> <info> app: Timer started hi.
    
    19:16:56.810 -> <info> app: Initial timer finished!
    
    19:16:56.810 -> <info> app: data_to_send 23.63-12/03/21-19:16:57
    
    19:16:56.810 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 0 23
    
    19:16:56.810 -> <info> app: reading 1 done
    
    19:16:56.810 -> <info> app: temporarylogcounter0 1 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:17:07.371 -> <info> app: data_to_send 23.63-12/03/21-19:17:07
    
    19:17:07.371 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 23 23
    
    19:17:07.371 -> <info> app: reading 2 done
    
    19:17:07.371 -> <info> app: temporarylogcounter0 2 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:17:17.361 -> <info> app: data_to_send 23.63-12/03/21-19:17:17
    
    19:17:17.361 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 46 23
    
    19:17:17.361 -> <info> app: reading 3 done
    
    19:17:17.361 -> <info> app: temporarylogcounter0 3 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:17:27.348 -> <info> app: data_to_send 23.50-12/03/21-19:17:27
    
    19:17:27.348 -> <info> app: temp_write_page temp_write_offset bytes_to_write 0 69 23
    
    19:17:27.396 -> <info> app: reading 4 done
    
    19:17:27.396 -> <info> app: temporarylogcounter0 4 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0
    
    19:20:01.370 -> <info> app_timer: RTC: initialized.
    
    19:20:01.370 -> <info> app: hello ble
    
    19:20:01.370 -> <info> app: Current Time service client started.
    
    19:20:03.249 -> <info> app: Alarm status : 0
    
    19:20:03.249 -> <info> app: Upper threshold : 30
    
    19:20:03.249 -> <info> app: Lower threshold : 20
    
    19:20:03.296 -> <info> app: Type C : 1
    
    19:20:03.296 -> <info> app: Starting delay in sec. : 0
    
    19:20:03.296 -> <info> app: Interval delay in sec.: 10
    
    19:20:03.296 -> <info> app: Data EF4015
    
    19:20:03.296 -> <info> app: Data3 15
    
    19:20:03.296 -> <info> app: Data2 40
    
    19:20:03.296 -> <info> app: Data1 EF
    
    19:20:03.296 -> <info> app: Data0 0
    
    19:20:03.296 -> <info> app: temporarylogcounter4 4 temporarylogcounter3 0 temporarylogcounter2  0 temporarylogcounter1 0
    
    19:20:03.296 -> <info> app: log counter value : 4 
    
    19:20:03.296 -> <info> app: Fast advertising
    
    19:20:03.296 -> <info> app: Application started in Advertising Mode.
    
    19:20:06.938 -> <info> app: Device Connected
    
    19:20:06.938 -> <info> app: Connected.
    
    19:20:07.640 -> <info> ble_cts_c: Current Time Service discovered at peer.
    
    19:20:07.640 -> <info> app: Current Time Service discovered on server.
    
    19:20:07.640 -> <info> app: Current Time received.
    
    19:20:07.640 -> <info> app: 12/03/21-19:20:15
    
    19:20:17.738 -> <info> app: Logging started!
    
    19:20:17.874 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 0 23
    
    19:20:17.874 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 23 23
    
    19:20:17.874 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 46 23
    
    19:20:17.874 -> <info> app: tempread temp_read_page temp_read_offset bytes_to_read   0 69 23
    
    19:20:17.874 -> <info> app: ***All Readings have been sent.!!!***
    
    19:20:22.740 -> <info> app: Fast advertising
    
    19:20:22.740 -> <info> app: Device Disconnected
    
    19:20:22.740 -> <info> app: Disconnect Complete.
    
    19:20:22.740 -> <info> app: Disconnected.
    
    

Related