jaredwolff
Thanks.
jaredwolff
OK, I see what is going on.
The ethernet_hub_ble
(Particle Ethernet board with a particle_xenon) looks for an Air Quality Wing
BLE device that has the AQW- dust sensor attached. The ethernet_hub_ble
connects to the Air Quality Wing
and gets the sensor data when the APP_EVENT_BLE_DATA
event occurs and then publishes the data to Golioth
. Of course, if there is no AQW
board, there’s no data to be sent to Golioth.
Correct?
J-Link EDU Mini V1 compiled Mar 28 2023 17:01:59 V1.0, SN=801017276
Process: JLinkExe
[00:00:00.010,681] <inf> eth_w5500: W5500 Initialized
*** Booting Zephyr OS build v3.2.99-ncs1 ***
[00:00:00.012,054] <inf> golioth_system: Initializing
[00:00:00.012,542] <inf> aqw_ethernet_hub_ble: Air Quality Wing Ethernet Hub
[00:00:00.012,542] <inf> app_network: Run DHCPv4 client
[00:00:00.013,092] <inf> sdc_hci_driver: SoftDevice Controller build revision:
6d 90 41 2a 38 e8 ad 17 29 a5 03 38 39 27 d7 85 |m.A*8... )..89'..
1f 85 d8 e1 |....
[00:00:00.016,235] <inf> app_ble: Bluetooth initialized
[00:00:00.016,815] <inf> app_ble_scan: Scanning successfully started
[00:00:45.264,404] <inf> app_ble_scan: Scan match: [addr: C4:95:D4:C8:96:FB (random)]
[00:00:45.265,045] <inf> app_ble_scan: Scan connecting..
[00:00:45.369,201] <inf> app_ble: Connected: C4:95:D4:C8:96:FB (random)
[00:00:46.870,483] <inf> app_ble_gatt: Discovery complete!
[00:01:51.920,989] <inf> aqw_ethernet_hub_ble: Temperature: 0.0°C
[00:01:51.921,020] <wrn> date_time: Valid time not currently available
[00:01:51.921,051] <wrn> aqw_ethernet_hub_ble: Unable to get timestamp!
[00:01:51.921,081] <inf> aqw_ethernet_hub_ble: Humidity: 0.0%
[00:01:51.921,081] <wrn> date_time: Valid time not currently available
[00:01:51.921,112] <wrn> aqw_ethernet_hub_ble: Unable to get timestamp!
[00:01:51.921,142] <inf> aqw_ethernet_hub_ble: Temperature: 0.0°C
[00:01:51.921,142] <wrn> date_time: Valid time not currently available
[00:01:51.921,173] <wrn> aqw_ethernet_hub_ble: Unable to get timestamp!
[00:01:51.921,203] <inf> aqw_ethernet_hub_ble: Humidity: 0.0%
[00:01:51.921,203] <wrn> date_time: Valid time not currently available
[00:01:51.921,234] <wrn> aqw_ethernet_hub_ble: Unable to get timestamp!
[00:01:51.921,447] <wrn> golioth: Failed to make CoAP request: -115
[00:01:51.921,447] <wrn> aqw_ethernet_hub_ble: Failed to send data: -115
[00:03:58.721,008] <inf> aqw_ethernet_hub_ble: Temperature: 0.0°C
[00:03:58.721,038] <wrn> date_time: Valid time not currently available
[00:03:58.721,038] <wrn> aqw_ethernet_hub_ble: Unable to get timestamp!
[00:03:58.721,069] <inf> aqw_ethernet_hub_ble: Humidity: 0.0%
[00:03:58.721,099] <wrn> date_time: Valid time not currently available
[00:03:58.721,099] <wrn> aqw_ethernet_hub_ble: Unable to get timestamp!