Skip to content

Instantly share code, notes, and snippets.

@Rajssss
Created March 28, 2022 10:40
Show Gist options
  • Save Rajssss/8e8d45af1fa37a255c4cde96177ac939 to your computer and use it in GitHub Desktop.
Save Rajssss/8e8d45af1fa37a255c4cde96177ac939 to your computer and use it in GitHub Desktop.
I (62080) datoms_generc_protocol: datoms_generic_protocol_get_data: ADAM: Parsing ADAM pkt 43 : #>-4.05-4.15-4.25-4.35+4.45-4.55-4.65-4.75
W (62080) datoms_data_handeling: data_handling_get_pkt: Warning: channel to param conf mismatch detected!!
I (62090) datoms_data_handeling: data_handling_get_pkt: got "PM" value
I (62100) datoms_data_handeling: data_handling_get_pkt: got "SO2" value
I (62100) datoms_firmware_main: hardcodded_config_running_task: data_handle_final_data is:
I (62110) datoms_firmware_main: value raw_value
I (62120) datoms_firmware_main: {"type":"data","message":{"d":"28:03:2022","t":"16:08:53","i":"1","dp":{"PM":"0.937504","PM_r":"4.050000","SO2":"2.812502","SO2_r":"4.150000","debug":{"errno":"0","sig1":"7","net":"9","mdm":"1","fw_ver":"5.1.2"}}}}
I (62140) datoms_firmware_main: send_pkt ---------- {"type":"data","message":{"d":"28:03:2022","t":"16:08:53","i":"1","dp":{"PM":"0.937504","PM_r":"4.050000","SO2":"2.812502","SO2_r":"4.150000","debug":{"errno":"0","sig1":"7","net":"9","mdm":"1","fw_ver":"5.1.2"}}}}
I (62160) iso_7168_datafile_maker: fs_init: Initializing LittleFS
I (62180) iso_7168_datafile_maker: fs_init: Partition size: total: 204800, used: 12288
I (62180) iso_7168_datafile_maker: cleanup_dir: cleaning up /iso7168 dir:
I (62200) iso_7168_datafile_maker: cleanup_dir: deleted file site_3049_CEMS_1_20220328160730.zip:
I (62200) iso_7168_datafile_maker: iso_7168_create: Start parsing
I (62200) iso_7168_datafile_maker: iso_7168_create: Packet Date: 28:03:2022, Time: 16:08:53, i: 1
I (62230) iso_7168_datafile_maker: get_no_of_params: no_of_params: 4
I (62230) iso_7168_datafile_maker: /**********Description group**********/
I (62230) iso_7168_datafile_maker: PM
I (62240) iso_7168_datafile_maker: 0.937504
I (62240) iso_7168_datafile_maker: Adding param_name: PM
I (62250) iso_7168_datafile_maker: Adding analyzer: analyzer_218 for param pm
W (62260) iso_7168_datafile_maker: longitude string len is > 10, trimming!
I (62260) iso_7168_datafile_maker: PM_r
I (62270) iso_7168_datafile_maker: 4.050000
I (62270) iso_7168_datafile_maker: SO2
I (62280) iso_7168_datafile_maker: 2.812502
I (62280) iso_7168_datafile_maker: Adding param_name: SO2
I (62290) iso_7168_datafile_maker: Adding analyzer: analyzer_265 for param so2
W (62300) iso_7168_datafile_maker: longitude string len is > 10, trimming!
I (62300) iso_7168_datafile_maker: SO2_r
I (62310) iso_7168_datafile_maker: 4.150000
I (62310) iso_7168_datafile_maker: /**********Data group**********/
I (62320) iso_7168_datafile_maker: PM
I (62330) iso_7168_datafile_maker: 0.937504
I (62330) iso_7168_datafile_maker: Adding param_name: PM
I (62340) iso_7168_datafile_maker: PM_r
I (62340) iso_7168_datafile_maker: 4.050000
I (62350) iso_7168_datafile_maker: SO2
I (62350) iso_7168_datafile_maker: 2.812502
I (62350) iso_7168_datafile_maker: Adding param_name: SO2
I (62360) iso_7168_datafile_maker: SO2_r
I (62370) iso_7168_datafile_maker: 4.150000
I (62380) iso_7168_datafile_maker: fs_print_datafile: printing datafile: /iso7168/site_3049_CEMS_1_20220328160854.txt
Crackers India (Alloys) Ltd
Odisha
India
4 4
1221PM ug/m3 analyzer_218 3 0 0
3049CEMS_1 085.467522.0752777
1011SO2 ug/m3 analyzer_265 3 0 0
3049CEMS_1 085.467522.0752777
221 3049 12203281608 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 1
U 0.93
011 3049 12203281608 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 1
U 2.81
I (62420) iso_7168_datafile_maker: iso_7168_create: Done. file_name: /iso7168/site_3049_CEMS_1_20220328160854.txt
W (62430) iso_7168_datafile_maker: aes_crypto_encrypt: key is longer than 32 chars, truncating
I (62480) iso_7168_datafile_maker: Deleted Generated file: /iso7168/site_3049_CEMS_1_20220328160854.txt
I (62570) iso_7168_datafile_maker: Done! Zip File name: site_3049_CEMS_1_20220328160854.zip
I (62590) iso_7168_datafile_maker: iso_7168_create: iso7168_zip_final.zip_file_buffer 4 ------------- 500
I (62590) iso_7168_datafile_maker: iso_7168_create: read the file properly 819
I (62590) datoms_firmware_main: Final zip file name: site_3049_CEMS_1_20220328160854.zip, size: 819 , file: PK
I (62620) iso_7168_datafile_maker: iso_7168_http_req_pkt_create: generated header txt: site_3049^ver1.0^2022-03-28T16:08:54Z
I (62630) iso_7168_datafile_maker: http_header_create_test:Header data (RSA Encrypted): IKTwds/WDV1lahfCtukr/vuWCXpHy6CLn23Mjm+QMNF5/MiKHY1GLg7s8DRlITUBLPjZXGLuDOazmgXHYFI1Ng==
I (62640) iso_7168_datafile_maker: http_header_create_test: Generating signature header
I (62800) iso_7168_datafile_maker: http_header_create_test: Done! Signature Header data (RSA Encrypted): NdVdT6Sox4VVjiospRnFbtuB5JpgOYC+pmX0Ihn9phuNu/BF1bAmeBMIZIermzyxOgBxXx2GL4c5sM487bRg+Q==
I (62810) datoms_firmware_main: http_pkt->timestamp_with_zone: 2022-03-28T16:08:54Z
I (62810) datoms_firmware_main: check_timestamp_validity: Converting timestamp to epoch time : 2022-03-28T16:08:54Z
I (62820) datoms_firmware_main: check_timestamp_validity: time_diff: 0
E (62830) datoms_firmware_main: process_internal_zip: Invalid time comparison occured
zip_data_read_size : 819
I (62840) datoms_firmware_main: ----------------------------------------------------------------------------------------------------------------------------------------------------------
header_len 985
I (62860) datoms_firmware_main: stack = 2436, total ram = 174352
I (62870) datoms_firmware_main: internal ram = 229324, external ram = 0
I (63560) datoms_firmware_main: Received 56 bytes from 52.66.148.209:
I (63560) datoms_firmware_main: {"type":"data_response","message":{"status":"success"}}
I (73110) datoms_firmware_main: Received 630 bytes from 52.66.148.209:
I (73110) datoms_firmware_main: {"type":"cmd","message":{"cmd_type":"ospcb_data_push","cmd_data":{"protocol":"http","host":"ospcb-rtdas.com","url":"/OSPCBRTDASServer/realtimeUpload","headers":{"timestamp":"2022-03-25T19:29:16Z","siteId":"site_2987","Signature":"EA/HHwZhK1whj8sLIbrq5Xtsb+qvuVbt6zdIr5sG0eE7EABE5zQamEteG11IgOOFWWHhtTxXgdKuTa3silSC6A==","Authorization":"Basic YLaFnnocAY2I22KhnfoGlDuO0kEIvulXvpzC7Nw88Gd37FCouE8Awa3W6Zp/euguI8eb39bxZLswRahF4bIamg==","Content-Type":"multipart/form-data"},"station_id":"386","file_url":"http://52.66.148.209:4203/pollution-monitoring/ospcb-files/386/site_2987_CEMS_1_20220325191850.zip"}},"message_id":"106177028"}
I (73160) datoms_firmware_main: temp {
"cmd_type": "ospcb_data_push",
"cmd_data": {
"protocol": "http",
"host": "ospcb-rtdas.com",
"url": "/OSPCBRTDASServer/realtimeUpload",
"headers": {
"timestamp": "2022-03-25T19:29:16Z",
"siteId": "site_2987",
"Signature": "EA/HHwZhK1whj8sLIbrq5Xtsb+qvuVbt6zdIr5sG0eE7EABE5zQamEteG11IgOOFWWHhtTxXgdKuTa3silSC6A==",
"Authorization": "Basic YLaFnnocAY2I22KhnfoGlDuO0kEIvulXvpzC7Nw88Gd37FCouE8Awa3W6Zp/euguI8eb39bxZLswRahF4bIamg==",
"Content-Type": "multipart/form-data"
},
"station_id": "386",
"file_url": "http://52.66.148.209:4203/pollution-monitoring/ospcb-files/386/site_2987_CEMS_1_20220325191850.zip"
}
}
I (73220) datoms_firmware_main: cmd_type ospcb_data_push
I (73230) datoms_firmware_main: cmd_data {
"protocol": "http",
"host": "ospcb-rtdas.com",
"url": "/OSPCBRTDASServer/realtimeUpload",
"headers": {
"timestamp": "2022-03-25T19:29:16Z",
"siteId": "site_2987",
"Signature": "EA/HHwZhK1whj8sLIbrq5Xtsb+qvuVbt6zdIr5sG0eE7EABE5zQamEteG11IgOOFWWHhtTxXgdKuTa3silSC6A==",
"Authorization": "Basic YLaFnnocAY2I22KhnfoGlDuO0kEIvulXvpzC7Nw88Gd37FCouE8Awa3W6Zp/euguI8eb39bxZLswRahF4bIamg==",
"Content-Type": "multipart/form-data"
},
"station_id": "386",
"file_url": "http://52.66.148.209:4203/pollution-monitoring/ospcb-files/386/site_2987_CEMS_1_20220325191850.zip"
}
I (73980) datoms_firmware_main: HTTP_EVENT_ON_CONNECTED
I (73980) datoms_firmware_main: HTTP_EVENT_HEADER_SENT
I (77320) datoms_firmware_main: HTTP_EVENT_ON_HEADER, key=Server, value=nginx
I (77320) datoms_firmware_main: HTTP_EVENT_ON_HEADER, key=Date, value=Mon, 28 Mar 2022 10:39:09 GMT
I (77320) datoms_firmware_main: HTTP_EVENT_ON_HEADER, key=Content-Type, value=text/html; charset=UTF-8
I (77330) datoms_firmware_main: HTTP_EVENT_ON_HEADER, key=Content-Length, value=51
I (77340) datoms_firmware_main: HTTP_EVENT_ON_HEADER, key=Connection, value=keep-alive
I (77350) datoms_firmware_main: HTTP_EVENT_ON_HEADER, key=Strict-Transport-Security, value=max-age=315360; includeSubDomains
I (77360) datoms_firmware_main: HTTP_EVENT_ON_HEADER, key=X-Content-Type-Options, value=nosniff
I (77370) datoms_firmware_main: HTTP_EVENT_ON_HEADER, key=X-Frame-Options, value=SAMEORIGIN
I (77380) datoms_firmware_main: HTTP_EVENT_ON_HEADER, key=X-XSS-Protection, value=1; mode=block
I (77390) datoms_firmware_main: HTTP_EVENT_ON_DATA, len=51
I (77400) datoms_firmware_main: {"status": "Failed", "statusMessage": "ERROR 1002"}
I (77410) datoms_firmware_main: size_of_ospcb_resp : 0
I (77410) datoms_firmware_main: HTTP_EVENT_ON_FINISH
I (77420) datoms_firmware_main: HTTP POST Status = 500, content_length = 51
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x400014fd PS : 0x00060430 A0 : 0x8013a394 A1 : 0x3ffc7b40
A2 : 0x00000000 A3 : 0xfffffffc A4 : 0x000000ff A5 : 0x0000ff00
A6 : 0x00ff0000 A7 : 0xff000000 A8 : 0x00000000 A9 : 0x3ffc940c
A10 : 0x3ffc93d9 A11 : 0x3ffb2de4 A12 : 0x00000033 A13 : 0x3ffc7d70
A14 : 0x00000057 A15 : 0x3ffc7d70 SAR : 0x00000004 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xffffffff
Backtrace:0x400014fa:0x3ffc7b400x4013a391:0x3ffc7b50 0x401367dd:0x3ffc7e60 0x400d8f1a:0x3ffc7f20 0x400d8172:0x3ffc9640 0x400d8260:0x3ffc96d0 0x4008b72d:0x3ffc9750
0x4013a391: _svfprintf_r at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/newlib/newlib/libc/stdio/vfprintf.c:1528
0x401367dd: sprintf at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/newlib/newlib/libc/stdio/sprintf.c:618
0x400d8f1a: datoms_https_ospcb_function at /home/rajssss/Documents/Microcontroller/DATOMS/esp_eclipse_work/datoms_pomo/build/../components/datoms_server_protocol_core/protocol_server_core.c:785 (discriminator 13)
0x400d8172: process_internal_zip at /home/rajssss/Documents/Microcontroller/DATOMS/esp_eclipse_work/datoms_pomo/build/../main/app_main.c:202
0x400d8260: hardcodded_config_running_task at /home/rajssss/Documents/Microcontroller/DATOMS/esp_eclipse_work/datoms_pomo/build/../main/app_main.c:266
0x4008b72d: vPortTaskWrapper at /home/rajssss/Documents/Microcontroller/esp/tools/esp-idf/components/freertos/port/xtensa/port.c:130
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment