ttyS0.log.2 37.1 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774
main.c: --------------WI-SENSE STARTED-------------
main.c: Connecting wifi...
main.c: SSID = SERVER_WLAN
main.c: Wep key = TGW2YHNKT9TW
main.c: Passphrase = TGW2YHNKT9TW
main.c: User = 
main.c: Password = 
main.c: Encryption type = 4
main.c: Geo Localization = 41.557255 2.096183
main.c: WPA network detected
Connected
Connected to: 00:26:5B:D9:0D:18
buffer.c: Checking available memory...
buffer.c: Available memory: 33320 B
buffer.c: Used memory: 1384 B
[ALLOC] Allocated 120 bytes to 2000FCA8
[ALLOC] Allocated 32 bytes to 2000FC20
[ALLOC] Allocated 49 bytes to 2000FC48
[FREE] Freed bytes from  2000FC20
[ALLOC] Allocated 64 bytes to 2000FEC0
[FREE] Freed bytes from  2000FC48
[ALLOC] Allocated 74 bytes to 2000FC20
[FREE] Freed bytes from  2000FEC0
[ALLOC] Allocated 82 bytes to 2000FEC0
[FREE] Freed bytes from  2000FC20
[ALLOC] Allocated 92 bytes to 2000FC20
[FREE] Freed bytes from  2000FEC0
[ALLOC] Allocated 95 bytes to 2000FEC0
[FREE] Freed bytes from  2000FC20
[ALLOC] Allocated 109 bytes to 2000FF28
[FREE] Freed bytes from  2000FEC0
[ALLOC] Allocated 127 bytes to 2000FFA0
[FREE] Freed bytes from  2000FF28
[ALLOC] Allocated 147 bytes to 2000FEC0
[FREE] Freed bytes from  2000FFA0
[ALLOC] Allocated 206 bytes to 2000FF60
[FREE] Freed bytes from  2000FEC0
[ALLOC] Allocated 211 bytes to 20010038
[FREE] Freed bytes from  2000FF60
[FREE] Freed bytes from  2000FCA8
[ALLOC] Allocated 14 bytes to 2000FC20
[ALLOC] Allocated 50 bytes to 2000FC38
[ALLOC] Allocated 368 bytes to 2000FEC0
[ALLOC] Allocated 4 bytes to 2000FC78
[FREE] Freed bytes from  2000FC78
[FREE] Freed bytes from  2000FEC0
[ALLOC] Allocated 4 bytes to 2000F328
[FREE] Freed bytes from  2000F328
[FREE] Freed bytes from  2000FC38
[FREE] Freed bytes from  2000FC20
[FREE] Freed bytes from  20010038
[ALLOC] Allocated 32 bytes to 2000FC20
[ALLOC] Allocated 49 bytes to 2000FC48
[FREE] Freed bytes from  2000FC20
[ALLOC] Allocated 80 bytes to 2000FCA8
[FREE] Freed bytes from  2000FC48
[ALLOC] Allocated 90 bytes to 2000FC20
[FREE] Freed bytes from  2000FCA8
[ALLOC] Allocated 110 bytes to 2000FCA8
[FREE] Freed bytes from  2000FC20
[ALLOC] Allocated 120 bytes to 2000FEC0
[FREE] Freed bytes from  2000FCA8
[ALLOC] Allocated 126 bytes to 2000FCA8
[FREE] Freed bytes from  2000FEC0
[ALLOC] Allocated 140 bytes to 2000FEC0
[FREE] Freed bytes from  2000FCA8
[ALLOC] Allocated 158 bytes to 2000FF58
[FREE] Freed bytes from  2000FEC0
[ALLOC] Allocated 163 bytes to 20010000
[FREE] Freed bytes from  2000FF58
[ALLOC] Allocated 14 bytes to 2000F328
[ALLOC] Allocated 50 bytes to 2000FC20
[ALLOC] Allocated 320 bytes to 20010208
[ALLOC] Allocated 4 bytes to 2000FC60
[FREE] Freed bytes from  2000FC60
[FREE] Freed bytes from  20010208
[ALLOC] Allocated 4 bytes to 2000FC78
[FREE] Freed bytes from  2000FC78
[FREE] Freed bytes from  2000FC20
[FREE] Freed bytes from  2000F328
[FREE] Freed bytes from  20010000
[ALLOC] Allocated 32 bytes to 2000FC20
[ALLOC] Allocated 49 bytes to 2000FC48
[FREE] Freed bytes from  2000FC20
[ALLOC] Allocated 62 bytes to 2000FCA8
[FREE] Freed bytes from  2000FC48
[ALLOC] Allocated 72 bytes to 2000FC20
[FREE] Freed bytes from  2000FCA8
[ALLOC] Allocated 77 bytes to 2000FCA8
[FREE] Freed bytes from  2000FC20
[ALLOC] Allocated 87 bytes to 2000FC20
[FREE] Freed bytes from  2000FCA8
[ALLOC] Allocated 89 bytes to 2000FCA8
[FREE] Freed bytes from  2000FC20
[ALLOC] Allocated 103 bytes to 2000FEC0
[FREE] Freed bytes from  2000FCA8
[ALLOC] Allocated 121 bytes to 2000FCA8
[FREE] Freed bytes from  2000FEC0
[ALLOC] Allocated 126 bytes to 2000FEC0
[FREE] Freed bytes from  2000FCA8
[ALLOC] Allocated 14 bytes to 2000F328
[ALLOC] Allocated 50 bytes to 2000FC20
[ALLOC] Allocated 283 bytes to 2000FF48
[ALLOC] Allocated 4 bytes to 2000FC60
[FREE] Freed bytes from  2000FC60
[FREE] Freed bytes from  2000FF48
[ALLOC] Allocated 4 bytes to 2000FC78
[FREE] Freed bytes from  2000FC78
[FREE] Freed bytes from  2000FC20
[FREE] Freed bytes from  2000F328
[FREE] Freed bytes from  2000FEC0
main.c: 2 sensor detected...
main.c: Requesting new NTP time...
main.c: Updating new time to 3611097704
main.c: Time updated
main.c: Disconnecting wifi...
main.c: Disconnecting Successful: WIFI_DISCONNECT_SUCCESS
Failed
main.c: Time (absolute):	3611097720
Time LONG_PERIOD:	0
Time SHORT_PERIOD:	0
[ALLOC] Allocated 12 bytes to 2000EFC8
[ALLOC] Allocated 12 bytes to 2000F400
main.c: Time (absolute):	3611097720
Time LONG_PERIOD:	0
Time SHORT_PERIOD:	0
main.c: Timestamp (absolute):	3611097720
Timestamp LONG_PERIOD:	0
Timestamp SHORT_PERIOD:	0
main.c: Timestamping data...
[ALLOC] Allocated 8 bytes to 2000F418
[ALLOC] Allocated 32 bytes to 2000F428
main.c: Data is: 39172,29020,7/6/2014T4:42:0
[FREE] Freed bytes from  2000EFC8
[ALLOC] Allocated 31 bytes to 2000F450
main.c: Data is: 6507,10252,7/6/2014T4:42:0
[FREE] Freed bytes from  2000F400
main.c: Returning timestamped data...
main.c: Putting data in buffers...
main.c: Putting data: 39172,29020,7/6/2014T4:42:0
buffer.c: Joining buffer...
[ALLOC] Allocated 4 bytes to 2000EFC8
[ALLOC] Allocated 28 bytes to 2000F478
buffer.c: Data copied
main.c: Message put: 39172,29020,7/6/2014T4:42:0
[FREE] Freed bytes from  2000F428
main.c: Memory freed
main.c: Putting data: 6507,10252,7/6/2014T4:42:0
buffer.c: Joining buffer...
[ALLOC] Allocated 4 bytes to 2000EFD8
[ALLOC] Allocated 27 bytes to 2000F428
buffer.c: Data copied
main.c: Message put: 6507,10252,7/6/2014T4:42:0
[FREE] Freed bytes from  2000F450
main.c: Memory freed
main.c: Data is now in buffer
buffer.c: Checking available memory...
buffer.c: Available memory: 33600 B
buffer.c: Used memory: 1104 B
main.c: Time (absolute):	3611097720
Time LONG_PERIOD:	0
Time SHORT_PERIOD:	0
main.c: Time (absolute):	3611097780
Time LONG_PERIOD:	0
Time SHORT_PERIOD:	0
[ALLOC] Allocated 12 bytes to 2000F400
[ALLOC] Allocated 12 bytes to 2000F450
main.c: Time (absolute):	3611097780
Time LONG_PERIOD:	0
Time SHORT_PERIOD:	0
main.c: Timestamp (absolute):	3611097780
Timestamp LONG_PERIOD:	0
Timestamp SHORT_PERIOD:	0
main.c: Timestamping data...
[ALLOC] Allocated 8 bytes to 2000F468
[ALLOC] Allocated 32 bytes to 2000F4A0
main.c: Data is: 39176,29013,7/6/2014T4:43:0
[FREE] Freed bytes from  2000F400
[ALLOC] Allocated 31 bytes to 2000F4C8
main.c: Data is: 6506,10268,7/6/2014T4:43:0
[FREE] Freed bytes from  2000F450
main.c: Returning timestamped data...
main.c: Putting data in buffers...
main.c: Putting data: 39176,29013,7/6/2014T4:43:0
buffer.c: Joining buffer...
[ALLOC] Allocated 8 bytes to 2000F400
[ALLOC] Allocated 28 bytes to 2000F4F0
[FREE] Freed bytes from  2000F478
[FREE] Freed bytes from  2000EFC8
[ALLOC] Allocated 28 bytes to 2000F478
buffer.c: Data copied
main.c: Message put: 39176,29013,7/6/2014T4:43:0
[FREE] Freed bytes from  2000F4A0
main.c: Memory freed
main.c: Putting data: 6506,10268,7/6/2014T4:43:0
buffer.c: Joining buffer...
[ALLOC] Allocated 8 bytes to 2000EFC8
[ALLOC] Allocated 27 bytes to 2000F4A0
[FREE] Freed bytes from  2000F428
[FREE] Freed bytes from  2000EFD8
[ALLOC] Allocated 27 bytes to 2000F428
buffer.c: Data copied
main.c: Message put: 6506,10268,7/6/2014T4:43:0
[FREE] Freed bytes from  2000F4C8
main.c: Memory freed
main.c: Data is now in buffer
buffer.c: Checking available memory...
buffer.c: Available memory: 33488 B
buffer.c: Used memory: 1216 B
main.c: Time (absolute):	3611097780
Time LONG_PERIOD:	0
Time SHORT_PERIOD:	0
main.c: Time (absolute):	3611097840
Time LONG_PERIOD:	0
Time SHORT_PERIOD:	0
[ALLOC] Allocated 12 bytes to 2000F450
[ALLOC] Allocated 12 bytes to 2000F4C8
main.c: Time (absolute):	3611097840
Time LONG_PERIOD:	0
Time SHORT_PERIOD:	0
main.c: Timestamp (absolute):	3611097840
Timestamp LONG_PERIOD:	0
Timestamp SHORT_PERIOD:	0
main.c: Timestamping data...
[ALLOC] Allocated 8 bytes to 2000EFD8
[ALLOC] Allocated 32 bytes to 2000F518
main.c: Data is: 39184,29009,7/6/2014T4:44:0
[FREE] Freed bytes from  2000F450
[ALLOC] Allocated 31 bytes to 2000F540
main.c: Data is: 6499,10193,7/6/2014T4:44:0
[FREE] Freed bytes from  2000F4C8
main.c: Returning timestamped data...
main.c: Putting data in buffers...
main.c: Putting data: 39184,29009,7/6/2014T4:44:0
buffer.c: Joining buffer...
[ALLOC] Allocated 12 bytes to 2000F450
[ALLOC] Allocated 28 bytes to 2000F4C8
[FREE] Freed bytes from  2000F4F0
[ALLOC] Allocated 28 bytes to 2000F4F0
[FREE] Freed bytes from  2000F478
[FREE] Freed bytes from  2000F400
[ALLOC] Allocated 28 bytes to 2000F478
buffer.c: Data copied
main.c: Message put: 39184,29009,7/6/2014T4:44:0
[FREE] Freed bytes from  2000F518
main.c: Memory freed
main.c: Putting data: 6499,10193,7/6/2014T4:44:0
buffer.c: Joining buffer...
[ALLOC] Allocated 12 bytes to 2000F400
[ALLOC] Allocated 27 bytes to 2000F518
[FREE] Freed bytes from  2000F4A0
[ALLOC] Allocated 27 bytes to 2000F4A0
[FREE] Freed bytes from  2000F428
[FREE] Freed bytes from  2000EFC8
[ALLOC] Allocated 27 bytes to 2000F428
buffer.c: Data copied
main.c: Message put: 6499,10193,7/6/2014T4:44:0
[FREE] Freed bytes from  2000F540
main.c: Memory freed
main.c: Data is now in buffer
main.c: Programmed send cycle...
main.c: Connecting wifi...
main.c: SSID = SERVER_WLAN
main.c: Wep key = TGW2YHNKT9TW
main.c: Passphrase = TGW2YHNKT9TW
main.c: User = 
main.c: Password = 
main.c: Encryption type = 4
main.c: Geo Localization = 41.557255 2.096183
main.c: WPA network detected
Connected
Connected to: 00:26:5B:D9:0D:18
main.c: Sending buffer 0
buffer.c: Preparing JSON statement...
[ALLOC] Allocated 18 bytes to 2000F328
[ALLOC] Allocated 12 bytes to 2000F570
[ALLOC] Allocated 16 bytes to 2000FC60
[ALLOC] Allocated 22 bytes to 2000FC78
[ALLOC] Allocated 37 bytes to 2000FC98
[ALLOC] Allocated 52 bytes to 2000FCC8
[FREE] Freed bytes from  2000FC98
[FREE] Freed bytes from  2000FC60
[ALLOC] Allocated 55 bytes to 20010040
[FREE] Freed bytes from  2000FC78
[FREE] Freed bytes from  2000FCC8
[FREE] Freed bytes from  2000F570
[ALLOC] Allocated 72 bytes to 2000FC60
[FREE] Freed bytes from  2000F328
[FREE] Freed bytes from  20010040
[ALLOC] Allocated 12 bytes to 2000F328
[ALLOC] Allocated 16 bytes to 2000F570
[ALLOC] Allocated 22 bytes to 2000FCB0
[ALLOC] Allocated 37 bytes to 2000FCD0
[ALLOC] Allocated 52 bytes to 20010040
[FREE] Freed bytes from  2000FCD0
[FREE] Freed bytes from  2000F570
[ALLOC] Allocated 55 bytes to 2000FCD0
[FREE] Freed bytes from  2000FCB0
[FREE] Freed bytes from  20010040
[FREE] Freed bytes from  2000F328
[ALLOC] Allocated 126 bytes to 20010040
[FREE] Freed bytes from  2000FC60
[FREE] Freed bytes from  2000FCD0
[ALLOC] Allocated 12 bytes to 2000F328
[ALLOC] Allocated 16 bytes to 2000F570
[ALLOC] Allocated 22 bytes to 2000FC60
[ALLOC] Allocated 37 bytes to 2000FC80
[ALLOC] Allocated 52 bytes to 2000FCB0
[FREE] Freed bytes from  2000FC80
[FREE] Freed bytes from  2000F570
[ALLOC] Allocated 55 bytes to 200100C8
[FREE] Freed bytes from  2000FC60
[FREE] Freed bytes from  2000FCB0
[FREE] Freed bytes from  2000F328
[ALLOC] Allocated 180 bytes to 20010108
[FREE] Freed bytes from  20010040
[FREE] Freed bytes from  200100C8
[ALLOC] Allocated 182 bytes to 20010040
[FREE] Freed bytes from  20010108
[ALLOC] Allocated 14 bytes to 2000F328
[ALLOC] Allocated 62 bytes to 2000FC60
[ALLOC] Allocated 350 bytes to 20010100
[ALLOC] Allocated 4 bytes to 2000F570
[FREE] Freed bytes from  2000F570
[FREE] Freed bytes from  20010100
[ALLOC] Allocated 4 bytes to 2000FC20
[FREE] Freed bytes from  2000FC20
[FREE] Freed bytes from  2000FC60
[FREE] Freed bytes from  2000F328
[FREE] Freed bytes from  20010040
buffer.c: Data sent successfully
[FREE] Freed bytes from  2000F4C8
[FREE] Freed bytes from  2000F4F0
[FREE] Freed bytes from  2000F478
[FREE] Freed bytes from  2000F450
main.c: Sending buffer 1
buffer.c: Preparing JSON statement...
[ALLOC] Allocated 18 bytes to 2000F328
[ALLOC] Allocated 11 bytes to 2000F450
[ALLOC] Allocated 16 bytes to 2000F478
[ALLOC] Allocated 21 bytes to 2000F4C8
[ALLOC] Allocated 36 bytes to 2000F4E8
[ALLOC] Allocated 51 bytes to 2000FC60
[FREE] Freed bytes from  2000F4E8
[FREE] Freed bytes from  2000F478
[ALLOC] Allocated 54 bytes to 20010040
[FREE] Freed bytes from  2000F4C8
[FREE] Freed bytes from  2000FC60
[FREE] Freed bytes from  2000F450
[ALLOC] Allocated 71 bytes to 2000F4C8
[FREE] Freed bytes from  2000F328
[FREE] Freed bytes from  20010040
[ALLOC] Allocated 11 bytes to 2000F328
[ALLOC] Allocated 16 bytes to 2000F450
[ALLOC] Allocated 21 bytes to 2000F478
[ALLOC] Allocated 36 bytes to 2000FC60
[ALLOC] Allocated 51 bytes to 2000FC90
[FREE] Freed bytes from  2000FC60
[FREE] Freed bytes from  2000F450
[ALLOC] Allocated 54 bytes to 2000FCD0
[FREE] Freed bytes from  2000F478
[FREE] Freed bytes from  2000FC90
[FREE] Freed bytes from  2000F328
[ALLOC] Allocated 124 bytes to 20010040
[FREE] Freed bytes from  2000F4C8
[FREE] Freed bytes from  2000FCD0
[ALLOC] Allocated 11 bytes to 2000F328
[ALLOC] Allocated 16 bytes to 2000F450
[ALLOC] Allocated 21 bytes to 2000F478
[ALLOC] Allocated 36 bytes to 2000F4C8
[ALLOC] Allocated 51 bytes to 2000FC60
[FREE] Freed bytes from  2000F4C8
[FREE] Freed bytes from  2000F450
[ALLOC] Allocated 54 bytes to 2000F4C8
[FREE] Freed bytes from  2000F478
[FREE] Freed bytes from  2000FC60
[FREE] Freed bytes from  2000F328
[ALLOC] Allocated 177 bytes to 200100C8
[FREE] Freed bytes from  20010040
[FREE] Freed bytes from  2000F4C8
[ALLOC] Allocated 179 bytes to 20010188
[FREE] Freed bytes from  200100C8
[ALLOC] Allocated 14 bytes to 2000F328
[ALLOC] Allocated 62 bytes to 2000F4C8
[ALLOC] Allocated 347 bytes to 20010248
[ALLOC] Allocated 4 bytes to 2000F450
[FREE] Freed bytes from  2000F450
[FREE] Freed bytes from  20010248
[ALLOC] Allocated 4 bytes to 2000F478
[FREE] Freed bytes from  2000F478
[FREE] Freed bytes from  2000F4C8
[FREE] Freed bytes from  2000F328
[FREE] Freed bytes from  20010188
buffer.c: Data sent successfully
[FREE] Freed bytes from  2000F518
[FREE] Freed bytes from  2000F4A0
[FREE] Freed bytes from  2000F428
[FREE] Freed bytes from  2000F400
main.c: Polling battery level...
[ALLOC] Allocated 12 bytes to 2000F328
[ALLOC] Allocated 25 bytes to 2000F428
[FREE] Freed bytes from  2000F328
[ALLOC] Allocated 18 bytes to 2000F328
[ALLOC] Allocated 5 bytes to 2000F400
[ALLOC] Allocated 16 bytes to 2000F450
[ALLOC] Allocated 15 bytes to 2000F478
[ALLOC] Allocated 30 bytes to 2000F490
[ALLOC] Allocated 45 bytes to 2000F4B8
[FREE] Freed bytes from  2000F490
[FREE] Freed bytes from  2000F450
[ALLOC] Allocated 48 bytes to 2000F4F0
[FREE] Freed bytes from  2000F478
[FREE] Freed bytes from  2000F4B8
[FREE] Freed bytes from  2000F400
[ALLOC] Allocated 65 bytes to 2000F478
[FREE] Freed bytes from  2000F328
[FREE] Freed bytes from  2000F4F0
[ALLOC] Allocated 67 bytes to 2000F4C8
[FREE] Freed bytes from  2000F478
[FREE] Freed bytes from  2000F428
[ALLOC] Allocated 14 bytes to 2000F328
[ALLOC] Allocated 62 bytes to 2000F478
[ALLOC] Allocated 234 bytes to 20010040
[ALLOC] Allocated 3 bytes to 2000F400
[FREE] Freed bytes from  2000F400
[FREE] Freed bytes from  20010040
[ALLOC] Allocated 4 bytes to 2000F428
[FREE] Freed bytes from  2000F428
[FREE] Freed bytes from  2000F478
[FREE] Freed bytes from  2000F328
[FREE] Freed bytes from  2000F4C8
main.c: Requesting new NTP time...
main.c: Updating new time to 3611097855
main.c: Time updated
main.c: Disconnecting wifi...
main.c: Disconnecting Successful: WIFI_DISCONNECT_SUCCESS
main.c: New NTP time (absolute):	3611097855
Time LONG_PERIOD:	45
Time SHORT_PERIOD:	15
buffer.c: Checking available memory...
buffer.c: Available memory: 33576 B
buffer.c: Used memory: 1128 B
main.c: Time (absolute):	3611097856
Time LONG_PERIOD:	48
Time SHORT_PERIOD:	16
Failed
main.c: Time (absolute):	3611097900
Time LONG_PERIOD:	0
Time SHORT_PERIOD:	0
[ALLOC] Allocated 12 bytes to 2000F328
[ALLOC] Allocated 12 bytes to 2000F428
main.c: Time (absolute):	3611097900
Time LONG_PERIOD:	0
Time SHORT_PERIOD:	0
main.c: Timestamp (absolute):	3611097900
Timestamp LONG_PERIOD:	0
Timestamp SHORT_PERIOD:	0
main.c: Timestamping data...
[ALLOC] Allocated 8 bytes to 2000F408
[ALLOC] Allocated 32 bytes to 2000F440
main.c: Data is: 39186,29010,7/6/2014T4:45:0
[FREE] Freed bytes from  2000F328
[ALLOC] Allocated 31 bytes to 2000F478
main.c: Data is: 6498,10182,7/6/2014T4:45:0
[FREE] Freed bytes from  2000F428
main.c: Returning timestamped data...
main.c: Putting data in buffers...
main.c: Putting data: 39186,29010,7/6/2014T4:45:0
buffer.c: Joining buffer...
[ALLOC] Allocated 4 bytes to 2000F328
[ALLOC] Allocated 28 bytes to 2000F4A0
buffer.c: Data copied
main.c: Message put: 39186,29010,7/6/2014T4:45:0
[FREE] Freed bytes from  2000F440
main.c: Memory freed
main.c: Putting data: 6498,10182,7/6/2014T4:45:0
buffer.c: Joining buffer...
[ALLOC] Allocated 4 bytes to 2000F338
[ALLOC] Allocated 27 bytes to 2000F428
buffer.c: Data copied
main.c: Message put: 6498,10182,7/6/2014T4:45:0
[FREE] Freed bytes from  2000F478
main.c: Memory freed
main.c: Data is now in buffer
buffer.c: Checking available memory...
buffer.c: Available memory: 33456 B
buffer.c: Used memory: 1248 B
main.c: Time (absolute):	3611097900
Time LONG_PERIOD:	0
Time SHORT_PERIOD:	0
main.c: Time (absolute):	3611097960
Time LONG_PERIOD:	0
Time SHORT_PERIOD:	0
[ALLOC] Allocated 12 bytes to 2000F450
[ALLOC] Allocated 12 bytes to 2000F478
main.c: Time (absolute):	3611097960
Time LONG_PERIOD:	0
Time SHORT_PERIOD:	0
main.c: Timestamp (absolute):	3611097960
Timestamp LONG_PERIOD:	0
Timestamp SHORT_PERIOD:	0
main.c: Timestamping data...
[ALLOC] Allocated 8 bytes to 2000F490
[ALLOC] Allocated 32 bytes to 2000F4C8
main.c: Data is: 39180,29010,7/6/2014T4:46:0
[FREE] Freed bytes from  2000F450
[ALLOC] Allocated 31 bytes to 2000F4F0
main.c: Data is: 6496,10162,7/6/2014T4:46:0
[FREE] Freed bytes from  2000F478
main.c: Returning timestamped data...
main.c: Putting data in buffers...
main.c: Putting data: 39180,29010,7/6/2014T4:46:0
buffer.c: Joining buffer...
[ALLOC] Allocated 8 bytes to 2000F450
[ALLOC] Allocated 28 bytes to 2000F518
[FREE] Freed bytes from  2000F4A0
[FREE] Freed bytes from  2000F328
[ALLOC] Allocated 28 bytes to 2000F4A0
buffer.c: Data copied
main.c: Message put: 39180,29010,7/6/2014T4:46:0
[FREE] Freed bytes from  2000F4C8
main.c: Memory freed
main.c: Putting data: 6496,10162,7/6/2014T4:46:0
buffer.c: Joining buffer...
[ALLOC] Allocated 8 bytes to 2000F328
[ALLOC] Allocated 27 bytes to 2000F4C8
[FREE] Freed bytes from  2000F428
[FREE] Freed bytes from  2000F338
[ALLOC] Allocated 27 bytes to 2000F428
buffer.c: Data copied
main.c: Message put: 6496,10162,7/6/2014T4:46:0
[FREE] Freed bytes from  2000F4F0
main.c: Memory freed
main.c: Data is now in buffer
buffer.c: Checking available memory...
buffer.c: Available memory: 33344 B
buffer.c: Used memory: 1360 B
main.c: Time (absolute):	3611097960
Time LONG_PERIOD:	0
Time SHORT_PERIOD:	0
main.c: Time (absolute):	3611098020
Time LONG_PERIOD:	0
Time SHORT_PERIOD:	0
[ALLOC] Allocated 12 bytes to 2000F478
[ALLOC] Allocated 12 bytes to 2000F4F0
main.c: Time (absolute):	3611098020
Time LONG_PERIOD:	0
Time SHORT_PERIOD:	0
main.c: Timestamp (absolute):	3611098020
Timestamp LONG_PERIOD:	0
Timestamp SHORT_PERIOD:	0
main.c: Timestamping data...
[ALLOC] Allocated 8 bytes to 2000F338
[ALLOC] Allocated 32 bytes to 2000FC20
main.c: Data is: 39184,29008,7/6/2014T4:47:0
[FREE] Freed bytes from  2000F478
[ALLOC] Allocated 31 bytes to 2000FCC0
main.c: Data is: 6500,10233,7/6/2014T4:47:0
[FREE] Freed bytes from  2000F4F0
main.c: Returning timestamped data...
main.c: Putting data in buffers...
main.c: Putting data: 39184,29008,7/6/2014T4:47:0
buffer.c: Joining buffer...
[ALLOC] Allocated 12 bytes to 2000F478
[ALLOC] Allocated 28 bytes to 2000F4F0
[FREE] Freed bytes from  2000F518
[ALLOC] Allocated 28 bytes to 2000F518
[FREE] Freed bytes from  2000F4A0
[FREE] Freed bytes from  2000F450
[ALLOC] Allocated 28 bytes to 2000F4A0
buffer.c: Data copied
main.c: Message put: 39184,29008,7/6/2014T4:47:0
[FREE] Freed bytes from  2000FC20
main.c: Memory freed
main.c: Putting data: 6500,10233,7/6/2014T4:47:0
buffer.c: Joining buffer...
[ALLOC] Allocated 12 bytes to 2000F450
[ALLOC] Allocated 27 bytes to 2000FC20
[FREE] Freed bytes from  2000F4C8
[ALLOC] Allocated 27 bytes to 2000F4C8
[FREE] Freed bytes from  2000F428
[FREE] Freed bytes from  2000F328
[ALLOC] Allocated 27 bytes to 2000F428
buffer.c: Data copied
main.c: Message put: 6500,10233,7/6/2014T4:47:0
[FREE] Freed bytes from  2000FCC0
main.c: Memory freed
main.c: Data is now in buffer
main.c: Programmed send cycle...
main.c: Connecting wifi...
main.c: SSID = SERVER_WLAN
main.c: Wep key = TGW2YHNKT9TW
main.c: Passphrase = TGW2YHNKT9TW
main.c: User = 
main.c: Password = 
main.c: Encryption type = 4
main.c: Geo Localization = 41.557255 2.096183
main.c: WPA network detected
Connected
Connected to: 00:26:5B:D9:0D:18
main.c: Sending buffer 0
buffer.c: Preparing JSON statement...
[ALLOC] Allocated 18 bytes to 2000F540
[ALLOC] Allocated 12 bytes to 2000FC48
[ALLOC] Allocated 16 bytes to 20010018
[ALLOC] Allocated 22 bytes to 20010030
[ALLOC] Allocated 37 bytes to 20010050
[ALLOC] Allocated 52 bytes to 20010080
[FREE] Freed bytes from  20010050
[FREE] Freed bytes from  20010018
[ALLOC] Allocated 55 bytes to 200100C0
[FREE] Freed bytes from  20010030
[FREE] Freed bytes from  20010080
[FREE] Freed bytes from  2000FC48
[ALLOC] Allocated 72 bytes to 20010018
[FREE] Freed bytes from  2000F540
[FREE] Freed bytes from  200100C0
[ALLOC] Allocated 12 bytes to 2000F540
[ALLOC] Allocated 16 bytes to 2000F558
[ALLOC] Allocated 22 bytes to 20010068
[ALLOC] Allocated 37 bytes to 20010088
[ALLOC] Allocated 52 bytes to 200100B8
[FREE] Freed bytes from  20010088
[FREE] Freed bytes from  2000F558
[ALLOC] Allocated 55 bytes to 200100F8
[FREE] Freed bytes from  20010068
[FREE] Freed bytes from  200100B8
[FREE] Freed bytes from  2000F540
[ALLOC] Allocated 126 bytes to 20010068
[FREE] Freed bytes from  20010018
[FREE] Freed bytes from  200100F8
[ALLOC] Allocated 12 bytes to 2000F540
[ALLOC] Allocated 16 bytes to 2000F558
[ALLOC] Allocated 22 bytes to 20010018
[ALLOC] Allocated 37 bytes to 20010038
[ALLOC] Allocated 52 bytes to 200100F0
[FREE] Freed bytes from  20010038
[FREE] Freed bytes from  2000F558
[ALLOC] Allocated 55 bytes to 20010130
[FREE] Freed bytes from  20010018
[FREE] Freed bytes from  200100F0
[FREE] Freed bytes from  2000F540
[ALLOC] Allocated 180 bytes to 20010170
[FREE] Freed bytes from  20010068
[FREE] Freed bytes from  20010130
[ALLOC] Allocated 182 bytes to 20010018
[FREE] Freed bytes from  20010170
[ALLOC] Allocated 14 bytes to 2000F540
[ALLOC] Allocated 62 bytes to 200100D8
[ALLOC] Allocated 350 bytes to 20010120
[ALLOC] Allocated 4 bytes to 2000F558
[FREE] Freed bytes from  2000F558
[FREE] Freed bytes from  20010120
[ALLOC] Allocated 4 bytes to 2000FC48
[FREE] Freed bytes from  2000FC48
[FREE] Freed bytes from  200100D8
[FREE] Freed bytes from  2000F540
[FREE] Freed bytes from  20010018
buffer.c: Data sent successfully
[FREE] Freed bytes from  2000F4F0
[FREE] Freed bytes from  2000F518
[FREE] Freed bytes from  2000F4A0
[FREE] Freed bytes from  2000F478
main.c: Sending buffer 1
buffer.c: Preparing JSON statement...
[ALLOC] Allocated 18 bytes to 2000F4A0
[ALLOC] Allocated 11 bytes to 2000F478
[ALLOC] Allocated 16 bytes to 2000F4F0
[ALLOC] Allocated 21 bytes to 2000F508
[ALLOC] Allocated 36 bytes to 2000F528
[ALLOC] Allocated 51 bytes to 20010018
[FREE] Freed bytes from  2000F528
[FREE] Freed bytes from  2000F4F0
[ALLOC] Allocated 54 bytes to 2000F528
[FREE] Freed bytes from  2000F508
[FREE] Freed bytes from  20010018
[FREE] Freed bytes from  2000F478
[ALLOC] Allocated 71 bytes to 20010018
[FREE] Freed bytes from  2000F4A0
[FREE] Freed bytes from  2000F528
[ALLOC] Allocated 11 bytes to 2000F478
[ALLOC] Allocated 16 bytes to 2000F4A0
[ALLOC] Allocated 21 bytes to 2000F4F0
[ALLOC] Allocated 36 bytes to 2000F510
[ALLOC] Allocated 51 bytes to 20010068
[FREE] Freed bytes from  2000F510
[FREE] Freed bytes from  2000F4A0
[ALLOC] Allocated 54 bytes to 2000F510
[FREE] Freed bytes from  2000F4F0
[FREE] Freed bytes from  20010068
[FREE] Freed bytes from  2000F478
[ALLOC] Allocated 124 bytes to 20010068
[FREE] Freed bytes from  20010018
[FREE] Freed bytes from  2000F510
[ALLOC] Allocated 11 bytes to 2000F478
[ALLOC] Allocated 16 bytes to 2000F4A0
[ALLOC] Allocated 21 bytes to 2000F4F0
[ALLOC] Allocated 36 bytes to 2000F510
[ALLOC] Allocated 51 bytes to 20010018
[FREE] Freed bytes from  2000F510
[FREE] Freed bytes from  2000F4A0
[ALLOC] Allocated 54 bytes to 2000F510
[FREE] Freed bytes from  2000F4F0
[FREE] Freed bytes from  20010018
[FREE] Freed bytes from  2000F478
[ALLOC] Allocated 177 bytes to 200100F0
[FREE] Freed bytes from  20010068
[FREE] Freed bytes from  2000F510
[ALLOC] Allocated 179 bytes to 20010018
[FREE] Freed bytes from  200100F0
[ALLOC] Allocated 14 bytes to 2000F478
[ALLOC] Allocated 62 bytes to 2000F4F0
[ALLOC] Allocated 347 bytes to 200100D8
[ALLOC] Allocated 4 bytes to 2000F4A0
[FREE] Freed bytes from  2000F4A0
[FREE] Freed bytes from  200100D8
[ALLOC] Allocated 4 bytes to 2000F4B8
[FREE] Freed bytes from  2000F4B8
[FREE] Freed bytes from  2000F4F0
[FREE] Freed bytes from  2000F478
[FREE] Freed bytes from  20010018
buffer.c: Data sent successfully
[FREE] Freed bytes from  2000FC20
[FREE] Freed bytes from  2000F4C8
[FREE] Freed bytes from  2000F428
[FREE] Freed bytes from  2000F450
main.c: Polling battery level...
[ALLOC] Allocated 12 bytes to 2000F428
[ALLOC] Allocated 25 bytes to 2000F440
[FREE] Freed bytes from  2000F428
[ALLOC] Allocated 18 bytes to 2000F4A0
[ALLOC] Allocated 5 bytes to 2000F428
[ALLOC] Allocated 16 bytes to 2000F478
[ALLOC] Allocated 15 bytes to 2000F4C0
[ALLOC] Allocated 30 bytes to 2000F4D8
[ALLOC] Allocated 45 bytes to 2000F500
[FREE] Freed bytes from  2000F4D8
[FREE] Freed bytes from  2000F478
[ALLOC] Allocated 48 bytes to 2000F538
[FREE] Freed bytes from  2000F4C0
[FREE] Freed bytes from  2000F500
[FREE] Freed bytes from  2000F428
[ALLOC] Allocated 65 bytes to 2000F4C0
[FREE] Freed bytes from  2000F4A0
[FREE] Freed bytes from  2000F538
[ALLOC] Allocated 67 bytes to 2000F510
[FREE] Freed bytes from  2000F4C0
[FREE] Freed bytes from  2000F440
[ALLOC] Allocated 14 bytes to 2000F428
[ALLOC] Allocated 62 bytes to 2000F4A0
[ALLOC] Allocated 234 bytes to 20010018
[ALLOC] Allocated 3 bytes to 2000F440
[FREE] Freed bytes from  2000F440
[FREE] Freed bytes from  20010018
[ALLOC] Allocated 4 bytes to 2000F458
[FREE] Freed bytes from  2000F458
[FREE] Freed bytes from  2000F4A0
[FREE] Freed bytes from  2000F428
[FREE] Freed bytes from  2000F510
main.c: Requesting new NTP time...
main.c: Updating new time to 3611098035
main.c: Time updated
main.c: Disconnecting wifi...
main.c: Disconnecting Successful: WIFI_DISCONNECT_SUCCESS
main.c: New NTP time (absolute):	3611098035
Time LONG_PERIOD:	45
Time SHORT_PERIOD:	15
buffer.c: Checking available memory...
buffer.c: Available memory: 33544 B
buffer.c: Used memory: 1160 B
main.c: Time (absolute):	3611098035
Time LONG_PERIOD:	45
Time SHORT_PERIOD:	15
Failed