Guest User

Untitled

a guest
Dec 14th, 2015
272
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. ====================================================
  3. Copyright(C) 2013 The F9 Microkernel Project
  4. ====================================================
  5. Git head: 9415c4b
  6. Host: x86_64
  7. Build: 2015-12-14T21:52:09+0200
  8. Board: evX
  9. Chip: kinetis
  10.  
  11. Press '?' to print KDB menu
  12. irq_registered: 55
  13. irq_registered: 53
  14.  
  15. AWS IoT SDK Version(dev) 1.0.1-genesi
  16. tcpip_init_done: callback called.
  17.  
  18. gsm_power_off
  19. Shadow Init
  20. Shadow Connect
  21. DEBUG: iot_tls_init L#102
  22. . Seeding the random number generator...
  23. DEBUG: iot_tls_init L#108 ok
  24.  
  25. DEBUG: iot_tls_connect L#125 . Loading the CA root certificate ...
  26. DEBUG: iot_tls_connect L#131 ok (0 skipped)
  27.  
  28. DEBUG: iot_tls_connect L#133 . Loading the client cert. and key...
  29. DEBUG: iot_tls_connect L#146 ok
  30.  
  31. DEBUG: iot_tls_connect L#148 . Connecting to A2579TX5Z11A8T.iot.us-east-1.amazonaws.com/8883...
  32. gsm_power_on
  33. gsm_input_t: START
  34. waitFor: +CPIN: READY
  35. gsm_input_t: +CPIN: READY
  36. uartWrite: ATE0
  37. waitFor: OK
  38. gsm_input_t: ATE0
  39. gsm_input_t: OK
  40. uartWrite: AT+CSQ
  41. waitFor: OK
  42. gsm_input_t: +CSQ: 13,99
  43. gsm_input_t: OK
  44. uartWrite: AT
  45. waitFor: OK
  46. gsm_input_t: OK
  47. uartWrite: AT+CGDCONT=1,"IP","m2m.com.attz"
  48. waitFor: OK
  49. gsm_input_t: OK
  50. uartWrite: AT+CGAUTH=1,3,"",""
  51. waitFor: OK
  52. gsm_input_t: OK
  53. waitFor: PB DONE
  54. gsm_input_t: SMS DONE
  55. gsm_input_t: PB DONE
  56. uartWrite: AT
  57. waitFor: OK
  58. gsm_input_t: OK
  59. uartWrite: AT+COPS?
  60. waitFor: OK
  61. gsm_input_t: +COPS: 0,0,"Vodafone",2
  62. gsm_input_t: OK
  63. uartWrite: AT+CGACT=1,1
  64. waitFor: OK
  65. gsm_input_t: OK
  66. uartWrite: AT+CGACT?
  67. waitFor: OK
  68. gsm_input_t: +CGACT: 1,1
  69. gsm_input_t: OK
  70. uartWrite: AT+CGPADDR=1
  71. waitFor: +CGPADDR
  72. gsm_input_t: +CGPADDR: 1,"10.183.113.199"
  73. uartWrite: AT+CSQ
  74. waitFor: OK
  75. gsm_input_t: OK
  76. uartWrite: ATD*99***1#
  77. waitFor: CONNECT
  78. gsm_input_t: +CSQ: 9,99
  79. gsm_input_t: OK
  80. gsm_input_t: CONNECT 115200
  81. status_cb: Connected
  82. our_ipaddr = 10.185.69.245
  83. his_ipaddr = 10.64.64.64
  84. netmask = 255.255.255.255
  85. dns1 = 62.240.110.197
  86. dns2 = 62.240.110.198
  87. status_cb: mtu:1500
  88. DEBUG: iot_tls_connect L#160 ok
  89.  
  90. DEBUG: iot_tls_connect L#162 . Setting up the SSL/TLS structure...
  91. DEBUG: iot_tls_connect L#202 ok
  92.  
  93. DEBUG: iot_tls_connect L#204 . Performing the SSL/TLS handshake...
  94. DEBUG: myCertVerify L#41
  95. Verify requested for (Depth 2):
  96.  
  97. DEBUG: myCertVerify L#43
  98.  
  99. DEBUG: myCertVerify L#46 This certificate has no flags
  100.  
  101. DEBUG: myCertVerify L#41
  102. Verify requested for (Depth 1):
  103.  
  104. DEBUG: myCertVerify L#43
  105.  
  106. DEBUG: myCertVerify L#46 This certificate has no flags
  107.  
  108. DEBUG: myCertVerify L#41
  109. Verify requested for (Depth 0):
  110.  
  111. DEBUG: myCertVerify L#43 iot.us-east-1.amazonaws.com, *.iot.us-east-1.amazonaws.com
  112.  
  113. DEBUG: myCertVerify L#46 This certificate has no flags
  114.  
  115. DEBUG: iot_tls_connect L#221 ok
  116. [ Protocol is TLSv1.2 ]
  117. [ Ciphersuite is TLS-RSA-WITH-AES-256-CBC-SHA256 ]
  118.  
  119. DEBUG: iot_tls_connect L#223 [ Record expansion is 53 ]
  120.  
  121. DEBUG: iot_tls_connect L#228 . Verifying peer X.509 certificate...
  122. DEBUG: iot_tls_connect L#237 ok
  123.  
  124. DEBUG: iot_tls_connect L#246 . Peer certificate information ...
  125.  
  126. DEBUG: iot_tls_connect L#248
  127.  
  128. DEBUG: registerJsonTokenOnDelta L#97 delta topic $aws/things/276d0c6b-04a7-4205-bc0d-5d989744f3ab/shadow/update/delta
  129. Update Shadow: {"state":{"reported":{"firmware":{"stage0":"39065aa20cc9ae5442ff5b487286f6207e77008c","stage1":"39065aa20cc9ae5442ff5b487286f6207e77008c","stageX":"39065aa20cc9ae5442ff5b487286f6207e77008c"},"service":{"led":{"status":{"color":"green","mode":"blink"}}},"state":"connected"}}, "clientToken":"276d0c6b-04a7-4205-bc0d-5d989744f3ac-0"}
  130. Update Accepted !!
  131. DEBUG: shadow_delta_callback L#474 New Version number: 392
  132. DEBUG: ledStatusCb L#68 20009d40
  133. DEBUG: ledStatusCb L#127 yajl buf: {"service":{"led":{"status":{"mode":"on"}}}}
  134. Update Shadow: {"state":{"reported":{"service":{"led":{"status":{"mode":"on"}}}}}, "clientToken":"276d0c6b-04a7-4205-bc0d-5d989744f3ac-1"}
  135. Update Accepted !!
  136.  
  137.  
  138. ## KDB ##
  139. -------THREADS------
  140. idx type prio global state parent st-ptr st-base st-size sched name
  141. 0 IDLE 3 00000000 RUN 00000000 1fff0da0 1fff0bc0 00000200 4340 idle
  142. 1 ROOT 3 00008000 SEND 00000000 1fff45c0 1fff4580 00000100 0 root
  143. 12 [USR] 3 00088042 SVC 00008000 20000920 20000200 00000800 451 \__ tcpip_thread
  144. 13 [USR] 3 00088082 SVC 00088042 20001340 20000c00 00000800 1477 \__ gsm_input_t
  145. 3 [USR] 3 00084002 FREE 00008000 1fffa290 1fffa100 00000200 0 \__ kinetis_uart
  146. 4 [USR] 3 00080002 RECV 00008000 1fffa568 1fffa400 00000200 2865 \__ malloc
  147. 5 [SYS] 3 00044002 FREE 00008000 1fffaaa0 1fffa700 00000400 0 \__ user_irq
  148. 6 [SYS] 3 00044042 SVC 00044002 1fffea00 1fffe700 00000400 198 \__ user_irq_worker
  149. 7 [SYS] 3 00044082 SVC 00044002 1ffff000 1fffed00 00000400 214 \__ user_irq_worker
  150. 8 [SYS] 3 000440c2 SVC 00044002 1ffff600 1ffff300 00000400 213 \__ user_irq_worker
  151. 9 [SYS] 3 00044102 SVC 00044002 1ffffc00 1ffff900 00000400 264 \__ user_irq_worker
  152. 10 [USR] 3 000dc002 SVC 00008000 1fffc110 1fffac00 00001800 3491 \__ genesi_aws_t
  153. 10 [USR] 3 000dc002 FREE 00008000 1fffc8b0 1fffc500 00000400 0 \__ lwip_main_t
  154. 2 KERN 3 00004000 RUN 00000000 1fff1370 1fff0dc0 00000600 17180 kernel
  155.  
  156.  
  157.  
  158. ## KDB ##
RAW Paste Data