Hi, I have 4 CV06iR Smart Watch devices from DUSUN that are automatically configured to send readings via the DSGW-040. The CV06iR Smart Watch Spec-V2.1.pdf document shows a default example flow for this device. However, none of the devices I have are sending data. You can see in my log traces that the BLE scanner is detecting but is unable to connect to these devices.
AWS IOT is showing the device scans and the failures to connect.
Tue Oct 10 19:12:52 2023 local0.info /usr/bin/mqtt-gw: [info] uproto_handler_ubus_event: -----------------[ubus msg]: handler ....-----------------
Tue Oct 10 19:12:52 2023 local0.info /usr/bin/mqtt-gw: [info] aws_gw_dev_code_get: load device code ok, dev code:aws_device_code
Tue Oct 10 19:12:52 2023 local0.info /usr/bin/mqtt-gw: [info] _rpt_attr: through out to w:len:269 [{"from": "BLE", "mac": "30:ae:7b:e5:fa:6c", "to": "GATEWAY", "data": {"attribute": "BLE_connect_status", "value": {"mac": "F7:34:FB:31:D5:42", "connect_id": 1}, "mac": "F7:34:FB:31:D5:42"}, "deviceCode": "aws_device_code", "type": "reportAttribute", "time": 1696965172}]
Tue Oct 10 19:12:52 2023 local0.info /usr/bin/mqtt-gw: [info] mqtt_aws_publish:
Tue Oct 10 19:12:52 2023 local0.info /usr/bin/mqtt-gw: [info] _rpt_attr: ret:0
Tue Oct 10 19:12:52 2023 local0.warn /usr/bin/mqtt-gw: [warning] mqtt_gw_dev_code_get: load device code failed, open file:/etc/dusun/device_code failed
Tue Oct 10 19:12:52 2023 local0.info /usr/bin/mqtt-gw: [info] _rpt_attr: through out to m:len:254 [{"from": "BLE", "mac": "30:ae:7b:e5:fa:6c", "to": "GATEWAY", "data": {"attribute": "BLE_connect_status", "value": {"mac": "F7:34:FB:31:D5:42", "connect_id": 1}, "mac": "F7:34:FB:31:D5:42"}, "deviceCode": "", "type": "reportAttribute", "time": 1696965172}]
Tue Oct 10 19:12:52 2023 local0.debug /usr/bin/mqtt-gw: [debug] mqtt_gw_send_message: -- 1
Tue Oct 10 19:12:52 2023 local0.debug /usr/bin/mqtt-gw: [debug] mqtt_gw_send_message: -- 2
Tue Oct 10 19:12:52 2023 local0.info /usr/bin/mqtt-gw: [info] _rpt_attr: ret:4
Tue Oct 10 19:12:52 2023 local0.info /usr/bin/mqtt-gw: [info] uproto_handler_ubus_event: -----------------[ubus msg]: handler over-----------------
Tue Oct 10 19:12:52 2023 local0.info /usr/bin/bul: [info] gk_rsp_evt_handler: /sl/msg/sl_bt_evt_connection_phy_status_id
Tue Oct 10 19:12:52 2023 local0.debug /usr/bin/bul: [debug] $this: pop mac:F7:34:FB:31:D5:42
Tue Oct 10 19:12:52 2023 local0.info /usr/bin/bul: [info] gk_rsp_evt_handler: /sl/msg/sl_bt_evt_connection_tx_power_id
Tue Oct 10 19:12:52 2023 local0.info /usr/bin/bul: [info] gk_rsp_evt_handler: /sl/msg/sl_bt_evt_connection_remote_used_features_id
Tue Oct 10 19:12:53 2023 local0.info /usr/bin/bul: [info] $this: ********devcnt:30, delt:2 ms
Tue Oct 10 19:12:54 2023 local0.debug /usr/bin/bul: [debug] scan_hold_beacon_handler: CONNECTTED DEVICE BEACON ING....
Tue Oct 10 19:12:54 2023 local0.info /usr/bin/mqtt-gw: [info] uproto_handler_ubus_event: -----------------[ubus msg]: handler ....-----------------
Tue Oct 10 19:12:54 2023 local0.info /usr/bin/mqtt-gw: [info] aws_gw_dev_code_get: load device code ok, dev code:aws_device_code```
Can you assist with the commands to communicate with these BLE devices?