AWS IoT via 4G Libelium Cloud Bridge

Wireless communications in Waspmote, topologies, node types...
libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: AWS IoT via 4G Libelium Cloud Bridge

Post by libelium-dev » Thu Dec 19, 2019 9:50 am

Hi,

In the first step, you didn't configure 115200 bauds in the serial monitor and therefore it doesn't show anything. Please perform the tests again and share with us the complete output. We need to check it to know the root cause of the issue.

Regards

mohsinsafi
Posts: 11
Joined: Sat Oct 19, 2019 7:04 am
Company: UET Peshawar

Re: AWS IoT via 4G Libelium Cloud Bridge

Post by mohsinsafi » Thu Dec 19, 2019 12:55 pm

Good Evening Libelium-Dev!

Ok.
Tried again! nothing happens.

Guide me from another perspective.
From here, please just guide me on how can I put the binary output file (this one https://1drv.ms/u/s!AtU4dPneDYMvii63jnH ... Q?e=6dt9PN) after "compile and download" in Waspmote IDE as .pde format code. That file is in .hex format while Waspmote requires .pde format. I don't know how to do that!

Thanks again,

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: AWS IoT via 4G Libelium Cloud Bridge

Post by libelium-dev » Thu Dec 19, 2019 1:04 pm

Hi,

It's not possible to upload a .hex file from Waspmote IDE. You have to upload the .hex file to the node using the Smart Devices App as is explained in the PCS guide
http://www.libelium.com/downloads/docum ... df#page=51

Please upload the .hex file using the Smart Devices App and then open Waspmote IDE to check the output through the serial monitor

Regards

mohsinsafi
Posts: 11
Joined: Sat Oct 19, 2019 7:04 am
Company: UET Peshawar

Re: AWS IoT via 4G Libelium Cloud Bridge

Post by mohsinsafi » Tue Dec 24, 2019 9:14 am

Hi Again,
Happy Christmas Eve!

1st: Active node problem solved! But now sync problem occurs! please guide here. Am I using the wrong protocol? (plz see output below)
https://1drv.ms/u/s!AtU4dPneDYMvijI9oLg ... 7?e=sX98oU

I upload the firmware through Smart Devices App (Uploaded the binary obtained from PCS) and got this output in the serial monitor Waspmote IDE;
OUTPUT:
J#
-------------------------------
Serial ID:7D4F10FDC337DEE8
-------------------------------

-------------------------------
- Smart Cities PRO -
-------------------------------
-------------------------------
- SETUP -
-------------------------------
*****************************
APN: zonginternet
LOGIN:
PASSWORD:
*****************************
- 4G module ready
- 4G set CA certificate OK
- Frame buffer: 3C3D3E06187D4F10FDC337DEE84D595F4D4F5445230041055374617274
- Frame length: 29
- 4G module TCP socket open
- 4G module IP address:10.25.219.109
- Encrypted frame:3C3D3E64287D4F10FDC337DEE8C15705834D86411325232FDFB7377742ECB6F423B37F3472DAEE01E2812597E9
- Encrypted length:45
- Encrypted frame:3C3D3E67387D4F10FDC337DEE8326F2F6E52362A9947D30B1A0B00E80C89E1C7995C08F3F6602DC780E68A06CCBABAB61DA2A318702B6BFC1FBA503A1B
- Encrypted length:61
- HTTP request:
-------------------------------
GET /hw/ps?frame=3C3D3E67387D4F10FDC337DEE8326F2F6E52362A9947D30B1A0B00E80C89E1C7995C08F3F6602DC780E68A06CCBABAB61DA2A318702B6BFC1FBA503A1B HTTP/1.1
Host: hw.libelium.com
Content-Length: 0
Authorization: Bearer eyJqdGkiOiIwYWIyZTgxYWQxNGI4MGZkZmRmNjMwMjQ1NmRlNThlZmYyNzc4ZDI4NzU2NDljZTU1Y2Y0MjAyNjI4OTVlYWQ1N2UyMTIyY2Q1NDdjMGE3NSIsInR5cCI6IkpXVCIsImFsZyI6IlJTMjU2In0.eyJhdWQiOjUsImp0aSI6IjBhYjJlODFhZDE0YjgwZmRmZGY2MzAyNDU2ZGU1OGVmZjI3NzhkMjg3NTY0OWNlNTVjZjQyMDI2Mjg5NWVhZDU3ZTIxMjJjZDU0N2MwYTc1IiwiaWF0IjoxNTc2MDQzNDAwLCJuYmYiOjE1NzYwNDM0MDAsImV4cCI6NDc2MzMzOTQwMCwic3ViIjoxNjU4LCJzY29wZXMiOltdLCJtZXNoLmd3X2lkIjoiW21lc2guZnJlZV0gKDc1NSkgTW9oc2luc2FmaTY3QGdtYWlsLmNvbSIsIm1lc2guZ3dfcG9sIjoiNWJlZWIzODk1MWFmNzkyOWYzMDAwMDAzIn0.R2SJ_VIj9k-jieTXEjY33kK7dM_LY03IM0kypklez8ogQGB46pF9SFrdwPHOsKQIdO2E6qvlLO8teZoTS2fcx4HdB9xJI3CgvpLh2EXt8DfJuVepUl00BEYGLUmxkgDA-8RgCkFGuIz9aPG4m0kHHIMrVrvRzfytptxQSSX-1eU


-------------------------------
- 4G module sending done
- 4G module no data received from server
- 4G module socket closed OK

-------------------------------
- LOOP -
-------------------------------
- Battery Level:95
- RTC current time: Sun, 00/01/01, 23:03:22
- Watchdog will trigger when Alarm matches [Date, hh:mm] --> [02, 00:03]
- Enter deep sleep mode for 2 minutes to wait for sensor heating...
- Wake up!!

- Sensor reading:
SOCKET_A --> Communication error. No response from the audio sensor (SLOW)
SOCKET_B --> NO2 concentration: 0.000 ppm
SOCKET_C --> SO2 concentration: -1.000 ppm
SOCKET_D --> Particle sensor on
SOCKET_D --> Particle matter (PM 1): 33.3000 ug/m3
SOCKET_D --> Particle matter (PM 2.5): 56.6200 ug/m3
SOCKET_D --> Particle matter (PM 10): 66.6800 ug/m3
SOCKET_E --> Temperature: 15.36 Celsius degrees
SOCKET_E --> Humidity: 45.7 %
SOCKET_E --> Atmospheric pressure: 97124.59 Pa
SOCKET_F --> CO2 concentration: 793.188 ppm
- Frame buffer: 3C3D3E06407D4F10FDC337DEE84D595F4D4F54452301345F060000000014000080BF463333054247E17A624248295C85424A8FC275414C00A036424D4BB2BD4701044C4644
- Frame length: 69
- 4G module ready
- 4G module TCP socket open
- 4G module IP address:100.64.128.24
- Encrypted frame:3C3D3E64587D4F10FDC337DEE835AF5C7E4A44A0769603603BE39BD65F2F677D8040E11CA54B0C968DC133847C27B5AE0849E6A16355DE933B12594B7B8B9673C671EE323BAC53B5F34E6A6E6EA66CFECD4E592DD9C43A16A1F3D07C9A
- Encrypted length:93
- Encrypted frame:3C3D3E67687D4F10FDC337DEE8BE492E7FF9BF48219A40FC6793470D8C5B007C9C2301E2F7AF8F0B218D83F7AC5304D689608511206BC856EA108D8184F7B5CE4D7E1BF5DFB9B72719DE4D7FA7F4E29159071D6E43D2856C9E1D5035899B921FB434F967CDB22EC97D795E5FBD
- Encrypted length:109
- HTTP request:
-------------------------------
GET /hw/ps?frame=3C3D3E67687D4F10FDC337DEE8BE492E7FF9BF48219A40FC6793470D8C5B007C9C2301E2F7AF8F0B218D83F7AC5304D689608511206BC856EA108D8184F7B5CE4D7E1BF5DFB9B72719DE4D7FA7F4E29159071D6E43D2856C9E1D5035899B921FB434F967CDB22EC97D795E5FBD HTTP/1.1
Host: hw.libelium.com
Content-Length: 0
Authorization: Bearer eyJqdGkiOiIwYWIyZTgxYWQxNGI4MGZkZmRmNjMwMjQ1NmRlNThlZmYyNzc4ZDI4NzU2NDljZTU1Y2Y0MjAyNjI4OTVlYWQ1N2UyMTIyY2Q1NDdjMGE3NSIsInR5cCI6IkpXVCIsImFsZyI6IlJTMjU2In0.eyJhdWQiOjUsImp0aSI6IjBhYjJlODFhZDE0YjgwZmRmZGY2MzAyNDU2ZGU1OGVmZjI3NzhkMjg3NTY0OWNlNTVjZjQyMDI2Mjg5NWVhZDU3ZTIxMjJjZDU0N2MwYTc1IiwiaWF0IjoxNTc2MDQzNDAwLCJuYmYiOjE1NzYwNDM0MDAsImV4cCI6NDc2MzMzOTQwMCwic3ViIjoxNjU4LCJzY29wZXMiOltdLCJtZXNoLmd3X2lkIjoiW21lc2guZnJlZV0gKDc1NSkgTW9oc2luc2FmaTY3QGdtYWlsLmNvbSIsIm1lc2guZ3dfcG9sIjoiNWJlZWIzODk1MWFmNzkyOWYzMDAwMDAzIn0.R2SJ_VIj9k-jieTXEjY33kK7dM_LY03IM0kypklez8ogQGB46pF9SFrdwPHOsKQIdO2E6qvlLO8teZoTS2fcx4HdB9xJI3CgvpLh2EXt8DfJuVepUl00BEYGLUmxkgDA-8RgCkFGuIz9aPG4m0kHHIMrVrvRzfytptxQSSX-1eU


-------------------------------
- 4G module sending done
- 4G module no data received from server
- 4G module socket closed OK
- RTC current time: Sun, 00/01/01, 23:06:43
- RTC will trigger after (dd:hh:mm:ss): 00:00:01:00
- Go to deep sleep mode...
- Wake up!!

Additionaly I got a response from the Libelium Cloud Bride as:

Logs from Libelium Cloud Bridge:

INFO [2019-12-24 07:56:06] - -------------------------------------------------------------------------- [] []
INFO [2019-12-24 07:56:06] - START Connector [] []
INFO [2019-12-24 07:56:06] - Connector: Amazon [] []
INFO [2019-12-24 07:56:06] - Preparing for syncing [] []
INFO [2019-12-24 07:56:06] - Preparing connector [] []
INFO [2019-12-24 07:56:06] - Public Key stored properly [] []
INFO [2019-12-24 07:56:06] - Private Key stored properly [] []
INFO [2019-12-24 07:56:06] - Certificate stored properly [] []
INFO [2019-12-24 07:56:06] - Sending values: Start [] []
INFO [2019-12-24 07:56:06] - Syncing: Device #7D4F10FDC337DEE8 (#7D4F10FDC337DEE8) [] []
ERROR [2019-12-24 07:56:07] - Exception in sync: [value_id: 11951043] - cURL error 52: Empty reply from server (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) [] []
INFO [2019-12-24 07:56:07] - -------------------------------------------------------------------------- [] []
INFO [2019-12-24 07:56:07] - START Connector [] []
INFO [2019-12-24 07:56:07] - Connector: Amazon [] []
INFO [2019-12-24 07:56:07] - Preparing for syncing [] []
INFO [2019-12-24 07:56:07] - Preparing connector [] []
INFO [2019-12-24 07:56:07] - Public Key stored properly [] []
INFO [2019-12-24 07:56:07] - Private Key stored properly [] []
INFO [2019-12-24 07:56:07] - Certificate stored properly [] []
INFO [2019-12-24 07:56:07] - Sending values: Start [] []
INFO [2019-12-24 07:56:07] - Syncing: Device #7D4F10FDC337DEE8 (#7D4F10FDC337DEE8) [] []
ERROR [2019-12-24 07:56:08] - Exception in sync: [value_id: 11951043] - cURL error 52: Empty reply from server (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) [] []
INFO [2019-12-24 07:56:08] - -------------------------------------------------------------------------- [] []
INFO [2019-12-24 07:56:08] - START Connector [] []
INFO [2019-12-24 07:56:08] - Connector: Amazon [] []
INFO [2019-12-24 07:56:08] - Preparing for syncing [] []
INFO [2019-12-24 07:56:08] - Preparing connector [] []
INFO [2019-12-24 07:56:08] - Public Key stored properly [] []
INFO [2019-12-24 07:56:08] - Private Key stored properly [] []
INFO [2019-12-24 07:56:08] - Certificate stored properly [] []
INFO [2019-12-24 07:56:08] - Sending values: Start [] []
INFO [2019-12-24 07:56:08] - Syncing: Device #7D4F10FDC337DEE8 (#7D4F10FDC337DEE8) [] []
ERROR [2019-12-24 07:56:08] - Exception in sync: [value_id: 11951043] - cURL error 52: Empty reply from server (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) [] []
ERROR [2019-12-24 07:56:08] - ERROR: Exception in sync: [value_id: 11951043] - cURL error 52: Empty reply from server (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) [] []
ERROR [2019-12-24 07:56:08] - Connector disabled. Please check your configuration and try again. [] []

-

Thanks,

mohsinsafi
Posts: 11
Joined: Sat Oct 19, 2019 7:04 am
Company: UET Peshawar

Re: AWS IoT via 4G Libelium Cloud Bridge

Post by mohsinsafi » Tue Dec 24, 2019 6:22 pm

Hi,
The data monitor in Libelium Cloud bridge shows the SO2 concentration as -1 ppm, what does this mean?

thanks,

mohsinsafi
Posts: 11
Joined: Sat Oct 19, 2019 7:04 am
Company: UET Peshawar

Re: AWS IoT via 4G Libelium Cloud Bridge

Post by mohsinsafi » Thu Dec 26, 2019 6:19 am

mohsinsafi wrote:
Tue Dec 24, 2019 9:14 am
Hi Again,
Happy Christmas Eve!

1st: Active node problem solved! But now sync problem occurs! please guide here. Am I using the wrong protocol? (plz see output below)
https://1drv.ms/u/s!AtU4dPneDYMvijI9oLg ... 7?e=sX98oU

I upload the firmware through Smart Devices App (Uploaded the binary obtained from PCS) and got this output in the serial monitor Waspmote IDE;
OUTPUT:
J#
-------------------------------
Serial ID:7D4F10FDC337DEE8
-------------------------------

-------------------------------
- Smart Cities PRO -
-------------------------------
-------------------------------
- SETUP -
-------------------------------
*****************************
APN: zonginternet
LOGIN:
PASSWORD:
*****************************
- 4G module ready
- 4G set CA certificate OK
- Frame buffer: 3C3D3E06187D4F10FDC337DEE84D595F4D4F5445230041055374617274
- Frame length: 29
- 4G module TCP socket open
- 4G module IP address:10.25.219.109
- Encrypted frame:3C3D3E64287D4F10FDC337DEE8C15705834D86411325232FDFB7377742ECB6F423B37F3472DAEE01E2812597E9
- Encrypted length:45
- Encrypted frame:3C3D3E67387D4F10FDC337DEE8326F2F6E52362A9947D30B1A0B00E80C89E1C7995C08F3F6602DC780E68A06CCBABAB61DA2A318702B6BFC1FBA503A1B
- Encrypted length:61
- HTTP request:
-------------------------------
GET /hw/ps?frame=3C3D3E67387D4F10FDC337DEE8326F2F6E52362A9947D30B1A0B00E80C89E1C7995C08F3F6602DC780E68A06CCBABAB61DA2A318702B6BFC1FBA503A1B HTTP/1.1
Host: hw.libelium.com
Content-Length: 0
Authorization: Bearer eyJqdGkiOiIwYWIyZTgxYWQxNGI4MGZkZmRmNjMwMjQ1NmRlNThlZmYyNzc4ZDI4NzU2NDljZTU1Y2Y0MjAyNjI4OTVlYWQ1N2UyMTIyY2Q1NDdjMGE3NSIsInR5cCI6IkpXVCIsImFsZyI6IlJTMjU2In0.eyJhdWQiOjUsImp0aSI6IjBhYjJlODFhZDE0YjgwZmRmZGY2MzAyNDU2ZGU1OGVmZjI3NzhkMjg3NTY0OWNlNTVjZjQyMDI2Mjg5NWVhZDU3ZTIxMjJjZDU0N2MwYTc1IiwiaWF0IjoxNTc2MDQzNDAwLCJuYmYiOjE1NzYwNDM0MDAsImV4cCI6NDc2MzMzOTQwMCwic3ViIjoxNjU4LCJzY29wZXMiOltdLCJtZXNoLmd3X2lkIjoiW21lc2guZnJlZV0gKDc1NSkgTW9oc2luc2FmaTY3QGdtYWlsLmNvbSIsIm1lc2guZ3dfcG9sIjoiNWJlZWIzODk1MWFmNzkyOWYzMDAwMDAzIn0.R2SJ_VIj9k-jieTXEjY33kK7dM_LY03IM0kypklez8ogQGB46pF9SFrdwPHOsKQIdO2E6qvlLO8teZoTS2fcx4HdB9xJI3CgvpLh2EXt8DfJuVepUl00BEYGLUmxkgDA-8RgCkFGuIz9aPG4m0kHHIMrVrvRzfytptxQSSX-1eU


-------------------------------
- 4G module sending done
- 4G module no data received from server
- 4G module socket closed OK

-------------------------------
- LOOP -
-------------------------------
- Battery Level:95
- RTC current time: Sun, 00/01/01, 23:03:22
- Watchdog will trigger when Alarm matches [Date, hh:mm] --> [02, 00:03]
- Enter deep sleep mode for 2 minutes to wait for sensor heating...
- Wake up!!

- Sensor reading:
SOCKET_A --> Communication error. No response from the audio sensor (SLOW)
SOCKET_B --> NO2 concentration: 0.000 ppm
SOCKET_C --> SO2 concentration: -1.000 ppm
SOCKET_D --> Particle sensor on
SOCKET_D --> Particle matter (PM 1): 33.3000 ug/m3
SOCKET_D --> Particle matter (PM 2.5): 56.6200 ug/m3
SOCKET_D --> Particle matter (PM 10): 66.6800 ug/m3
SOCKET_E --> Temperature: 15.36 Celsius degrees
SOCKET_E --> Humidity: 45.7 %
SOCKET_E --> Atmospheric pressure: 97124.59 Pa
SOCKET_F --> CO2 concentration: 793.188 ppm
- Frame buffer: 3C3D3E06407D4F10FDC337DEE84D595F4D4F54452301345F060000000014000080BF463333054247E17A624248295C85424A8FC275414C00A036424D4BB2BD4701044C4644
- Frame length: 69
- 4G module ready
- 4G module TCP socket open
- 4G module IP address:100.64.128.24
- Encrypted frame:3C3D3E64587D4F10FDC337DEE835AF5C7E4A44A0769603603BE39BD65F2F677D8040E11CA54B0C968DC133847C27B5AE0849E6A16355DE933B12594B7B8B9673C671EE323BAC53B5F34E6A6E6EA66CFECD4E592DD9C43A16A1F3D07C9A
- Encrypted length:93
- Encrypted frame:3C3D3E67687D4F10FDC337DEE8BE492E7FF9BF48219A40FC6793470D8C5B007C9C2301E2F7AF8F0B218D83F7AC5304D689608511206BC856EA108D8184F7B5CE4D7E1BF5DFB9B72719DE4D7FA7F4E29159071D6E43D2856C9E1D5035899B921FB434F967CDB22EC97D795E5FBD
- Encrypted length:109
- HTTP request:
-------------------------------
GET /hw/ps?frame=3C3D3E67687D4F10FDC337DEE8BE492E7FF9BF48219A40FC6793470D8C5B007C9C2301E2F7AF8F0B218D83F7AC5304D689608511206BC856EA108D8184F7B5CE4D7E1BF5DFB9B72719DE4D7FA7F4E29159071D6E43D2856C9E1D5035899B921FB434F967CDB22EC97D795E5FBD HTTP/1.1
Host: hw.libelium.com
Content-Length: 0
Authorization: Bearer eyJqdGkiOiIwYWIyZTgxYWQxNGI4MGZkZmRmNjMwMjQ1NmRlNThlZmYyNzc4ZDI4NzU2NDljZTU1Y2Y0MjAyNjI4OTVlYWQ1N2UyMTIyY2Q1NDdjMGE3NSIsInR5cCI6IkpXVCIsImFsZyI6IlJTMjU2In0.eyJhdWQiOjUsImp0aSI6IjBhYjJlODFhZDE0YjgwZmRmZGY2MzAyNDU2ZGU1OGVmZjI3NzhkMjg3NTY0OWNlNTVjZjQyMDI2Mjg5NWVhZDU3ZTIxMjJjZDU0N2MwYTc1IiwiaWF0IjoxNTc2MDQzNDAwLCJuYmYiOjE1NzYwNDM0MDAsImV4cCI6NDc2MzMzOTQwMCwic3ViIjoxNjU4LCJzY29wZXMiOltdLCJtZXNoLmd3X2lkIjoiW21lc2guZnJlZV0gKDc1NSkgTW9oc2luc2FmaTY3QGdtYWlsLmNvbSIsIm1lc2guZ3dfcG9sIjoiNWJlZWIzODk1MWFmNzkyOWYzMDAwMDAzIn0.R2SJ_VIj9k-jieTXEjY33kK7dM_LY03IM0kypklez8ogQGB46pF9SFrdwPHOsKQIdO2E6qvlLO8teZoTS2fcx4HdB9xJI3CgvpLh2EXt8DfJuVepUl00BEYGLUmxkgDA-8RgCkFGuIz9aPG4m0kHHIMrVrvRzfytptxQSSX-1eU


-------------------------------
- 4G module sending done
- 4G module no data received from server
- 4G module socket closed OK
- RTC current time: Sun, 00/01/01, 23:06:43
- RTC will trigger after (dd:hh:mm:ss): 00:00:01:00
- Go to deep sleep mode...
- Wake up!!

Additionaly I got a response from the Libelium Cloud Bride as:

Logs from Libelium Cloud Bridge:

INFO [2019-12-24 07:56:06] - -------------------------------------------------------------------------- [] []
INFO [2019-12-24 07:56:06] - START Connector [] []
INFO [2019-12-24 07:56:06] - Connector: Amazon [] []
INFO [2019-12-24 07:56:06] - Preparing for syncing [] []
INFO [2019-12-24 07:56:06] - Preparing connector [] []
INFO [2019-12-24 07:56:06] - Public Key stored properly [] []
INFO [2019-12-24 07:56:06] - Private Key stored properly [] []
INFO [2019-12-24 07:56:06] - Certificate stored properly [] []
INFO [2019-12-24 07:56:06] - Sending values: Start [] []
INFO [2019-12-24 07:56:06] - Syncing: Device #7D4F10FDC337DEE8 (#7D4F10FDC337DEE8) [] []
ERROR [2019-12-24 07:56:07] - Exception in sync: [value_id: 11951043] - cURL error 52: Empty reply from server (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) [] []
INFO [2019-12-24 07:56:07] - -------------------------------------------------------------------------- [] []
INFO [2019-12-24 07:56:07] - START Connector [] []
INFO [2019-12-24 07:56:07] - Connector: Amazon [] []
INFO [2019-12-24 07:56:07] - Preparing for syncing [] []
INFO [2019-12-24 07:56:07] - Preparing connector [] []
INFO [2019-12-24 07:56:07] - Public Key stored properly [] []
INFO [2019-12-24 07:56:07] - Private Key stored properly [] []
INFO [2019-12-24 07:56:07] - Certificate stored properly [] []
INFO [2019-12-24 07:56:07] - Sending values: Start [] []
INFO [2019-12-24 07:56:07] - Syncing: Device #7D4F10FDC337DEE8 (#7D4F10FDC337DEE8) [] []
ERROR [2019-12-24 07:56:08] - Exception in sync: [value_id: 11951043] - cURL error 52: Empty reply from server (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) [] []
INFO [2019-12-24 07:56:08] - -------------------------------------------------------------------------- [] []
INFO [2019-12-24 07:56:08] - START Connector [] []
INFO [2019-12-24 07:56:08] - Connector: Amazon [] []
INFO [2019-12-24 07:56:08] - Preparing for syncing [] []
INFO [2019-12-24 07:56:08] - Preparing connector [] []
INFO [2019-12-24 07:56:08] - Public Key stored properly [] []
INFO [2019-12-24 07:56:08] - Private Key stored properly [] []
INFO [2019-12-24 07:56:08] - Certificate stored properly [] []
INFO [2019-12-24 07:56:08] - Sending values: Start [] []
INFO [2019-12-24 07:56:08] - Syncing: Device #7D4F10FDC337DEE8 (#7D4F10FDC337DEE8) [] []
ERROR [2019-12-24 07:56:08] - Exception in sync: [value_id: 11951043] - cURL error 52: Empty reply from server (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) [] []
ERROR [2019-12-24 07:56:08] - ERROR: Exception in sync: [value_id: 11951043] - cURL error 52: Empty reply from server (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) [] []
ERROR [2019-12-24 07:56:08] - Connector disabled. Please check your configuration and try again. [] []

-

Thanks,
I think the problem of Connector has been solved as the monitor in Libelium cloud bridge shows this message;

Code: Select all

 INFO [2019-12-26 05:00:07] - -------------------------------------------------------------------------- [] []
 INFO [2019-12-26 05:00:07] - START Connector [] []
 INFO [2019-12-26 05:00:07] - Connector: Amazon [] []
 INFO [2019-12-26 05:00:07] - Preparing for syncing [] []
 INFO [2019-12-26 05:00:07] - Preparing connector [] []
 INFO [2019-12-26 05:00:07] - Public Key stored properly [] []
 INFO [2019-12-26 05:00:07] - Private Key stored properly [] []
 INFO [2019-12-26 05:00:07] - Certificate stored properly [] []
 INFO [2019-12-26 05:00:07] - Sending values: Start [] []
 INFO [2019-12-26 05:00:08] - Syncing: Device #7D4F10FDC337DEE8 (#7D4F10FDC337DEE8) [] []
 INFO [2019-12-26 05:00:08] - {"message":"OK","traceId":"7a934e7d-eed8-ff67-7c08-8fdf2d14941f"} [] []
 INFO [2019-12-26 05:00:08] - {"message":"OK","traceId":"cd7a6c28-abb4-456e-01b4-ce03e55b3a1e"} [] []
 INFO [2019-12-26 05:00:08] - {"message":"OK","traceId":"c2731c50-da80-b087-1a11-0858057d2bf6"} [] []
 INFO [2019-12-26 05:00:08] - {"message":"OK","traceId":"e3cdc689-47a8-79c0-6870-678af9f599e2"} [] []
 INFO [2019-12-26 05:00:08] - {"message":"OK","traceId":"aa4bbd58-46be-7cb1-a48c-a3c249f5ecf0"} [] []
 INFO [2019-12-26 05:00:09] - {"message":"OK","traceId":"c818d4a0-284b-da40-8f95-1a4c08937a47"} [] []
 INFO [2019-12-26 05:00:09] - {"message":"OK","traceId":"67f525df-fedc-1325-0758-6942f91596ba"} [] []
 INFO [2019-12-26 05:00:09] - {"message":"OK","traceId":"305070c1-5255-efbb-1fcb-3e81cd81f861"} [] []
 INFO [2019-12-26 05:00:09] - {"message":"OK","traceId":"4b90659a-8459-1f18-07e0-be28bbcf4b07"} [] []
 INFO [2019-12-26 05:00:09] - {"message":"OK","traceId":"abc6bb2a-21b9-f2a2-1fdc-2bffb6938fdb"} [] []
 INFO [2019-12-26 05:00:09] - Sending values: End [] []
 INFO [2019-12-26 05:00:09] - Post syncing Start [] []
 INFO [2019-12-26 05:00:09] - Closing connection [] []
 INFO [2019-12-26 05:00:09] - Post syncing End [] []
 INFO [2019-12-26 05:00:09] - TOTAL Synced values = 10 [] []
 INFO [2019-12-26 05:00:09] - END Connector [] []
As from above, the total synced values are 10 this means the syncing has been done but in AWS IoT, AWS IoT Analytics, etc, I can't find where my IoT data went? FYI: I have created "Rule" in AWS IoT to direct the data to the S3 bucket for storage and another "Rule" to send it to AWS IoT!

Thanks,

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: AWS IoT via 4G Libelium Cloud Bridge

Post by libelium-dev » Thu Dec 26, 2019 3:10 pm

Hi,

You can see the received data in AWS IoT connecting through MQTT. There is an MQTT client in AWS. You can find more information in the following link
https://docs.aws.amazon.com/iot/latest/ ... sages.html

Also, you can find information related to it in the Meshlium technical guide.
http://www.libelium.com/downloads/docum ... f#page=116

We are sorry but we don't have experience in AWS. In our developments, we make sure that data is received but we have no experience in data processing or visualization in AWS

Regards

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest